[Skip to main content](#vessel-content)

#   related products breadcrumbs pathway

##

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 8 months ago [\#8607](#8607) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  *[related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#8607 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")* was created by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")*

We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the product is directly in the shop root.

Ideally we would like this to display the pathway including the original product.

I'm sure thats hard to understand so I'll have another go at spelling it out

Current product pathway
-&gt; category -&gt; sub-category -&gt; product

When you click on a related product on the product page the pathway changes to
-&gt; related product

Ideally we would like to have
-&gt; category -&gt; sub-category -&gt; product -&gt; related product

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 8 months ago [\#8621](#8621) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#8621 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

You could try to edit the file components/com_hikashop/views/product/view.html.php and add before the line:
if( !$this-&gt;params-&gt;get('random')){

the lines:
if(!empty($product_id)){
$category_pathway = '&amp;category_pathway='.JRequest::getInt('category_pathway',0).'&amp;related_product='.$product_id;
}

and before the line:
$pathway-&gt;addItem($product_name,hikashop::completeLink('product&amp;task=show&amp;cid='.(int)$element-&gt;product_id.'&amp;name='.$element-&gt;alias.'&amp;category_pathway='.$category_pathway.$url_itemid));

the lines:
$related = JRequest::getInt('related_product',0);
if(!empty($related)){
$class = hikashop::get('class.product');
$prod = $class-&gt;get($class);
if(!empty($prod)){
$prod-&gt;alias = JFilterOutput::stringURLSafe($prod-&gt;product_name);
$pathway-&gt;addItem($prod-&gt;product_name,hikashop::completeLink('product&amp;task=show&amp;cid='.(int)$prod-&gt;product_id.'&amp;name='.$prod-&gt;alias.'&amp;category_pathway='.$category_pathway.$url_itemid));
}
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 8 months ago [\#8627](#8627) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#8627 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Doesn't appear to have worked Code:

$related = JRequest::getInt('related_product',0); if(!empty($related)){ $class = hikashop::get('class.product'); $prod = $class-&gt;get($class); if(!empty($prod)){ $prod-&gt;alias = JFilterOutput::stringURLSafe($prod-&gt;product_name); $pathway-&gt;addItem($prod-&gt;product_name,hikashop::completeLink('product&amp;task=show&amp;cid='.(int)$prod-&gt;product_id.'&amp;name='.$prod-&gt;alias.'&amp;category_pathway='.$category_pathway.$url_itemid)); } } $pathway-&gt;addItem($product_name,hikashop::completeLink('product&amp;task=show&amp;cid='.(int)$element-&gt;product_id.'&amp;name='.$element-&gt;alias.'&amp;category_pathway='.$category_pathway.$url_itemid)); }

I also tried removing the last line as it appears to be replaced by the last line of the new code, but that didn't work either.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 8 months ago [\#8638](#8638) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#8638 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Could you give a link to your shop so that we can see the modification ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9518](#9518) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9518 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

I've sent you an email with the shop address

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9519](#9519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9519 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Could you update to the latest version first and see if that works ?
We released a new version of HikaShop with these changes included.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9523](#9523) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9523 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Just updated, no change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9524](#9524) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9524 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Ok. We'll look at your website tomorrow as it's already late here.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9527](#9527) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9527 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

No worries, we've still got a few days before we go live and there is certainly no reason to complain about the level of support you guys give.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9592](#9592) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9592 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Hi,

We changed a bit the file components/com_hikashop/views/product/view.html.php
Could you replace that file by the one in the archive enclosed and try again ?

####  *This attachment is hidden for guests.
Please log in or register to see it.*

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9681](#9681) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9681 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Ok file uploaded, also now running starter 1.4.7

Pathway before selecting related product: home &gt; category &gt; sub-category &gt; product
Pathway after selecting related product: home &gt; category &gt; sub-category &gt; related product

with the following warning displayed underneath

Warning: mysql_real_escape_string() expects parameter 1 to be string, object given in /home/apcrbcco/public_html/libraries/joomla/database/database/mysql.php on line 193

Ideally we are looking for home &gt; category &gt; sub-category &gt; *product* &gt; related product

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9683](#9683) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9683 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

I've just purchased Essential for this site, do you want me to install it before we continue?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9700](#9700) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9700 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

You need to change the line :
$prod = $class-&gt;get($class);
to:
$prod = $class-&gt;get($related);

in that same file to fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9703](#9703) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9703 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

I checked view.html.php and mysql.php and "$prod = $class-&gt;get($class);" didn't come up?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9704](#9704) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9704 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

In the file I attached earlier, I can clearly see this line of code on line 637.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9778](#9778) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9778 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Done and working, for some reason my cpanel code editor didn't find it last night, but I should probably put that down to operator error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jasonm](/forum/user/712-jasonm "View jasonm's Profile")**
- [![jasonm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/712-jasonm "View jasonm's Profile") Topic Author
- [ Offline](/forum/user/712-jasonm)

Less More

- Posts: 78
- Thank you received: 0
-
-

15 years 7 months ago [\#9779](#9779) by [jasonm](/forum/user/712-jasonm "View jasonm's Profile")  Replied by *[jasonm](/forum/user/712-jasonm "View jasonm's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9779 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

OK, I've just installed the essential package and as expected the view.html.php file was overwritten and the same mysql fault appeared. I have overwritten with the previous working file and its all good again.

Are there likely to be any other problems replacing an essential view.html.php with a starter view.html.php?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#9780](#9780) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#9780 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

No, it's the same file for all versions. That will also be included in next release so you won't have to bother with it anymore.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Robbeh](/forum/user/1499-robbeh "View Robbeh's Profile")**
- [![Robbeh's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1499-robbeh "View Robbeh's Profile")
- [ Offline](/forum/user/1499-robbeh)

Less More

- Posts: 3
- Thank you received: 0
-
-

15 years 7 months ago [\#10485](#10485) by [Robbeh](/forum/user/1499-robbeh "View Robbeh's Profile")  Replied by *[Robbeh](/forum/user/1499-robbeh "View Robbeh's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#10485 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

Hi, I have a similer issue,
I have a module that displays random products on the right column of a number of pages on the website, using your code from the file above adds the previous page location to the breadcrumb trail but is it possible to change this to being the items location in the product catagory tree?

For example:

Instead of: home &gt; page_item_clicked &gt; item

This: home &gt; product_catagory &gt; subcatagory&gt;product

Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 7 months ago [\#10491](#10491) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: related products breadcrumbs pathway](/forum/4-how-to/8607-related-products-breadcrumbs-pathway#10491 "We have a related products module on the product page. If we click through to a related product from the product page the breadcrumbs pathway on the related product page displays as though the...")*

For that, you need to set a menu of the type listing of categories in your module's hikashop options.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2MDctcmVsYXRlZC1wcm9kdWN0cy1icmVhZGNydW1icy1wYXRod2F5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.528 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
