Bugfix: Updating quantity in cart throws 404 when SEF is activated

Started by SniperSister, March 01, 2012, 18:42:38 PM

Previous topic - Next topic

SniperSister

Hi,

because of a missing JRoute::_ call in the "action"-attribute, the update-quantity function in cart doesn't work when SEF is enabled, so you'll have to modify the file /components/com_virtuemart/views/cart/tmpl/default_pricelist.php in line 150 from:
<td align="right" ><form action="/index.php" method="post" class="inline">
to
<td align="right" ><form action="<?php JRoute::_('index.php'); ?>" method="post" class="inline">

Best regards
Snipy

SniperSister


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/