non-asked language switch

  • Posts: 36
  • Thank you received: 1
  • Hikashop Essential
1 year 1 month ago #287216

-- url of the page with the problem -- : clima-industries.be
-- HikaShop version -- : 3.2.2

Hi,

When i'm in Dutch language and go to the shop and click on a product it switches to German language.
Even when i'm in French language and click on a product it switches to German.

What is the reason an can you repair this.

Thanks

Alain

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

  • Posts: 23351
  • Thank you received: 3627
  • MODERATOR
1 year 1 month ago #287243

Hello,

Would it be possible that your products' canonical URL contains the language tag content in it ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 36
  • Thank you received: 1
  • Hikashop Essential
1 year 1 month ago #287314

Sorry i don't understand what you mean by "your products' canonical URL contains the language tag content "
Does the screenshot helps you ?
grt
Alain

Attachments:

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

  • Posts: 65130
  • Thank you received: 9460
  • MODERATOR
1 year 1 month ago #287318

Hi,

In each product, you have a field "canonical URL". If you've filled this field AND you have the "force canonical URL on listing" setting activated in the HikaShop configuration, then you will be redirected to that link when you are on the listing and click to access the product page.
So if you have a website in several languages, either you leave that field empty so that HiksShop generates the link to the product page for each language, or your need to enter the canonical URL for each translation of the product (in the popup which opens when you click on the flags of the product edition page) so that the system can redirect to the canonical URL of the current language.
If you only enter the canonical URL in the product and not in the translations, then regardless of the language you use to display the listing, it will always use that canonical URL and it will be the same for all the languages and thus you see that "language switch" you're talking about.

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

  • Posts: 36
  • Thank you received: 1
  • Hikashop Essential
1 year 1 month ago #287445

Thank you very much ! Resolved.
Alain

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

Time to create page: 0.063 seconds
Powered by Kunena Forum