Mobile App Refresh Campaign [Banner] 2024

Product Icon

AutomateWoo

by  Woo
Powerful marketing automation for WooCommerce. AutomateWoo has the tools you need to grow your store and make more money.

Code to manually apply an Email restriction on a coupon in woocommerce

When generate coupon automatically by automated workflow, can it be also fetch the customer email to that coupon that generated randomly for that customer? so that the coupon only valid for that customer

Author

blueskynee

Current Status

Open

Last updated: September 8, 2020

3 comments

Log in to comment on this feature request.

  1. Yen Nee Tan says:

    Dan Bitzer: One more quick check, if it’s possible to enable all coupon generated by a workflow for this "Check this box if the coupon cannot be used in conjunction with other coupons."?

  2. Yen Nee Tan says:

    Dan Bitzer: Cool! Thanks for the help!

  3. Dan Bitzer says:

    Yen Nee Tan thanks for the suggestion. You can enable email restriction on all coupons that are generated by a workflow with the following code snippet: https://gist.github.com/danielbitzer/4083d41350e6f74e19880ee6339c7b8a