Atanda Posted October 14, 2015 Share Posted October 14, 2015 Hi everyone I am using the latest version of Prestashop 1.6.1 and it seems there is no way to change the breadcrumb navigation piple which is currently " > " . I will like to use " / " instead of the above. Here is the code for breadcrumb.tpl. {if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} <div class="breadcrumb clearfix"> <a class="home" href="{$base_dir}" title="{l s='Return to Home'}"><i class="icon-home"></i></a> {if isset($path) AND $path} <span class="navigation-pipe"{if isset($category) && isset($category->id_category) && $category->id_category == 1} style="display:none;"{/if}>{$navigationPipe|escape:'html':'UTF-8'}</span> {if $path|strpos:'span' !== false} <span class="navigation_page">{$path|@replace:'<a ': '<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a itemprop="url" '|@replace:'data-gg="">': '><span itemprop="title">'|@replace:'</a>': '</span></a></span>'}</span> {else} {$path} {/if} {/if} </div> I replaced {$navigationPipe|escape:'html':'UTF-8'} with " / " but only this only work for the first navigation pipe. The rest remain the same. E.g. Main / Genre > Action > blouse. Anyone knows how to do this please should help. Thank you Link to comment Share on other sites More sharing options...
Atanda Posted October 16, 2015 Author Share Posted October 16, 2015 Hello, Can anyone help me. It looks like an easy thing but I cannot just figure out where the problem is. Link to comment Share on other sites More sharing options...
KevinNash Posted October 30, 2015 Share Posted October 30, 2015 Hello, You will find that in your database, ps_configuration/PS_NAVIGATION_PIPE replace the " > " value by " / " 2 Link to comment Share on other sites More sharing options...
jurekos Posted July 4, 2017 Share Posted July 4, 2017 Thanx KevinNash.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now