Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Apply Coupon Discount to Total Amount
Tagged: discount coupon
- This topic has 15 replies, 6 voices, and was last updated 13 years, 9 months ago by wpCommerce.
-
AuthorPosts
-
March 28, 2010 at 4:21 am #985steveRMember
When I try to apply a discount to a total amount, it is applied to each product instead of subtracting from the grand total thus multiplying the discount by the number of items purchased. Any fix for this?
March 28, 2010 at 11:18 am #19172amin007Participant“multiplying the discount by the number of items purchased” – Can you explain this one a bit please?
Total Discount is equally divided and applied to individual products for a few different reasons:
1) The plugin verifies the price paid for each different product after the payment. A common hacking technique is to apply a discount on the total amount which makes it hard to verify how much was paid for the individual product.
2) PayPal requires the price of each item not just the total.
March 29, 2010 at 3:08 am #19173steveRMemberTo better explain my problem: we have a $50 gift certificate that we would like to be able to redeem online. I thought maybe a solution would be to create a discount code for $50 that wouldn’t be effective unless total amount was greater than that. It works perfectly unless more than one item is purchased. Then $50 is subtracted from every item.
From what I can get from what you’re saying, it seems like this solution will not work. Any ideas on how a gift certificate can be implemented?
Thanks for your time. I really like your plugin. Especially if I can figure this out…
March 29, 2010 at 11:46 pm #19174amin007ParticipantAh I see… it wasn’t designed for a “Gift Certificate” type usage so it doesn’t work for this situation. You could use a percentage (%) based discount rather than fixed amount which will yield a better result.
February 9, 2011 at 12:44 am #19175NettioMemberI know this thread is from 10 months ago but I am looking to do something similar. Have there been any improvements to this or are there any plans to add this feature in the future?
I would like to be able to offer a coupon for $10 off the total amount but right now it is taking $10 off each product in the cart. Is there any way to do this manually? Or to limit the total discount amount?
A percentage off coupon won’t work for me in this case as the whole point is that the customer doesn’t have to pay anything unless their cart amount is above $10. It’s essentially like a gift certificate but I don’t need it to be able to track if they still have money left – it would only need to be a one time use kind of thing.
February 9, 2011 at 5:03 am #19176amin007ParticipantYou can use the conditional coupon to apply a fixed amount discount on the total.
Total Amount -> Is grater than -> something
The amount will still be distributed between the items because the cart actually submits the individual item amount to PayPal (not just the total). So the item amounts need to be updated to reflect the discount.
FYI – PayPal won’t allow you to do a $0 checkout. So just note that if the buyer purchases something that is less than $10 and the coupon makes it $0 doesn’t mean that PayPal will let this transaction go through. For $0 checkout you can use the “Manual Checkout” option of eStore.
February 11, 2011 at 1:20 am #19177NettioMemberThanks so much! That worked perfectly.
I do have a question about the Manual Checkout though. If the amount is $0, the cart will automatically redirect to the manual checkout, which is great. But if the amount ends up being a negative number (which happens if the product purchased is less than the $10 off), the cart doesn’t redirect anymore. Is there a way to make it redirect for a value that is zero or less? Right now it sends me to a Paypal error page instead.
February 11, 2011 at 6:37 am #19178amin007ParticipantUpdated the plugin… get a new build from here and that should work:
February 11, 2011 at 10:49 pm #19179NettioMemberOh, thank you so much! I updated the plugin and it now directs to the manual checkout.
But now I’m having issues with the Redemption Limit. I have the limit set to 1 which I thought would mean it would be one-time use only but it’s allowed me to redeem that coupon multiple times. Am I just misunderstanding the Redemption Limit feature? In the Manage Coupons section it’s actually showing the Redemption Limit is 1 but Redemption Count is 2? And when I look at that coupon use in the Manage Customers section, there are 5 transactions all using that coupon. These have all best test transactions so it’s not a huge deal but I do want to make sure I have this all set up right before actual people start shopping.
Thanks so much for your help. I really appreciate it!
February 12, 2011 at 4:37 am #19180amin007ParticipantI have a feeling that you didn’t do a deactivate and reactivate when you upgraded the plugin and the coupons database structure is out of sync. So after the purchase the coupons table is not getting updated with the usage info.
February 14, 2011 at 4:40 pm #19181NettioMemberHmm, I’m pretty sure I did. I followed the directions from here: http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-installation-and-usage-guide-31. Deactivated the plugin, uploaded via FTP and then reactivated it. Is there a way I can reset it? If I have to do a fresh install that’s fine. I just really need to get this figured out today since tomorrow the shop is supposed to go live and I want to make sure everything is ready and working.
February 15, 2011 at 11:44 am #19182wpCommerceModeratorPlease delete plugin and do a fresh install. Let me know how it goes.
February 15, 2011 at 4:23 pm #19183NettioMemberOk I deactivated, deleted, reinstalled and activated the plugin and that didn’t fix anything. It’s still allowing me to redeem a coupon for more times than the redemption limit. Do I need to reset the database tables? And if I do what will happen? Would I have to re-input everything (all the products, coupons, etc?) Any help is much appreciated as I need to get this fixed asap. Thanks!
February 16, 2011 at 12:56 am #19184IvyMemberPlease run a test transaction with the debug turned on as this will give us a better idea of what is happening.
The following forum post will explain when and how to use the debug:
If you need help reading the debug log feel free to post it and we will take a look at it.
February 18, 2011 at 8:57 pm #19185kimpomaresMemberI am having the same problem as Nettio. Using manual checkout, I can redeem a one-time coupon as many times as I want. All the debug logs say SUCCESS in every step. Using eStore version 3.0.5
-
AuthorPosts
- You must be logged in to reply to this topic.