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

#   Pathway Breadcrumbs

##

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

Less More

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

15 years 6 months ago -  15 years 6 months ago [\#15094](#15094) by [Ell](/forum/user/588-ell "View Ell's Profile")  Replied by *[Ell](/forum/user/588-ell "View Ell's Profile")* on topic *[Re: Pathway Breadcrumbs](/forum/3-bug-report/14361-pathway-breadcrumbs?start=20#15094 "Not sure if this a bug or should be placed in howto. Anyway we have set up the following category hierarchy  Mechanics -&gt; Suspension -&gt; Lift Kit  where mechanics is the parent of suspension which is in turn parent of Lift Kit. We don't have any products in Mechanics or Suspension, just Lift Kit. We have created a menu hierarchy that reflects the categories so we have  Mechanics -&gt; Suspension -&gt; Lift Kit  If we navigate the menu directly to Lift kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If we click on a product in the Lift Kit category we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit -&gt; Product  If we click on Mechanics and then navigate to Lift Kit via the module views instead of the menu view when we arrive at the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  So far so good. However if we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Product  which is not we are expecting. If we click on Suspension and then navigate to the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If again we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Suspension -&gt; Product  I have looked to see if I have missed something in the module set up but I can not see anything obvious hence my posting as bug.")*

Hi,
Sorry to interrupt, but I'm also having trouble with the breadcrumb.
(If I should report in a different thread, let me know)

I am using Joomla 1.5 and Hikashop 1.4.1.

I created category A and created a sub category subA under it.
Then attached products to subA.
The breadcrumb that was showing for subA and the products were
HOME &gt; PRODUCT &gt; A &gt; subA

I then created category B and moved subA under it by clicking on "Parent category" in the Categories page for subA and clicking on the "Use" icon for B in the pop up window.
subA does now show up under B, but when I reach subA page and products, the breadcrumb is still the same:
HOME &gt; PRODUCT &gt; A &gt; subA
instead of what I would expect
HOME &gt; PRODUCT &gt; B &gt; subA

In the category listing, subA does not show under A.
subA does correctly get shown under B.
So the problem seems to be the URL assigned to subA when shown under B.

Is there something that I can do to fix this from the user interface or the views?
If not, can you tell me where I can fix in the DB?

Thank you!

Last edit: 15 years 6 months ago by [Ell](/forum/user/588-ell "View Ell's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDM2MS1wYXRod2F5LWJyZWFkY3J1bWJzP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) 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: 86555
- Thank you received: 14304
-
-

15 years 6 months ago [\#15096](#15096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Pathway Breadcrumbs](/forum/3-bug-report/14361-pathway-breadcrumbs?start=20#15096 "Not sure if this a bug or should be placed in howto. Anyway we have set up the following category hierarchy  Mechanics -&gt; Suspension -&gt; Lift Kit  where mechanics is the parent of suspension which is in turn parent of Lift Kit. We don't have any products in Mechanics or Suspension, just Lift Kit. We have created a menu hierarchy that reflects the categories so we have  Mechanics -&gt; Suspension -&gt; Lift Kit  If we navigate the menu directly to Lift kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If we click on a product in the Lift Kit category we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit -&gt; Product  If we click on Mechanics and then navigate to Lift Kit via the module views instead of the menu view when we arrive at the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  So far so good. However if we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Product  which is not we are expecting. If we click on Suspension and then navigate to the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If again we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Suspension -&gt; Product  I have looked to see if I have missed something in the module set up but I can not see anything obvious hence my posting as bug.")*

The category_pathway gets set in the function listing of the file components/com_hikashop/views/products/view.html.php near the end of the function.

@Ell : There is maybe a problem in the data of the subA category in the table hikashop_category for the subA entry. I'm afraid that you will have to go in phpmyadmin to look at it and change it if there is a problem with it.

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

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

Less More

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

15 years 6 months ago -  15 years 6 months ago [\#15102](#15102) by [Ell](/forum/user/588-ell "View Ell's Profile")  Replied by *[Ell](/forum/user/588-ell "View Ell's Profile")* on topic *[Re: Pathway Breadcrumbs](/forum/3-bug-report/14361-pathway-breadcrumbs?start=20#15102 "Not sure if this a bug or should be placed in howto. Anyway we have set up the following category hierarchy  Mechanics -&gt; Suspension -&gt; Lift Kit  where mechanics is the parent of suspension which is in turn parent of Lift Kit. We don't have any products in Mechanics or Suspension, just Lift Kit. We have created a menu hierarchy that reflects the categories so we have  Mechanics -&gt; Suspension -&gt; Lift Kit  If we navigate the menu directly to Lift kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If we click on a product in the Lift Kit category we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit -&gt; Product  If we click on Mechanics and then navigate to Lift Kit via the module views instead of the menu view when we arrive at the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  So far so good. However if we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Product  which is not we are expecting. If we click on Suspension and then navigate to the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If again we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Suspension -&gt; Product  I have looked to see if I have missed something in the module set up but I can not see anything obvious hence my posting as bug.")*

Hi nicolas,
Thanks for the quick response.

The data in the hikashop_category seems correct.
The category_parent_id is correctly showing the ID of the new parent category (in this case, for B ).
And subA does get shown under B in the view.
I have also moved 2 other sub categories from A to B and all 3 products are having the same problem, so this does not seem to be an isolated problem.

1) From the product top page, I click category B and it will show subA, subB, subC.
2) When I click on subA, the breadcrumb will show that it is under A, not B.
3) When I click the breadcrumb link for A, it does not show subA, subB, nor subC.

I will check on the view.html.php, but if you have any other suggestions as to where to look (esp. the DB), I'd appreciate it.

Thanks!

Last edit: 15 years 6 months ago by [Ell](/forum/user/588-ell "View Ell's Profile").

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

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

15 years 6 months ago [\#15111](#15111) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Pathway Breadcrumbs](/forum/3-bug-report/14361-pathway-breadcrumbs?start=20#15111 "Not sure if this a bug or should be placed in howto. Anyway we have set up the following category hierarchy  Mechanics -&gt; Suspension -&gt; Lift Kit  where mechanics is the parent of suspension which is in turn parent of Lift Kit. We don't have any products in Mechanics or Suspension, just Lift Kit. We have created a menu hierarchy that reflects the categories so we have  Mechanics -&gt; Suspension -&gt; Lift Kit  If we navigate the menu directly to Lift kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If we click on a product in the Lift Kit category we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit -&gt; Product  If we click on Mechanics and then navigate to Lift Kit via the module views instead of the menu view when we arrive at the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  So far so good. However if we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Product  which is not we are expecting. If we click on Suspension and then navigate to the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If again we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Suspension -&gt; Product  I have looked to see if I have missed something in the module set up but I can not see anything obvious hence my posting as bug.")*

Hi Nicolas,

the $pageInfo-&gt;filter-&gt;cid for some categories was not set and so the pathway_category was set to 0. Also for these categories the show_page_title was not set either. Anyway we deleted the menu entry and all the parmas and menu settings in the hikashop_config that relate to the offending menu. Recreate the menu entry and now when we navigate through the breadcrumb shows correctly and the category title shows correctly.

I have tried saving some other category listings in the meantime to recreate this error and have been unable to do so. If it happens again I will let you know.

Thanks for the pointer and help

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

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

Less More

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

15 years 6 months ago [\#15135](#15135) by [Ell](/forum/user/588-ell "View Ell's Profile")  Replied by *[Ell](/forum/user/588-ell "View Ell's Profile")* on topic *[Re: Pathway Breadcrumbs](/forum/3-bug-report/14361-pathway-breadcrumbs?start=20#15135 "Not sure if this a bug or should be placed in howto. Anyway we have set up the following category hierarchy  Mechanics -&gt; Suspension -&gt; Lift Kit  where mechanics is the parent of suspension which is in turn parent of Lift Kit. We don't have any products in Mechanics or Suspension, just Lift Kit. We have created a menu hierarchy that reflects the categories so we have  Mechanics -&gt; Suspension -&gt; Lift Kit  If we navigate the menu directly to Lift kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If we click on a product in the Lift Kit category we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit -&gt; Product  If we click on Mechanics and then navigate to Lift Kit via the module views instead of the menu view when we arrive at the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  So far so good. However if we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Product  which is not we are expecting. If we click on Suspension and then navigate to the category Lift Kit we get the following breadcrumb, which is what we expect  Home -&gt; Mechanics -&gt; Suspension -&gt; Lift Kit  If again we click on a product in Lift Kit category we get the following breadcrumb  Home -&gt; Mechanics -&gt; Suspension -&gt; Product  I have looked to see if I have missed something in the module set up but I can not see anything obvious hence my posting as bug.")*

Hi,

I now know what the problem is.
There was a bug reported for 1.4.1 regarding Call to undefined method _rebuildTree().
This applied to my case.
This error message was not appearing in my installment (getting white screen instead), and the category related DB tables all seemed fine, but I guess I missed something.
It is now solved.

Regards,
Ell

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

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