Is there any way to set up a coupon code in WooCommerce so that a usage is counted for each line item in the order?
Example process:
And another:
As it is, I can't see any core way to do this, or any third party extension that would allow it.
WooCommerce Auto Added Coupons plugin allows users to create a coupon code in WooCommerce and then automatically apply it to the cart. This option is provided to the user in the coupons tabs of WooCommerce in the dashboard. The admin just needs to check a simple checkbox to apply the discount coupon automatically.
Agreed with Richard Green that you'll have to do your own custom code for this unfortunately. It looks like native woocommerce doesn't even have user specific coupons.
For that aspect of your problem there are plugins you could buy if you're willing to spend some money. For example:
http://ignitewoo.com/woocommerce-extensions-plugins/woocommerce-gift-certificates-pro/ or a plugin from woothemes called smart coupons(I can only post 1 link)
You could then write custom code to hook into those.
You will need to create your own custom discount type and logic: http://docs.woothemes.com/wc-apidocs/class-WC_Coupon.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With