I've been stuck trying to apply a Drupal commerce coupon. Right now its applied on subtotal + shipping total. But I want to apply it on subtotal only and then want to add shipping total in final total of the commerce order.

Current Calculation Method:
Subtotal - coupon + shipping = total [We dont want this]
e.g. $9.89 - $10.00 + $5.00 = $4.89

Desired Calculation Method:
Subtotal - coupon = A << if A is less than 0 then make the subtotal of the cart $0
A + Shipping = total
e.g. $9.89 - $10.00 = $0.00 subtotal... then add $5.00 shipping for $5.00 total

Please help me on this.

Comments

sureshpotnuru’s picture

HI patil
you did not mention coupon version. I am using coupon 2.x it works fine same as Desired Calculation Method. It applied only on subtotal. When we subtracting discount from subtotal, it's value less than 0 then it will make subtotal value to 0. After that shipping cost will be added. I hope once try with commerce coupon 2.x. Thank you.

RahulRehan’s picture

Hi,
I want to apply coupon discount on subtotal not on line item ..
please suggest how to do this.
Thanks in advance

stephenevans’s picture

#2, me too... If i give $10 off for a $50 order and the subtotal is $42 but after taxes and shipping it is $53 the coupon still works when it shouldn't.

I am using 1.x-beta7