Breadcrumbs now displaying subcategories

  • Posts: 9
  • Thank you received: 1
11 years 3 months ago #156199

Hello,

I've a problem getting the breadcrumbs displaying correctly:
I created a new HikaShop Content Module with random products and placed it on the homepage. It works fine.
The main menu of my site contains a link "Categories" to a hikashop product category listing. In the configuration of the new Content Module I set the menu to the link that Link. So far so good. Now, when I go to "Categories" and select the a (sub)category and then a product, the breadcrumbs are displaying correctly, something like "Main > Categories > Subcategory1 > Productname". However when I select a product from the HikaShop Content Module on the main page, the subcategories are gone and the breadcrumbs look like this: "Main > Categories > Productname".

I tried to find the answer on my own and found this topic:
www.hikashop.com/forum/4-how-to/56798-br...ories-disappear.html

So I tried to switch the simplified breadcrumb off, but it didn't resolve the problem. Are there any other settings I can try to get it display correctly?

Thank you!

Best regards,
Sergey

-- HikaShop version -- : HikaShop Starter 2.3.0
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.5.9

Please Log in or Create an account to join the conversation.

  • Posts: 84295
  • Thank you received: 13694
  • MODERATOR
11 years 3 months ago #156278

Hi,

If you turn ON ( not off ) the "simplified breadcrumb" option of the configuration, you should get the same links. Make sure that you clear your website cache if any.
Also, with the new version of HikaShop (2.3.1) we have a new option "Force canonical URLs on listings" that you can set to "Use canonical URL and generate it if missing" and you should get the same breadcrumb regardless of the other options.

The following user(s) said Thank You: Sergus

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
11 years 3 months ago #156281

Thank you for your answer, nicolas!

I tried to turn "simplified breadcrumbs" ON and OFF, it didn't make any difference. I also updated my HikaShop to version 2.3.1. Didn't help either. However your answer gave me a tip where to look for. I checked the canonical URLs of the products and categories and they were generated incorrectly. I wounder why I didn't notice it before. That was the reason I had two different URLs for the same product: one with "product list > subcategory > product" and another one with "product list > product" so the breadcrumbs displayed the wrong path. I removed these canonical URLs completely and it worked.

Thank you very much! That kind of support was the main reason I bought HikaShop :)

Best regards,
Sergey

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum