updated visibility condition

This commit is contained in:
Shreesh Arora
2023-03-23 17:29:08 +05:30
parent 0e90630ffd
commit ad6dd503ed

View File

@@ -36,14 +36,14 @@
{/if}
<div class="col-sm-12 service_product_action_block">
{if !$PS_CATALOG_MODE && !$order_date_restrict && ($product.show_price && !isset($restricted_country_mode)) || isset($groups)}
{if !$PS_CATALOG_MODE && !$order_date_restrict && ($product.show_price && !isset($restricted_country_mode))}
<span class="service-product-price">
{if !$priceDisplay}{convertPrice price=$product.price_tax_incl}{else}{convertPrice price=$product.price_tax_exc}{/if}
</span>
{/if}
<div>
{if ($product.show_price && !isset($restricted_country_mode)) || isset($groups)}
{if ($product.show_price && !isset($restricted_country_mode))}
{if $product.available_for_order && !$PS_CATALOG_MODE && !$order_date_restrict && !((isset($restricted_country_mode) && $restricted_country_mode))}
<button class="btn btn-service-product{if isset($product.selected) && $product.selected} btn-danger remove_roomtype_product{else} btn-success add_roomtype_product{/if} pull-right" data-id-product="{$product.id_product}">{if isset($product.selected) && $product.selected}{l s='Remove'}{else}{l s='Select'}{/if}</button>
{if $product.allow_multiple_quantity && $product.available_for_order}