Sly Crespo Posted May 20, 2011 Share Posted May 20, 2011 Hello !In my shop, when I go under specific category, the tittle above shows only current category. But I want to show it the full path... For example if I go in category:STAMPS>EUROPE>SLOVENIA>USED>2006 it shows only 2006what should I do to be displayed the full path and should be clickable ?look at the attached picture to know what I mean..and sorry for my english. Link to comment Share on other sites More sharing options...
shokinro Posted May 21, 2011 Share Posted May 21, 2011 The default theme of PrestaShp does what you wanted.it seems that your theme are customized one or 3rd party theme. I think it is by design to use only last category name.if following line is not in your YourSiteRoot/themes/YourSiteTheme/category.tpl file, try to insert it see it it changes {include file="$tpl_dir./breadcrumb.tpl"} Link to comment Share on other sites More sharing options...
Sly Crespo Posted May 21, 2011 Author Share Posted May 21, 2011 this line is already in category.tpl Anyone any more idea ? Link to comment Share on other sites More sharing options...
shokinro Posted May 21, 2011 Share Posted May 21, 2011 then check the following file is different from original version from PrestaShop.YourSiteRoot/themes/YourSiteThem/breadcrumb.tplfor your reference, attached is the file from PrestaShop 1.4.1 <!-- Breadcrumb --> {if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} You are here : {l s='Home'}{if isset($path) AND $path}{$navigationPipe|escape:html:'UTF-8'}{if !$path|strpos:'span'}{$path}{else}{$path}{/if}{/if} <!-- /Breadcrumb --> Link to comment Share on other sites More sharing options...
Sly Crespo Posted May 21, 2011 Author Share Posted May 21, 2011 Here is my breadcrumb.tpl : <!-- Breadcrumb --> {if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} {l s='Home'}{if $path}{$navigationPipe|escape:html:'UTF-8'}{if !$path|strpos:'span'}{$path}{else}{$path}{/if}{/if} <!-- /Breadcrumb --> I tried to replace it with your code but everithing stays the same in front officeI'm using Prestashop Version 1.3.1.1 Link to comment Share on other sites More sharing options...
B. Szakacs Posted September 29, 2011 Share Posted September 29, 2011 I have the same problem. Seems like subcategory level 2 or last subcategory name is not displayed before product name. Not even when i am listing the products from these categories. Have no ideea why. Any help? Link to comment Share on other sites More sharing options...
bluego78 Posted September 14, 2012 Share Posted September 14, 2012 I have the same problem.. have you fixed it? Link to comment Share on other sites More sharing options...
Paulito Posted September 15, 2012 Share Posted September 15, 2012 Good Morning, My Breadcrumbs are working perfectly ps 1.4.7.0 In breadcrumb.tpl my code is as follows: <!-- Breadcrumb --> {if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} <div class="breadcrumb"> <a href="{$base_dir}" title="{l s='return to'} {l s='Home'}">{l s='Home'}</a>{if isset($path) AND $path}<span class="navigation-pipe">{$navigationPipe|escape:html:'UTF-8'}</span>{if !$path|strpos:'span'}<span class="navigation_page">{$path}</span>{else}{$path}{/if}{/if} </div> <!-- /Breadcrumb --> Hope this is of some help Paul Link to comment Share on other sites More sharing options...
Denver Prophit Jr. Posted May 24, 2015 Share Posted May 24, 2015 What if we want to use that smarty method to capture the path. But, leave out the name of the product? Link to comment Share on other sites More sharing options...
Recommended Posts