Merge pull request #219 from redpik/patch-1

[*] FO : oosHook must be a div, not a paragraph
This commit is contained in:
Vincent Augagneur
2013-01-28 01:49:01 -08:00
+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>