Jump to content

Breadcrumb duplication - incorrect path


Recommended Posts

I'm having an issue with my Prestashop Breadcrumb display - it seems to be duplicating the path somehow.
 
The breadcrumb appears as follows:
22 (.224/5.69)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>HANDGUN SOLID (VRG-6)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SPITZER BOATTAIL (VRG-5)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>HANDGUN SOLID (VRG-6)>SOLID COPPER (VRG-2)>SOLID COPPER (VRG-2)>PLAINSMASTER (VRG-4)>Solid Copper (VRG-2)>Solid Copper VRG2.224, 46gr
 
When it should appear as follows:
22 (.224/5.69)>SOLID COPPER (VRG-2)>Solid Copper VRG2.224, 46gr
 
 
What could be causing this, and how can I fix it?
 
Thank you for your assistance in advance. 
Link to comment
Share on other sites

Hi Nemo1,

The breadcrumb.tpl file has the following code:
 

<!-- Breadcrumb -->
{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'}
<span class="navigation_page">{$path}</span>
{else}
{$path}
{/if}
{/if}
</div>
{if isset($smarty.get.search_query) && isset($smarty.get.results) && $smarty.get.results > 1 && isset($smarty.server.HTTP_REFERER)}
<div class="pull-right">
<strong>
<a href="{$smarty.server.HTTP_REFERER|escape}" name="back">
<i class="icon-chevron-left left"></i> {l s='Back to Search results for "%s" (%d other results)' sprintf=[$smarty.get.search_query,$smarty.get.results]}
</a>
</strong>
</div>
{/if}
<!-- /Breadcrumb -->

Prestashop version is 1.6.0.9.
 
Thank you for your support.
Link to comment
Share on other sites

×
×
  • Create New...