Page 1 of 1

URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 4:00 pm
by thecobe
Hi i have a coupon enabled and orders total too
these are properties
Type: percentage
Discount: 50
Total Amount: 1
Customer Login: no
Free Shipping: no
Category: empty (i've tried choosing categories too)
Products: empty
Date Start: 2016-01-01
Date End: 2022-01-01
Uses per Coupon: empty
Uses per Customer: empty
Status: Enable
Image

front end when i apply coupon code it recognizes code but values is always zero
Image

any suggestion?

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 4:37 pm
by thekrotek
It's not easy to say, what's wrong without looking into it. Default Coupons extension is quite limited and has some issues, but should work fine in most cases. Maybe something's breaking the process.

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 4:58 pm
by suraj_sella
thecobe wrote:
Wed Jan 24, 2018 4:00 pm
Hi i have a coupon enabled and orders total too
these are properties
Type: percentage
Discount: 50
Total Amount: 1
Customer Login: no
Free Shipping: no
Category: empty (i've tried choosing categories too)
Products: empty
Date Start: 2016-01-01
Date End: 2022-01-01
Uses per Coupon: empty
Uses per Customer: empty
Status: Enable
Image

front end when i apply coupon code it recognizes code but values is always zero
Image

any suggestion?
Check if the product price is not 0.

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 5:17 pm
by thecobe
Hi
price is 24,83€ as you can see in second image

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 5:31 pm
by suraj_sella
thecobe wrote:
Wed Jan 24, 2018 5:17 pm
Hi
price is 24,83€ as you can see in second image
Are you sure you have set the price of this product to a non-0 value from within the admin panel? And the sub-total being generated doesn't pull the price value from somewhere other than the product price?

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 7:10 pm
by Burt65
thecobe wrote:
Wed Jan 24, 2018 4:00 pm
Hi i have a coupon enabled and orders total too
these are properties
Type: percentage
Discount: 50
Total Amount: 1
Customer Login: no
Free Shipping: no
Category: empty (i've tried choosing categories too)
Products: empty
Date Start: 2016-01-01
Date End: 2022-01-01
Uses per Coupon: empty
Uses per Customer: empty
Status: Enable
Image

front end when i apply coupon code it recognizes code but values is always zero
Image

any suggestion?
Not sure it is the same problem but have a read at this

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 7:31 pm
by ADD Creative
Your totals need to be in the following order as coupon must be after sub-total.
Sub-Total
Coupon
Total

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 7:55 pm
by suraj_sella
ADD Creative wrote:
Wed Jan 24, 2018 7:31 pm
Your totals need to be in the following order as coupon must be after sub-total.
Sub-Total
Coupon
Total
On point.

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Wed Jan 24, 2018 9:23 pm
by thecobe
Great!
now it's working
I did not know that the sorting would affect the calc
thanks

Re: URGENT - Coupon in 2.0.3.1 not working value is always zero

Posted: Thu Jan 25, 2018 3:17 am
by thekrotek
ADD Creative wrote:
Wed Jan 24, 2018 7:31 pm
Your totals need to be in the following order as coupon must be after sub-total.
Sub-Total
Coupon
Total
This!