Hello
J 3.4.1 VM 3.0.8
On category page when i sort after manufacturer it gets me an url like this
sitename/manufacturer/manf-name/category-name/subcategory-name
Can be chenge the order to be like this?
sitename/category-name/subcategory-name/manf-name
or
sitename/category-name/manf-name
I know i must edit the router.php but i am afraid to broke something.
Thank you
Hi,
You cannot change it because in category the route is set by :
if ( isset($query['virtuemart_manufacturer_id']) ) {
$segments[] = $helper->lang('manufacturer').'/'.$helper->getManufacturerName($query['virtuemart_manufacturer_id']) ;
unset($query['virtuemart_manufacturer_id']);
}
If you change this then you can have some over problems.
If you don't know how this work then dont touch it. You have many views to control in router not only the manfacturer.
Greets,
Patrick
Thank you ...i dont know to change the router code thats why i posted here.
And is not a chance to change the order?
Milbo said he wan't make a new super router. perhaps when this is done... But don't expect this come in the next days.
I have another problems with urls....
When i create a product with childs and go to detailpage i select one of the child ....the url change but the page is not.Do you know why?
Hi,
If you use a template overiding the productdetails page then this can come from here.
Try with the default Joomla template. If this work, then contact the temmplate support.
Patrick
I try with joomlas templates beez and protostar and i have no overrides
Some other have reported the bug, this is in virtuemart core.
You can try to disable the ajax feature in config, i think this get fixed in a new release. But i'm not core developper and don't know when.
SOLVED
It works when i disable the ajax for product .