- Posts: 2
- Thank you received: 0
breadcrumbs to track always products home category
- Michal Brach
-
Topic Author
- Offline
Less
More
11 years 6 months ago - 11 years 6 months ago #196074
by Michal Brach
breadcrumbs to track always products home category was created by Michal Brach
-- HikaShop version -- : latest
-- Joomla version -- : latest
-- Browser(s) name and version -- : chrome
hello,
first question: with canonical url ON (from hikashop settings), when i try to reach a category or a product it sends me mostly to root of my page, so it cant find the path. How to make it work?
second question: the thing i want to achieve is when i have a product attached to one or more categories( i will call those categories its HomeCategories).
i want always display the product with breadcrumbs tracking thru its HomeCategory.
Example:
structure of my page:
-root
--informations
--blog
--eshop
---category1
----category1.1
----category1.2
---category2
i have my Product1 attached to category: category1.1
Situation: now im browsing in category1 and click on a Product1.
Current result: on product page breadcrumbs shows path: root>eshop>category1>Product1
But i want it to show a path thru its HomeCategory: root>eshop>category1>category1.1>Product1
.......or how to set Canonical URL of a product to its HomeCategory easy. Only way i know to make it, is to create a new product, save it, find it in frontend, copy/paste url to "Canonical URL" field of product.
Is there a way to set this wholesale for all products or som button on product backend page, to fill the "Canonical URL" field properly.
i think this is the way it should be by default, but im newbie on hikashop
thanks in advance
-- Joomla version -- : latest
-- Browser(s) name and version -- : chrome
hello,
first question: with canonical url ON (from hikashop settings), when i try to reach a category or a product it sends me mostly to root of my page, so it cant find the path. How to make it work?
second question: the thing i want to achieve is when i have a product attached to one or more categories( i will call those categories its HomeCategories).
i want always display the product with breadcrumbs tracking thru its HomeCategory.
Example:
structure of my page:
-root
--informations
--blog
--eshop
---category1
----category1.1
----category1.2
---category2
i have my Product1 attached to category: category1.1
Situation: now im browsing in category1 and click on a Product1.
Current result: on product page breadcrumbs shows path: root>eshop>category1>Product1
But i want it to show a path thru its HomeCategory: root>eshop>category1>category1.1>Product1
.......or how to set Canonical URL of a product to its HomeCategory easy. Only way i know to make it, is to create a new product, save it, find it in frontend, copy/paste url to "Canonical URL" field of product.
Is there a way to set this wholesale for all products or som button on product backend page, to fill the "Canonical URL" field properly.
i think this is the way it should be by default, but im newbie on hikashop
thanks in advance
Last edit: 11 years 6 months ago by Michal Brach. Reason: i found particular solution
Please Log in or Create an account to join the conversation.
11 years 6 months ago #196076
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic breadcrumbs to track always products home category
Hi,
1. It's related to the "Simplified breadcrumbs" option. See:
www.hikashop.com/support/support/documen...ig.html#features_sef
2.If you want to edit the canonical url for several products in the same time, the easier will be to use a mass action.
Thanks to that, you can display some specific fields (product id, product name, product code, product canonical) and display them in a "editable table" (and use a little pagination filter in order to limit the number of lines).
You will have a table where you will be able to edit every fields by clicking on them (like in "php my admin").
Regards,
1. It's related to the "Simplified breadcrumbs" option. See:
www.hikashop.com/support/support/documen...ig.html#features_sef
2.If you want to edit the canonical url for several products in the same time, the easier will be to use a mass action.
Thanks to that, you can display some specific fields (product id, product name, product code, product canonical) and display them in a "editable table" (and use a little pagination filter in order to limit the number of lines).
You will have a table where you will be able to edit every fields by clicking on them (like in "php my admin").
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.164 seconds