diff --git a/admin-dev/themes/template/products/form.tpl b/admin-dev/themes/template/products/form.tpl index 3582af625..c254fae43 100644 --- a/admin-dev/themes/template/products/form.tpl +++ b/admin-dev/themes/template/products/form.tpl @@ -97,7 +97,9 @@ // Reset settings $('li.tab-row a[id*="Pack"]').hide(); $('li.tab-row a[id*="VirtualProduct"]').hide(); + $('div.ppack').hide(); $('#is_virtual_good').removeAttr('checked'); + $('div.is_virtual_good').hide(); $('#is_virtual').val(0); var val = $(this).val(); diff --git a/admin-dev/themes/template/products/pack.tpl b/admin-dev/themes/template/products/pack.tpl index 6e8a0e20a..d2a6012be 100644 --- a/admin-dev/themes/template/products/pack.tpl +++ b/admin-dev/themes/template/products/pack.tpl @@ -165,8 +165,10 @@
- - +
+ + +
diff --git a/admin-dev/themes/template/products/virtualproduct.tpl b/admin-dev/themes/template/products/virtualproduct.tpl index 35aeb73b8..dfeacd53c 100644 --- a/admin-dev/themes/template/products/virtualproduct.tpl +++ b/admin-dev/themes/template/products/virtualproduct.tpl @@ -69,13 +69,6 @@ } }); - /*$('input[name=is_virtual_good]').live('change', function() { - if($(this).attr('checked')) - $('#is_virtual').val(1); - else - $('#is_virtual').val(0); - });*/ - $(document).ready(function() { $('input').keypress(function(e) { var code = null; @@ -159,9 +152,10 @@
-

is_virtual && $product->productDownload->active}checked="checked"{/if} /> +

+ is_virtual && $product->productDownload->active}checked="checked"{/if} /> -

+
{* [begin] virtual product *}
productDownload->id || $product->productDownload->active}style="display:none"{/if} >