Is this a bug?. Virtuemart product detail link in any language is ok BUT the lan

Started by octaviobh, October 31, 2020, 16:30:19 PM

Previous topic - Next topic

octaviobh

Hello.

I have a local joomla virtuemart multilingual site. All works fine except the noted here.

In order to clarify the following links examples first I set the SEF global config OFF.

In english product detail page the language switch icon has links:

https://havanatrends.cmm:2381/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=3&virtuemart_category_id=2&lang=en
https://havanatrends.cmm:2381/index.php?option=com_content&view=categories&id=16&Itemid=135&lang=es

And in spanish product detail page the language switch icon has links:

https://havanatrends.cmm:2381/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=3&virtuemart_category_id=2&lang=es
https://havanatrends.cmm:2381/index.php?option=com_content&view=categories&id=15&Itemid=134&lang=en

As you can see the link in the same language is ok, but in the other language the link points to the home page I had.

Then setting the SEF global config ON.

In english product detail page the language switch icon has links:

https://havanatrends.cmm:2381/index.php/shop-products/services/www-hosting-detail
https://havanatrends.cmm:2381/index.php/es/shop-products

And in spanish product detail page the language switch icon has links:

https://havanatrends.cmm:2381/index.php/es/shop-products/servicios/hospedaje-web-detail
https://havanatrends.cmm:2381/index.php/en/shop-products

shop-products is a Menu Virtuemart Category layout Top level category with language All, and works fine if I set Show featured products YES. The products are viewed in the proper language.

Note: All off the products are featured products.

Is this a bug?

I need to configure something else?. Change something?

I am using Joomla 3.9.22 com_virtuemart.3.8.4.10335 PHP 7.4.11 Apache 2.4.46

Thanks in advance,

Octavio.

octaviobh

I manage to solve this with a menu Virtuemart Products Details layout for every product !.

In my particular case till now I only have five products therefore I only need five menues, but this is not a general solution.

I make the suggestion that the Virtuemart development team should develop a new type of menu item that could handle any Product Detail, not only one and single Product Detail.

Thanks in advance,

Octavio.


jjk

Did you configure English and Spanish category menus with the language set to en and es and associated the menu items to the other language? And did you publish the Joomla language filter plugin? Also you should have one language switcher module for each language.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

octaviobh

Yes, I had done that, but still the product detail link does not change ok with language change. I am not the only one to report this. Please read http://forum.virtuemart.net/index.php?topic=141481.0

pinochico

Quoteshop-products is a Menu Virtuemart Category layout Top level category with language All

Pls check if you fix this admin setup error and created separatelly menu for every language
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

octaviobh

I have separated menues for every language. Still the problem. There is not a full guide to this in Virtuemart docs?

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products