Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Conditional coupon code gives an error message
- This topic has 6 replies, 3 voices, and was last updated 9 years, 9 months ago by wzp.
-
AuthorPosts
-
January 7, 2015 at 3:18 pm #12034smooMember
Hi, I’m trying to set up a coupon for when someone buys 3 specific products from our site that cost £3.95 each.
3 x £3.95 = £11.85
but I want them to be able to pay just £10 if they buy three, saving them £1.85.
So:
-my Coupon code is ‘3Storyboxes’;
-my Discount value is 1.85
-and my Conditions are:
‘Total Amount’ ‘is equal to’ ‘11.85’
However, when I add 3 items to the cart that each cost £3.95, and the total says ‘£11.85’, applying that discount code gives me this message:
“Cart does not meet the minimum requirement for this coupon!”
This is the total amount I’m charging; there is no P&P as these are digital downloads, so I can’t see why this is failing.
I’ve seen this thread: https://support.tipsandtricks-hq.com/forums/topic/coupon-error-message-cart-does-not-meet-the-minimum-requirement-for-this-coupo where the member called ‘AuthorYourDreams’ apparently wants to do the same thing, but her problem isn’t solved there, so am opening another thread.
Thanks in advance for any advice you can give me.
-sam
January 7, 2015 at 11:06 pm #67842adminKeymasterInstead of using “equal to”, use “greater than” and a smaller number in the condition.
So for example, try something like the following:
Coupon code is ‘3Storyboxes’;
Discount value is 1.85
Conditions are:
‘Total Amount’ ‘is greater than’ ‘11.00’
February 12, 2015 at 1:15 pm #67843smooMemberHi,
thanks very much for the reply and my apologies for my late response. (Would be good if this system could email you when someone replies!)
So, that does work, however it’s also then possible to apply the discount to anything that adds up to above £11.00.
Is there any other way I can offer a discount for something that adds up to a specific amount in the cart?
Thanks again
February 12, 2015 at 1:27 pm #67844smooMember(and why is there an ‘is equal to’ option there if it doesn’t work?!)
February 12, 2015 at 1:43 pm #67845wzpModerator(Would be good if this system could email you when someone replies!)
At the top of this page, click the “Add this topic to your favorites” link.
and why is there an ‘is equal to’ option there if it doesn’t work?!
“Equal to” works best when comparing integer conditions; like quantities, item numbers or category ID numbers. When comparing currency amounts (floating numbers), rounding issues may prevent exact amounts from being detected.
February 12, 2015 at 2:08 pm #67846smooMemberFirstly, thanks very much for the swift response, and for the ‘Add this topic to your favorites’ pro-tip
Thanks also for explaining the rounding issue, which was also puzzling me. I noticed that instead of removing £1.85 from 3 items of £3.95 and leaving £10, it removed an equal amount from each product and so rounded it down to £9.99 instead.
I guess I’m just wanting it to do something it can’t do.
Back to the drawing board…
Thanks again for your help
February 12, 2015 at 2:28 pm #67847wzpModeratorThe discounts are equally distributed across all cart items, as a fraud prevention measure:
https://support.tipsandtricks-hq.com/forums/topic/10-off-coupon-over-total-amount#post-23204
-
AuthorPosts
- You must be logged in to reply to this topic.