From a42c9cfe4d69e40ca3f2ff54af6426e6d92241cb Mon Sep 17 00:00:00 2001 From: bMancone Date: Wed, 21 Dec 2011 14:49:45 +0000 Subject: [PATCH] // Disable advanced stock management for virtual products --- admin-dev/themes/template/products/quantities.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin-dev/themes/template/products/quantities.tpl b/admin-dev/themes/template/products/quantities.tpl index 3c805368f..e49f72075 100644 --- a/admin-dev/themes/template/products/quantities.tpl +++ b/admin-dev/themes/template/products/quantities.tpl @@ -58,6 +58,7 @@ + {if !$product->is_virtual} + {/if}
advanced_stock_management == 1 && $stock_management_active == 1}value="1" checked="checked"{else}value="0"{/if} {if $stock_management_active == 0}disabled="disabled" {/if} @@ -73,6 +74,7 @@

depends_on_stock == 0 || $stock_management_active == 0}checked="checked" {/if} type="radio" name="depends_on_stock" class="depends_on_stock" id="depends_on_stock_0" value="0"/>