- Posts: 5
- Thank you received: 0
breadcrumbs from related products and best sellers
13 years 5 months ago #107196
by willbfshn
breadcrumbs from related products and best sellers was created by willbfshn
breadcrumbs appear to be working as expected when I navigate from from menu
home -> product -> category A-> product A
on my product detail page, I've published "related products", if I select a product the breadcrumb becomes
home -> product B (whatever I selected)
how do I tell the breadcrumb to retain the structure as shown from navigation?
thanks
home -> product -> category A-> product A
on my product detail page, I've published "related products", if I select a product the breadcrumb becomes
home -> product B (whatever I selected)
how do I tell the breadcrumb to retain the structure as shown from navigation?
thanks
Please Log in or Create an account to join the conversation.
13 years 5 months ago #107229
by nicolas
Replied by nicolas on topic breadcrumbs from related products and best sellers
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->Content modules of HikaShop.
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->Content modules of HikaShop.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #107263
by willbfshn
Replied by willbfshn on topic breadcrumbs from related products and best sellers
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
breadcrumb = home > products > category A > product A > product B
desired outcome, representing product B heirarchy in the store
breadcrumb = home > products > category b > product B
thanks
Way it seems to work:
click product, click category A, click product A, click related product z (in category
breadcrumb = home > products > category A > product A > product B
desired outcome, representing product B heirarchy in the store
breadcrumb = home > products > category b > product B
thanks
Please Log in or Create an account to join the conversation.
13 years 5 months ago #107278
by nicolas
Replied by nicolas on topic breadcrumbs from related products and best sellers
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
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 or Create an account to join the conversation.
Time to create page: 0.057 seconds