// bug fix on cart button disply in frotn office

This commit is contained in:
dSevere committed 2011-12-15 14:08:20 +00:00
1 parent fd83c5fb1d
commit fd44c5422a
1 file changed
+9 -2
+9 -2
View File
@@ -433,8 +433,15 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus
{/if} {/if}
{*close if for show price*} {*close if for show price*}
{/if} {/if}
<p{if
<p{if (!$allow_oosp && $product->quantity > 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><span></span><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> (!$allow_oosp && $product->quantity <= 0)
OR
!$product->available_for_order
OR
(isset($restricted_country_mode) AND $restricted_country_mode)
OR
$PS_CATALOG_MODE
} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><span></span><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>
{if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}