VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Fafranco on September 23, 2013, 19:15:44 PM

Title: Coupons add value instead of subtract
Post by: Fafranco on September 23, 2013, 19:15:44 PM
Hi to all,

I have a serious problem with Virtuemart 2.0.22d (+ joomla 2.5.14)
When I add a coupon on the cart, the coupon value is added instead of subtracted.

How can I do?

I'm not a programmer, can anyone solve this problem for me?

HELP!
Title: Re: Coupons add value instead of subtract
Post by: Milbo on September 23, 2013, 20:00:03 PM
Did you update? from which version?
Title: Re: Coupons add value instead of subtract
Post by: Fafranco on September 23, 2013, 20:17:29 PM
No, it's a new installation.
Title: Re: Coupons add value instead of subtract
Post by: seyi on September 30, 2013, 16:25:17 PM
Are you using a coupon extension?  If so, that could be the problem and you would need to update to the latest version.
Title: Re: Coupons add value instead of subtract
Post by: alexzien on November 19, 2013, 14:03:35 PM
I have this problem too.

I use Klarna Checkout (payment module). And when I add a coupon code that have -50% Klarna Checkout shows the correct amount, but Virtuemart adds 50% instead of subtracts. And if I change to 50% in settings for the coupon code then Virtuemart shows the correct amount but Klarna not.

How can I change so that Virtuemart not adds the 50% when the coupon is really -50%?
Title: Re: Coupons add value instead of subtract
Post by: alatak on November 20, 2013, 10:02:12 AM
Hello

QuoteI use Klarna Checkout (payment module). And when I add a coupon code that have -50% Klarna Checkout shows the correct amount, but Virtuemart adds 50% instead of subtracts. And if I change to 50% in settings for the coupon code then Virtuemart shows the correct amount but Klarna not.
I have tested with the klarna checkout, i do not have that discrepancy problems with the amount calculated by VM, and Klarna checkout.
I tried coupons withe positive and negative values.

If the coupon amount is positive, the coupon amount is deducted from the total,
If the coupon amount is negative, the coupon amount is added from the total,