Strange behavior: product links and language switcher
Posted: 09 Dec 2023, 14:30
Hi Jan
Long time which means everything works rather well
Problem is not urgent but strange.
I just updated to Joomla! 4.4.1 Stable and I run PHP 8.2.12 with 10.6.15-MariaDB-log.
After the update, I added 2 products and noticed a strange behavior with the language switcher. I checked much older products (added under Joomla 3.x) and there are identical problems. Some work, some don't switch languages as expected. I really don't know if this problem exists since the update or already much longer, Sorry!
Problem is:
when I am on the actual product page (where I can order) and I want to switch languages (DE -> EN or EN -> DE), some products work fine and others send me to the home page of the other language and there just add the products at the end.
The links the language switcher gets are different for different products. Example:
This one works fine!
Whale Shark Adoption German Link (actual page): https://hai.swiss/shop-de/13-hai-patens ... atenschaft
Whale Shark Adoption English Link (language switcher): https://shark.swiss/shop-en/12-shark-ad ... k-adoption
This one sends me to the home page
Blue Shark Adoption German Link (actual page): https://hai.swiss/shop-de/13-hai-patens ... atenschaft
Blue Shark Adoption English Link (language switcher): https://shark.swiss/component/phocacart ... Itemid=257
Its the same for DE -> EN or EN -> DE
It seems, some product pages add ?catid=AB:shark-adoptions&Itemid=XYZ and some don't. The ones that don't work perfectly.
I checked the configuration of the products and the database entries for the products and there don't seem to be any differences.
Any idea?
Kind regards
Alexander
Long time which means everything works rather well
Problem is not urgent but strange.
I just updated to Joomla! 4.4.1 Stable and I run PHP 8.2.12 with 10.6.15-MariaDB-log.
After the update, I added 2 products and noticed a strange behavior with the language switcher. I checked much older products (added under Joomla 3.x) and there are identical problems. Some work, some don't switch languages as expected. I really don't know if this problem exists since the update or already much longer, Sorry!
Problem is:
when I am on the actual product page (where I can order) and I want to switch languages (DE -> EN or EN -> DE), some products work fine and others send me to the home page of the other language and there just add the products at the end.
The links the language switcher gets are different for different products. Example:
This one works fine!
Whale Shark Adoption German Link (actual page): https://hai.swiss/shop-de/13-hai-patens ... atenschaft
Whale Shark Adoption English Link (language switcher): https://shark.swiss/shop-en/12-shark-ad ... k-adoption
This one sends me to the home page
Blue Shark Adoption German Link (actual page): https://hai.swiss/shop-de/13-hai-patens ... atenschaft
Blue Shark Adoption English Link (language switcher): https://shark.swiss/component/phocacart ... Itemid=257
Its the same for DE -> EN or EN -> DE
It seems, some product pages add ?catid=AB:shark-adoptions&Itemid=XYZ and some don't. The ones that don't work perfectly.
I checked the configuration of the products and the database entries for the products and there don't seem to be any differences.
Any idea?
Kind regards
Alexander