From b80661de5672e9e26fde2c5e51b96a3518663299 Mon Sep 17 00:00:00 2001 From: abhisheks Date: Fri, 3 Nov 2023 19:03:11 +0530 Subject: [PATCH] refactor: update product prices section --- templates/catalog/_partials/product-prices.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/catalog/_partials/product-prices.tpl b/templates/catalog/_partials/product-prices.tpl index e37ca13..5426c5a 100644 --- a/templates/catalog/_partials/product-prices.tpl +++ b/templates/catalog/_partials/product-prices.tpl @@ -23,12 +23,12 @@ * International Registered Trademark & Property of PrestaShop SA *} {if $product.show_price} -
+
{block name='product_discount'} {if $product.has_discount}
{hook h='displayProductPriceBlock' product=$product type="old_price"} - {$product.regular_price} + {$product.regular_price}
{/if} {/block} @@ -43,14 +43,14 @@ -
+
{$product.price} {if $product.has_discount} {if $product.discount_type === 'percentage'} {l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]} {else} - + {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} {/if}