[*] FO oosHook must be a div, not a paragraph

for code validation, oosHook must be a div, not a paragraph.
This commit is contained in:
Benjamin PONGY
2013-01-22 15:19:52 +01:00
parent 8f80654965
commit 0461ae3cd6
+2 -2
View File
@@ -352,9 +352,9 @@ var fieldRequired = '{l s='Please fill in all the required fields before saving
{/if}
<!-- Out of stock hook -->
<p id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}>
<div id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}>
{$HOOK_PRODUCT_OOS}
</p>
</div>
<p class="warning_inline" id="last_quantities"{if ($product->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!'}</p>
</div>