From 6c8e70f780306711c83fd4ef30a1a8430471d064 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Thu, 31 Oct 2013 15:32:52 +0100 Subject: [PATCH] [*] FO : added "back to search results" the the product page --- themes/default-bootstrap/breadcrumb.tpl | 5 +++++ themes/default-bootstrap/product.tpl | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/themes/default-bootstrap/breadcrumb.tpl b/themes/default-bootstrap/breadcrumb.tpl index 944fe19c1..eb1e4b4de 100644 --- a/themes/default-bootstrap/breadcrumb.tpl +++ b/themes/default-bootstrap/breadcrumb.tpl @@ -36,4 +36,9 @@ {/if} {/if} +{if isset($smarty.get.search_query) && isset($smarty.get.results) && $smarty.get.results > 1} +
+ {l s='Back to Search results for "%s" (%d other results)' sprintf=[$smarty.get.search_query,$smarty.get.results]} +
+{/if} \ No newline at end of file diff --git a/themes/default-bootstrap/product.tpl b/themes/default-bootstrap/product.tpl index b62d9d441..d74238386 100644 --- a/themes/default-bootstrap/product.tpl +++ b/themes/default-bootstrap/product.tpl @@ -160,7 +160,6 @@ var contentOnly = {if $content_only}true{else}false{/if}
- {if !$content_only}
{/if} {if isset($adminActionDisplay) && $adminActionDisplay} @@ -188,7 +187,6 @@ var contentOnly = {if $content_only}true{else}false{/if}
- {if $product->on_sale} {l s='Sale!'} {elseif $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutReduction > $productPrice}