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

"Notify Me" breaks in 2.0.8e if product detail assigned to a menu item

Started by conurus, July 25, 2012, 01:52:39 AM

Previous topic - Next topic

conurus

"Notify Me" breaks in 2.0.8e and bring back the front page IF the product involved has been assigned to a Joomla menu item, "VirtueMart ยป Product Details Layout"

I can hack around by modifying components/com_virtuemart/router.php, line 156, function virtuemartBuildRoute(&$query), switch case 'productdetails', change that line from

if (!count($query)) return $segments;

to

return $segments;

The Notify Me URL in 2.0.8e is

http://<site>/<menu alias>/notify

which is wrong. After the above hack, it is changed to

http://<site>/<menu alias>?layout=notify