[-] FO : #PSTEST-81 : delete tab shipping if is virtual product
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11464 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -86,6 +86,7 @@
|
||||
{elseif $product->is_virtual}
|
||||
$('#virtual_product').attr('checked', 'checked');
|
||||
$('li.tab-row a[id*="Pack"]').hide();
|
||||
$('li.tab-row a[id*="Shipping"]').hide();
|
||||
{else}
|
||||
$('#simple_product').attr('checked', 'checked');
|
||||
$('li.tab-row a[id*="Pack"]').hide();
|
||||
@@ -110,6 +111,7 @@
|
||||
$('li.tab-row a[id*="Pack"]').show();
|
||||
$('#ppack').val(1).attr('checked', true).attr('disabled', 'disabled');
|
||||
$('#ppackdiv').show();
|
||||
$('li.tab-row a[id*="Shipping"]').show();
|
||||
}
|
||||
else if (val == 2)
|
||||
{
|
||||
@@ -118,7 +120,10 @@
|
||||
$('#virtual_good').show();
|
||||
$('#is_virtual').val(1);
|
||||
$("#virtual_good_attributes").show();
|
||||
$('li.tab-row a[id*="Shipping"]').hide();
|
||||
}
|
||||
else
|
||||
$('li.tab-row a[id*="Shipping"]').show();
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user