From c89ad555df3ea26334e53acea4f59ff7c00187ef Mon Sep 17 00:00:00 2001 From: Benjamin PONGY Date: Tue, 22 Jan 2013 15:19:52 +0100 Subject: [PATCH] [*] FO oosHook must be a div, not a paragraph for code validation, oosHook must be a div, not a paragraph. --- themes/default/product.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/product.tpl b/themes/default/product.tpl index 471ad3a06..3ac4c92d7 100644 --- a/themes/default/product.tpl +++ b/themes/default/product.tpl @@ -352,9 +352,9 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving {/if} -

quantity > 0} style="display: none;"{/if}> +

quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} -

+

quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none"{/if} >{l s='Warning: Last items in stock!'}