diff --git a/admin-dev/themes/default/template/controllers/products/combinations.tpl b/admin-dev/themes/default/template/controllers/products/combinations.tpl index 38f12a050..5b0699d45 100644 --- a/admin-dev/themes/default/template/controllers/products/combinations.tpl +++ b/admin-dev/themes/default/template/controllers/products/combinations.tpl @@ -29,15 +29,9 @@ var msg_combination_2 = '{l s='Please choose a value'}'; var msg_combination_3 = '{l s='You can only add one combination per type of attribute'}'; var msg_new_combination = '{l s='New combination'}'; - - $(document).ready(function(){ - {if $product->is_virtual} - $('#virtual_good_attributes').show(); - {/if} - }); -{if isset($product->id)} +{if isset($product->id) && !$product->is_virtual}