Breadcrumbs after searching

  • Posts: 173
  • Thank you received: 14
  • Hikashop Business
6 years 9 months ago #272714

-- url of the page with the problem -- : ccpharmacy.com.au/index.php/product-categories
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7
-- PHP version -- : 6.5.3
-- Browser(s) name and version -- : opera45
-- Error-message(debug-mod must be tuned on) -- : none

Hi,


apologies if this has been asked/answered elsewhere. I couldn't find anything..

After a successful search my breadcrumbs just show the top level category title and the product name. Is this the standard behaviour? I'd like for end users to be able to drill back up and look at more of the same.

Thanks,
Ian and Stu

Attachments:
Last edit: 6 years 9 months ago by smithshop123. Reason: add in picture

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
6 years 9 months ago #272718

Hi,

That's the default behavior. with the way then SEF / breadcrumb works in Joomla It's not possible to go back to the search from the product page using the breadcrumb (you could use the back button though).
What you could do is to see the standard breadcrumb that you would get when normally navigating through the categories of your shop.
To do that, there are 2 things to do:
1. Enter the relative URL that displays usually the product page when normally navigating through the categories of your shop as "canonical URL" of your product.
2. Turn on the "use canonical URLs on listings" setting of the HikaShop configuration.
Having canonical URLs for your products is also good for your SEO so you're killing two birds with one stone if you do that.

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

  • Posts: 173
  • Thank you received: 14
  • Hikashop Business
6 years 9 months ago #272816

Thanks. Is there a way to automate this inside hika or should I try to derive it in xls/csv before importing using the know categories and product names? Also could you provide an example of the url to be entered as the relative canonical url (e.g. does it need 'http:// ' or just the paths)?
Thanks,
Ian and Stu

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
6 years 9 months ago #272818

Hi,

1. You can configure the "use canonical URLs on listings" setting to generate them. However, the system will set the first URL generated for the product page. So it might not necessarily be the one you want.
For example, if you access the product page from a search results page before accessing it from the listing of products, it's the search URL that will be set as canonical URL.

2. You should enter the relative path to the product page.
For example for the product page www.hikashop.com/extensions/hika-essential.html I would enter the canonical URL /extensions/hika-essential.html

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

  • Posts: 173
  • Thank you received: 14
  • Hikashop Business
6 years 9 months ago #272916

Hi,
this worked really well. For anyone else doing the same thing I did;

  • Looked under: Configuration > Features > SEF url options
  • Simple breadcrumbs: OFF
  • Use canonical URL and generate if missing
  • Alias automatic filling: YES (not necessary but didn't hurt.

An updated image is attached showing the same product after a search.

Thanks,
Ian and Stu

Attachments:
Last edit: 6 years 9 months ago by smithshop123.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.075 seconds
Powered by Kunena Forum