Author Topic: "Notify Me" breaks in 2.0.8e if product detail assigned to a menu item  (Read 1582 times)

conurus

  • Beginner
  • *
  • Posts: 9
"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

Code: [Select]
if (!count($query)) return $segments;
to

Code: [Select]
return $segments;
The Notify Me URL in 2.0.8e is

Code: [Select]
http://<site>/<menu alias>/notify
which is wrong. After the above hack, it is changed to

Code: [Select]
http://<site>/<menu alias>?layout=notify