News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Virtuemart product links differ from their Joomla menu item links

Started by Georgios Kolomvos, Yesterday at 19:27:54 PM

Previous topic - Next topic

Georgios Kolomvos

Testing Site: https://test1.endon-gnosis.gr/ 
- Joomla Version: 5.2.1 
- VirtueMart Version: 4.4.0 (with sample data) 
- VirtueMart Configuration / SEO Settings: (SEO Disabled = No), (SEF for cart links = Yes) 

I have created a Joomla menu item for each of the 3 products displayed on the homepage. These menu items are placed within the module named "Main Menu". 

However, the product links generated by VirtueMart on the homepage (category browse view) are different from the URLs of the Joomla menu items of those products. 

For example: 
- For the product "Cap Baseball", the link of the Joomla menu item is: 
  https://test1.endon-gnosis.gr/e-shop/cap-baseball/cap-baseball-detail 
- Meanwhile, the VirtueMart-generated link found in the category browse page is: 
  https://test1.endon-gnosis.gr/component/virtuemart/cap-baseball-detail 

The Problem: 
I have created a module named "TEST MODULE" (with a green background) that I want to display only on these 3 product pages. To achieve this, I assigned the module to the Joomla menu items of these products. 

The module appears only when accessing the products via their menu items in the Joomla Main Menu. However, it does not appear when clicking on the product links in the VirtueMart browse page (or in the cart page etc.). 

You can observe this behavior by clicking on the two different links for the product "Cap Baseball" mentioned above. 

This feature works perfectly on two other sites I have running VirtueMart 4.2.0. The first time I noticed this issue was after trying to update to VirtueMart 4.4.0. I hope the issue will be resolved soon. 
Georgios Kolomvos
Patras, Greece

ViPeS

Quote from: Jumbo! on Yesterday at 16:53:38 PMIn VirtueMart Configuration, under the SEO tab, turn on the "Use full category tree for product links" option.
VM 4.2.18 11050, Joomla 5.2.1, PHP 8.3.8

Georgios Kolomvos

Quote from: ViPeS on Yesterday at 21:04:28 PMIn VirtueMart Configuration, under the SEO tab, turn on the "Use full category tree for product links" option.
I have already tried that. With this setting the Virtuemart generated link for the product "Cap Baseball" changes from: https://test1.endon-gnosis.gr/component/virtuemart/cap-baseball-detail to https://test1.endon-gnosis.gr/cap-baseball-detail but it is still different to the Joomla menu item which is https://test1.endon-gnosis.gr/e-shop/cap-baseball/cap-baseball-detail
So the problem remains. I believe that there is a bug with the Virtuemart generated product links.
Georgios Kolomvos
Patras, Greece