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

Router conflicts between category and product.

Started by zanardi, September 03, 2016, 15:10:17 PM

Previous topic - Next topic

zanardi

Hello! This is Joomla 3.6.2 and VirtueMart 3.0.16.

The issue: if I have a category and a product with the same alias, any menu link pointing at the category gets redirected instead. This happens even with SEO option "Use product and category ID" enabled.

Any suggestion to fix this, or is it a known issue?

EXAMPLE

* I have a category with name "Car" and ID 13
* I have a product within this category with name "Car" and ID 1211
* Base shop menu item is "Shop"
* If I open page /shop/13/car I'd expect to see the category page, instead I see the product page

ADDITIONAL INFO

* In SEO options I only enabled "Use product and category ID".
* I tested already other options but no one seems to help.
* Confirmed on two different sites.

Thank you for your time.
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

jjk

Quote from: zanardi on September 03, 2016, 15:10:17 PM
* If I open page /shop/13/car I'd expect to see the category page, instead I see the product page

Hi again - long time no see here!  ;)
Just from reading what you wrote - I wonder why you would expect to see the category page, because /shop/13/car means /shop/category(13)/product(car) in your url.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

Please use the vm3.0.17.6, I think it has some fixes in this area.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/