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

#   breadcrumbs from related products and best sellers

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 5 months ago [\#107196](#107196) by [willbfshn](/forum/user/20900-willbfshn "View willbfshn's Profile")  *[breadcrumbs from related products and best sellers](/forum/4-how-to/83196-breadcrumbs-from-related-products-and-best-sellers#107196 "breadcrumbs appear to be working as expected when I navigate from from menu home -&gt; product -&gt; category A-&gt; product A  on my product detail page, I've published &quot;related products&quot;, if I select a product the breadcrumb becomes home -&gt; product B (whatever I selected)  how do I tell the breadcrumb to retain the structure as shown from navigation?  thanks")* was created by *[willbfshn](/forum/user/20900-willbfshn "View willbfshn's Profile")*

breadcrumbs appear to be working as expected when I navigate from from menu
home -&gt; product -&gt; category A-&gt; product A

on my product detail page, I've published "related products", if I select a product the breadcrumb becomes
home -&gt; product B (whatever I selected)

how do I tell the breadcrumb to retain the structure as shown from navigation?

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTk2LWJyZWFkY3J1bWJzLWZyb20tcmVsYXRlZC1wcm9kdWN0cy1hbmQtYmVzdC1zZWxsZXJzP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

13 years 5 months ago [\#107229](#107229) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[breadcrumbs from related products and best sellers](/forum/4-how-to/83196-breadcrumbs-from-related-products-and-best-sellers#107229 "breadcrumbs appear to be working as expected when I navigate from from menu home -&gt; product -&gt; category A-&gt; product A  on my product detail page, I've published &quot;related products&quot;, if I select a product the breadcrumb becomes home -&gt; product B (whatever I selected)  how do I tell the breadcrumb to retain the structure as shown from navigation?  thanks")*

Hi,

What are the links that are generated in both cases for the product ?

In think that you need to select your "product" menu in the "related products" module's "menu" option via the menu Display-&gt;Content modules of HikaShop.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

13 years 5 months ago [\#107263](#107263) by [willbfshn](/forum/user/20900-willbfshn "View willbfshn's Profile")  Replied by *[willbfshn](/forum/user/20900-willbfshn "View willbfshn's Profile")* on topic *[breadcrumbs from related products and best sellers](/forum/4-how-to/83196-breadcrumbs-from-related-products-and-best-sellers#107263 "breadcrumbs appear to be working as expected when I navigate from from menu home -&gt; product -&gt; category A-&gt; product A  on my product detail page, I've published &quot;related products&quot;, if I select a product the breadcrumb becomes home -&gt; product B (whatever I selected)  how do I tell the breadcrumb to retain the structure as shown from navigation?  thanks")*

yeah, I see how that changed the breadcrumb. The way I see the breadcrumb working is showing you more a browse history of where you are and where you came from, is there a way to have it more show as a hierarchical representation of where your product is?

Way it seems to work:
click product, click category A, click product A, click related product z (in category ![B)](/media/kunena/emoticons/9.png "B)")
breadcrumb = home &gt; products &gt; category A &gt; product A &gt; product B

desired outcome, representing product B heirarchy in the store
breadcrumb = home &gt; products &gt; category b &gt; product B

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTk2LWJyZWFkY3J1bWJzLWZyb20tcmVsYXRlZC1wcm9kdWN0cy1hbmQtYmVzdC1zZWxsZXJzP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14277
-
-

13 years 5 months ago [\#107278](#107278) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[breadcrumbs from related products and best sellers](/forum/4-how-to/83196-breadcrumbs-from-related-products-and-best-sellers#107278 "breadcrumbs appear to be working as expected when I navigate from from menu home -&gt; product -&gt; category A-&gt; product A  on my product detail page, I've published &quot;related products&quot;, if I select a product the breadcrumb becomes home -&gt; product B (whatever I selected)  how do I tell the breadcrumb to retain the structure as shown from navigation?  thanks")*

That's indeed how it works.

To have it like you want you would have to change the line:
$related = JRequest::getInt($related_sef_name,0);

to:
$related = 0;

in the file components/com_hikashop/views/product/view.html.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgzMTk2LWJyZWFkY3J1bWJzLWZyb20tcmVsYXRlZC1wcm9kdWN0cy1hbmQtYmVzdC1zZWxsZXJzP3RtcGw9bWFya2Rvd24=) 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.049 seconds

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

[](#top)
