From f3fb05807a19530a347dea5253b8854c2f334880 Mon Sep 17 00:00:00 2001 From: Tatu Wikman Date: Wed, 27 Nov 2024 13:09:21 +0200 Subject: [PATCH] In productlist: if price is not shown don't show add to cart either --- templates/catalog/_partials/miniatures/product.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/catalog/_partials/miniatures/product.tpl b/templates/catalog/_partials/miniatures/product.tpl index 6aa6199a..3b056983 100644 --- a/templates/catalog/_partials/miniatures/product.tpl +++ b/templates/catalog/_partials/miniatures/product.tpl @@ -176,7 +176,7 @@ {/block} - {if $product.add_to_cart_url} + {if $product.show_price && $product.add_to_cart_url}