VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: SniperSister on March 01, 2012, 18:42:38 PM

Title: Bugfix: Updating quantity in cart throws 404 when SEF is activated
Post by: SniperSister on March 01, 2012, 18:42:38 PM
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
Title: Re: Bugfix: Updating quantity in cart throws 404 when SEF is activated
Post by: SniperSister on March 02, 2012, 12:25:31 PM
Could please someone apply this one to the trunk?

Title: Re: Bugfix: Updating quantity in cart throws 404 when SEF is activated
Post by: Milbo on March 02, 2012, 13:22:47 PM
done
Title: Re: Bugfix: Updating quantity in cart throws 404 when SEF is activated
Post by: SniperSister on March 02, 2012, 13:28:54 PM
Dankeschön!