From 7eee54e3bda0dbea98c633142f34cc17a200ce57 Mon Sep 17 00:00:00 2001 From: Markus-Gurkcity Date: Fri, 29 May 2026 13:07:36 +0200 Subject: [PATCH] add more displayProductPriceBlock hooks in product templates --- templates/catalog/_partials/miniatures/product.tpl | 3 +++ templates/catalog/_partials/product-prices.tpl | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/catalog/_partials/miniatures/product.tpl b/templates/catalog/_partials/miniatures/product.tpl index 2772b06e0..a968bcbf4 100644 --- a/templates/catalog/_partials/miniatures/product.tpl +++ b/templates/catalog/_partials/miniatures/product.tpl @@ -50,6 +50,9 @@ {/if} + {hook h='displayProductPriceBlock' product=$product type="price"} + {hook h='displayProductPriceBlock' product=$product type="after_price"} + {hook h='displayProductPriceBlock' product=$product type='unit_price'} {hook h='displayProductPriceBlock' product=$product type='weight'} diff --git a/templates/catalog/_partials/product-prices.tpl b/templates/catalog/_partials/product-prices.tpl index a4b8c6e3f..2e11d3eca 100644 --- a/templates/catalog/_partials/product-prices.tpl +++ b/templates/catalog/_partials/product-prices.tpl @@ -26,7 +26,9 @@ {/if} {/if} - + + {hook h='displayProductPriceBlock' product=$product type="before_price"} +
{capture name='custom_price'}{hook h='displayProductPriceBlock' product=$product type='custom_price' hook_origin='product_sheet'}{/capture}