News:

Support the VirtueMart project and become a member

Main Menu

URL: right item.....wrong category in url, Why?

Started by delroyp, December 27, 2011, 01:12:50 AM

Previous topic - Next topic

delroyp

whenever i click on one of the item i'm selling  lets say: Apples

the URL should read : directpv.com/green/apples
the URL should not read:directpv.com/mango/apples

why is it picking up a category that have nothing to do with the item I'm clicking on..whats causing that?

Studio 42

the sef router do the follow.
find the categorie you have set in the product description.
look if this are set in joomla menu.
If it's set in joomla menu use the alias from the menu.
If not : search for virtuemart home page in the menu.
If this exist : add the virtuemart alias and the category alias

Look if yhe beginning(mango here) is not your root of virtuemart.
If you want only "green" then you must add a link to your category with alias  "green" in joomla menu's.

It work so to always get the right menu ID to manage jommla module display ....