by AMP-MODE
4.1 (9 reviews)
Subscriber Discounts for WooCommerce
Easily send mailing list subscribers a discount code for joining your list.
Tested up to WP 6.1.9 (Current: 6.8.2)
v1.5.2
Current Version v1.5.2
Updated 2 years ago
Last Update on 04 Apr, 2023
Synced 6 hours ago
Last Synced on
Rank
#10,902
—
No change
Active Installs
300+
—
No change
KW Avg Position
87
—
No change
Downloads
13.4K
—
Total downloads
Support Resolved
0%
—
No change
Rating
82%
Review 4.1 out of 5
4.1
(9 reviews)
Next Milestone 400
300+
400+
520
Ranks to Climb
-
Growth Needed
358
Current Installs
Need 42 more installs to reach 400+
Rank Changes
Current
#10,902
Change
Best
#
Active Installs Growth
Current
358+
Growth
Peak
358
Downloads Growth
Downloads
Growth
Peak
Reviews & Ratings
4.1
9 reviews
Overall
82%
5
7
(78%)
4
0
(0%)
3
0
(0%)
2
0
(0%)
1
2
(22%)
Tracked Keywords
Showing 1 of 1| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| activecampaign | 87 | — | Tag | 8 hours ago |
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.5.2
- Last Updated
- Apr 04, 2023
- Requires WP
- 2.9+
- Tested Up To
- 6.1.9
- PHP Version
- N/A
- Author
- AMP-MODE
Support & Rating
- Rating
- ★ ★ ★ ★ ☆ 4.1
- Reviews
- 9
- Support Threads
- 0
- Resolved
- 0%
Keywords
Frequently Asked Questions
Common questions about Subscriber Discounts for WooCommerce
The filter sdwoo_discount_code has been added to the plugin so that you can customize the discount code that is generated.
You can use this filter to customize the discount code however you want. The discount code that this plugin generates is the value that is passed to the filter. The filter also passes the subscriber's email address, which can be used in the discount code.
Here is an example of how the filter would be used. You would need to put this in your theme's functions.php file or in a custom plugin.
function example_custom_discount_code( $discount, $email_address ){
// Add your company name as a prefix to the discount code:
$new_code = 'MyCompanyName' . $discount;
return $new_code;
}
add_filter( 'sdwoo_discount_code', 'example_custom_discount_code', 10, 2 );
If using this filter, please be careful that it does not return the same discount code for each customer.
Are there any dependencies to use this plugin?
This plugin requires that you have WooCommerce installed, and that you have a MailChimp or ActiveCampaign account.
How do I use this plugin?
The plugin's settings menu is found under WooCommerce > Subscriber Discounts. You will need to fill out most fields in order for the plugin to work correctly.
MailChimp Key: This is a random string of letters and numbers that you need to enter in order to create a webhook in MailChimp. You can type anything you want here - it doesn't have to make sense. Something like e6uyUjSzNt9XTU51M1r5 is perfect. If this field is not filled in, your MailChimp subscribers won't receive a discount code. If you are not using MailChimp, leave this blank.
ActiveCampaign Key: This is a random string of letters and numbers that you need to enter in order to create a webhook in ActiveCampaign. You can type anything you want here - it doesn't have to make sense. Something like e6uyUjSzNt9XTU51M1r5 is perfect. If this field is not filled in, your ActiveCampaign subscribers won't receive a discount code. If you are not using ActiveCampaign, leave this blank.
Discount Name: Enter a label to identify discount codes in WooCommerce as having been generated by this plugin. For example, enter "Email subscriber discount". Regardless of what you enter here the subscriber's email address will be added to the end of the discount name.
Discount Amount: Enter how much the discount should be for. Do not enter any symbols like $ or % just the number (i.e. 20)
Discount Type: Enter the type of discount you are offering - either a percentage or a flat rate.
Use once per customer: If the discount should expire after it has been used check this box.
Max Uses: If you want to make the discount available to customers to use multiple times enter how many times here.
Email Subject: This is the subject line used in the email sent to your subscribers. Something like "Thanks for subscribing to Acme Co. Newsletter" would work.
From Email Address: Enter the address the discount code should be sent from. If you have a customer support or sales address, this would be a good email to enter. Try to make it an @yourdomain.com address, as some recipients may have trouble receiving from a GMail, Hotmail, Yahoo, etc. address.
From Display Name: Enter your name or the company name that the email should come from.
Customer Placeholder Name: Enter a generic greeting name if you are using the {firstname} placeholder tag provided. This will allow you to have a greeting to the customer if they do not enter a name in their signup.
Message: Enter the message your customers should receive in the email. Be sure to include the {code} placeholder tag, otherwise they will not receive the discount code.
You can use this filter to customize the discount code however you want. The discount code that this plugin generates is the value that is passed to the filter. The filter also passes the subscriber's email address, which can be used in the discount code.
Here is an example of how the filter would be used. You would need to put this in your theme's functions.php file or in a custom plugin.
function example_custom_discount_code( $discount, $email_address ){
// Add your company name as a prefix to the discount code:
$new_code = 'MyCompanyName' . $discount;
return $new_code;
}
add_filter( 'sdwoo_discount_code', 'example_custom_discount_code', 10, 2 );
If using this filter, please be careful that it does not return the same discount code for each customer.
Are there any dependencies to use this plugin?
This plugin requires that you have WooCommerce installed, and that you have a MailChimp or ActiveCampaign account.
How do I use this plugin?
The plugin's settings menu is found under WooCommerce > Subscriber Discounts. You will need to fill out most fields in order for the plugin to work correctly.
MailChimp Key: This is a random string of letters and numbers that you need to enter in order to create a webhook in MailChimp. You can type anything you want here - it doesn't have to make sense. Something like e6uyUjSzNt9XTU51M1r5 is perfect. If this field is not filled in, your MailChimp subscribers won't receive a discount code. If you are not using MailChimp, leave this blank.
ActiveCampaign Key: This is a random string of letters and numbers that you need to enter in order to create a webhook in ActiveCampaign. You can type anything you want here - it doesn't have to make sense. Something like e6uyUjSzNt9XTU51M1r5 is perfect. If this field is not filled in, your ActiveCampaign subscribers won't receive a discount code. If you are not using ActiveCampaign, leave this blank.
Discount Name: Enter a label to identify discount codes in WooCommerce as having been generated by this plugin. For example, enter "Email subscriber discount". Regardless of what you enter here the subscriber's email address will be added to the end of the discount name.
Discount Amount: Enter how much the discount should be for. Do not enter any symbols like $ or % just the number (i.e. 20)
Discount Type: Enter the type of discount you are offering - either a percentage or a flat rate.
Use once per customer: If the discount should expire after it has been used check this box.
Max Uses: If you want to make the discount available to customers to use multiple times enter how many times here.
Email Subject: This is the subject line used in the email sent to your subscribers. Something like "Thanks for subscribing to Acme Co. Newsletter" would work.
From Email Address: Enter the address the discount code should be sent from. If you have a customer support or sales address, this would be a good email to enter. Try to make it an @yourdomain.com address, as some recipients may have trouble receiving from a GMail, Hotmail, Yahoo, etc. address.
From Display Name: Enter your name or the company name that the email should come from.
Customer Placeholder Name: Enter a generic greeting name if you are using the {firstname} placeholder tag provided. This will allow you to have a greeting to the customer if they do not enter a name in their signup.
Message: Enter the message your customers should receive in the email. Be sure to include the {code} placeholder tag, otherwise they will not receive the discount code.
General steps:
Click Audience tab > All Contacts
Click Settings > Webhooks
Click create new webhook button
Paste your callback URL
Under "What type of updates should we send" check only Subscribes (uncheck all other boxes)
Under "Only send updates when a change is made..." keep all checked unless you only want to send a discount to a certain type of change.
Save
Your webhook callback URL should be http://yourdomain.com/?trigger-special-discount=true&discount-key=xxxxxxxxxxxx
Replace yourdomain.com with your actual website domain, and replace xxxxxxxxxxxx with the MailChimp Key entered in the plugin settings.
How do I set up webhooks in ActiveCampaign?
You can find the technical details on how to create a webhook through ActiveCampaign by clicking here.
General steps:
Click Automations tab
Click New Automation button
Click Start From Scratch
Click Subscribes
Select your list or leave as any list
Add Webhook as an action (paste your webhook URL)
Add End this automation as an action
Your webhook callback URL should be http://yourdomain.com/?trigger-special-discount=true&discount-key=xxxxxxxxxxxx
Replace yourdomain.com with your actual website domain, and replace xxxxxxxxxxxx with the ActiveCampaign Key entered in the plugin settings.
Click Audience tab > All Contacts
Click Settings > Webhooks
Click create new webhook button
Paste your callback URL
Under "What type of updates should we send" check only Subscribes (uncheck all other boxes)
Under "Only send updates when a change is made..." keep all checked unless you only want to send a discount to a certain type of change.
Save
Your webhook callback URL should be http://yourdomain.com/?trigger-special-discount=true&discount-key=xxxxxxxxxxxx
Replace yourdomain.com with your actual website domain, and replace xxxxxxxxxxxx with the MailChimp Key entered in the plugin settings.
How do I set up webhooks in ActiveCampaign?
You can find the technical details on how to create a webhook through ActiveCampaign by clicking here.
General steps:
Click Automations tab
Click New Automation button
Click Start From Scratch
Click Subscribes
Select your list or leave as any list
Add Webhook as an action (paste your webhook URL)
Add End this automation as an action
Your webhook callback URL should be http://yourdomain.com/?trigger-special-discount=true&discount-key=xxxxxxxxxxxx
Replace yourdomain.com with your actual website domain, and replace xxxxxxxxxxxx with the ActiveCampaign Key entered in the plugin settings.