News:

Support the VirtueMart project and become a member

Main Menu

Coupons slow to react

Started by seyi, July 01, 2015, 14:56:32 PM

Previous topic - Next topic

seyi

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();
?>

Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate