// bug fix on cart button disply in frotn office
This commit is contained in:
1 parent
fd83c5fb1d
commit
fd44c5422a
1 file changed
+9
-2
@@ -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}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user