VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: seyi on August 02, 2014, 20:03:07 PM

Title: coupons not working in vm298a joomla333
Post by: seyi on August 02, 2014, 20:03:07 PM
Ok, so I have:
- joomla 3.3.3
- virtuemart 2.9.8a

2 issues:
I could not get coupons to work until I changed
$_db->getEscaped(

to
$_db->escape(

In file www/components/com_virtuemart/helpers/coupon.php


Second issued:
- I add a coupon to the cart
- it displays the discount and code correctly
- then I update the product quantity from 1 to 2
- the coupon code is still displayed but the discount amount has disappeared

How can this be resolved?

Thanks