From 1a85589da4b50754f2d5ee3e1f1a704e07abb06f Mon Sep 17 00:00:00 2001 From: badsuricate Date: Mon, 21 Oct 2013 12:48:19 +0200 Subject: [PATCH] Use the argument "hasBtn" to display or hide "Add to cart" button --- templates/default/includes/single-product.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/default/includes/single-product.html b/templates/default/includes/single-product.html index bade42365..76d26de64 100644 --- a/templates/default/includes/single-product.html +++ b/templates/default/includes/single-product.html @@ -115,12 +115,13 @@
- {if $hasSubmit == true} - - {else} - {intl l="View product"} + {if $hasBtn == true} + {if $hasSubmit == true} + + {else} + {intl l="View product"} + {/if} {/if} -