VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: seyi on July 01, 2015, 14:56:32 PM

Title: Coupons slow to react
Post by: seyi on July 01, 2015, 14:56:32 PM
Hello,

I am seeing a change in vm 3.0.9.4 that seems to be adversely affecting coupons.  In the front end after entering the coupon, it does not show until I refresh the cart screen.  I did a file compare of 3.0.9 and 3.0.9.4 and found that this change affected it:
www/components/com_virtuemart/controllers/cart.php, line 82

<?php
$cart->prepareCartData(false);
?>



changing it back to this fixed the problem

<?php
$cart->prepareCartData();
?>