From 0752edcad586bba34ea788be7598edd75e587dc3 Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Tue, 7 Mar 2023 11:33:05 +0000 Subject: [PATCH] hide service product price in catalog mode --- .../_partials/service-products-list-row.tpl | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl index f700c7720..5858d1328 100644 --- a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl +++ b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl @@ -36,7 +36,7 @@ {/if}
- {if ($product.show_price && !isset($restricted_country_mode)) || isset($groups)} + {if !$PS_CATALOG_MODE && !$order_date_restrict && ($product.show_price && !isset($restricted_country_mode)) || isset($groups)} {if !$priceDisplay}{convertPrice price=$product.price_tax_incl}{else}{convertPrice price=$product.price_tax_exc}{/if} @@ -46,22 +46,21 @@ {if ($product.show_price && !isset($restricted_country_mode)) || isset($groups)} {if $product.available_for_order && !$PS_CATALOG_MODE && !$order_date_restrict && !((isset($restricted_country_mode) && $restricted_country_mode))} + {if $product.allow_multiple_quantity && $product.available_for_order} +
+ +
+ {if isset($product.quantity_added) && $product.quantity_added}{$product.quantity_added|escape:'html':'UTF-8'}{else}1{/if} +
+
+ + +
+
+ {/if} {/if} {/if} - {if $product.allow_multiple_quantity && $product.available_for_order} -
- -
- {if isset($product.quantity_added) && $product.quantity_added}{$product.quantity_added|escape:'html':'UTF-8'}{else}1{/if} -
-
- - -
-
- {/if}
-