How can we improve WooCommerce?

Smart Coupons - Additional Action or Filter

It would be great to have an action or filter within Smart Coupons to allow for the triggering an auto-generated coupon code email based on an event I choose.

The plugin currently only allows for this to happen via FollowUps (requires a store account) or on checkout if the coupon is associated to the product or category.

If we could have a option to use something like:

add_action( 'wc_smart_coupon_generate', 'my_generate_function' );

function my_generate_function( $email, $coupon ) {
// Code here
}

Giving us the ability to run this action where ever we please. For instance, on a newsletter sign up form, or for the 100th person to review a product.

3 votes
Vote
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...

WooCommerce: Extension - WooCommerce Smart Coupons

Feedback and Knowledge Base