My Courses > ConfigureWoo > Module 11 > Lesson 01: The Ultimate Guide to WooCommerce Coupons
The Ultimate Guide to WooCommerce Coupons
Video
Please note: English captions are enabled by default (click on “CC” in the video player to disable). Also, you can click on the “gear” icon to manage quality and playback speed. Enjoy!
Please note: since August 2020, the WooCommerce > Coupons dashboard section has been moved to Marketing > Coupons inside the WordPress admin. Other than that, the video below is still valid as no settings were changed.
If you joined already, please log in.
Otherwise, here is why you should join the Club.
Documentation & Tutorials
Here are additional articles you can study if you wish to improve your knowledge around this topic. Enjoy!
Customization Snippets & Tutorials
Here’s a collection of snippets and tutorials you can use if you wish to further customize these WooCommerce settings. I recommend to enroll in CustomizeWoo online course first so that you can become familiar with PHP and CSS coding.
- WooCommerce: Move / Remove Coupon Form @ Cart & Checkout
- WooCommerce: Display Cart Item Subtotal With Coupon Discount
- WooCommerce: Slashed Cart Subtotal if Coupon @ Cart
- WooCommerce: Edit “Have a Coupon?” Message @ Cart & Checkout
- WooCommerce: Apply Coupon Programmatically if Product @ Cart
- How do You Sell Gift Cards / Vouchers in WooCommerce?
Hi,
It seems that the discount will be applied (evenly distributed) to the order line despite a fixed basket discount being used. Is there a settings that will disable that behaviour? I would like that the coupon be applied only at the total amount of the order instead of on the order lines level.
Another issue that I have is that the value set in the coupon settings and the amount when the coupon is used is different.
Thanks!
Regards
Ken
Thanks for your comment, Ken! Are you able to send me a screenshot to describe what your issue is? Where do you see that the discount is being applied to each single product as opposed to the order total?
Thanks for your reply, Rodolfo!
I am seeing it in the order summary under woocommerce->orders. Below are the screenshot as requested.
Order Summary:
https://paste.pics/cd97010106129989f1e4eb6fbf0e1279
Coupon being Fixed basket discount
https://paste.pics/7da28b54ca480b1bd986fe2d65fff648
Thanks!
Ah that helps thank you. I don’t think this is easy to disable, so let me ask you one thing: what is the actual problem with that? Your store admins get confused by that? Because your customers won’t see that (I believe). I’m basically trying to understand what your actual problem is, because based on the screenshot, even if it’s evenly split between order items, the total discount is 12.50 + 12.50 = 25.00 which is correct. Let me know!
Thank for your quick reply.
The problem is I am intergrating the shop with dynamics and I would like to send the original price and the discount in a seperated field if the discount is on the cart and not on the order lines level.
Thanks!
I took a look at the plugin code, and the apply_coupon_fixed_cart() function triggers the apply_coupon_fixed_product() for each discountable item, so your request would require a complete overhaul of how the coupons work when a WooCommerce order is placed. It’s totally possible, but a lot of code is required to override this default behavior.