Introduction:
Discount based on Email TLD and Email domain, using the Discount Rules for WooCommerce plugin, involves offering targeted discounts or offers to customers based on the domain extension or domain name in their email addresses.
For instance, provide a 20% discount to customers with a ".edu" TLD or a 15% discount to those with a "gmail.com" email domain.
It allows businesses to provide exclusive discounts to specific groups of customers or organizations.
Example scenarios:
10% off from the whole cart for customers with "org" email TLD.
10% storewide for customers with "gmail.com" email domain.
Free shipping for customers with "edu" email TLD.
To create rules with Email conditions, you need to have the Discount Rules PRO plugin installed and activated. Purchase the PRO version by clicking on the button below.
Now, let's explore each example scenario in detail.
Example 1: 10% off from the whole cart for customers with "org" email TLD
In this example, customers whose email addresses have the (TLD) "org" will receive a 10% discount on their entire cart.
To create this rule, follow these steps
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Select the discount types as “Cart Adjustment”
Then configure the discount rule according to the screenshot provided below:
Details of configurations are:
Choose "All Products" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.
Set the discount type to a 10% percentage discount. You also have options to choose Fixed discount or Fixed discount per product
Give a discount label/ coupon name for this discount
Include “Email” as additional condition, choose TLD as how customers Email ID should be and set the value as “org”
Click on “SAVE” once we have successfully created the rule.
Customers whose billing email ID contains the TLD “org” will get 10% off from their whole cart.
Screenshot showing 10% off applied at checkout while customer’s email ID contains the TLD “org” :
Example 2: 10% storewide for customers with "gmail.com" email domain
In this scenario, customers who have email addresses with the domain "gmail.com" will be eligible for a 10% discount on all items available in the store.
To create this rule, follow these steps
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Select the discount types as “Product Adjustment”
Configure the discount rule according to the screenshot provided below:
Details of configurations are:
Choose "All Products" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.
Set the discount type to a 10% percentage discount. You also have options to choose Fixed discount or Fixed discount per product
Include “Email” as an additional condition, choose Domain as how customers email ID should be and set the value as “gmail.com” for example.
Click on “SAVE” once we have successfully created the rule.
Customers whose billing email ID contains the domain "gmail.com" will get 10% off on all items available in the store.
Screenshot showing 10% off applied at checkout while customer’s email ID contains the domain “gmail.com” :
Example 3: Free shipping for customers with "edu" email TLD
In this example, customers with email addresses ending in the "edu" top-level domain (TLD) will receive free shipping on their orders.
To create this rule, follow these steps
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Select the discount types as “Free Shipping”
Configure the discount rule according to the screenshot provided below:
Details of configurations are:
Give a title for this rule and click on the “Add condition” button
Select the “Email” as additional condition and choose TLD as how customers email ID should be and set the value as “edu”
Click on “SAVE” once we have successfully created the rule.
Customers whose billing email ID contains the TLD “edu” will get Free Shipping on their orders.
Screenshot showing Free Shipping applied at checkout while customer’s email ID contains the TLD “edu” :
The above discussed discount scenarios require a PRO version.
Note:
1. Discounts based on Email (TLD/ Domain) will be verified and applied exclusively during the checkout process.
2. When configuring conditions based on Email, you can select "Yes" for "Refresh order review in checkout" in our settings tab.
Since the email information is updated during checkout, discounts will be applied based on the details. When the "Refresh order review in checkout" option is set to "Yes," the checkout process will be refreshed after adding email ID, and discounts will be automatically updated.
3. If you are trying to add two or more email domains, you can separate each domain with a comma "," in the rule setup.
4. If you want to offer a discount exclusively to certain email addresses or specific users, checkout this document which explains how to implement a discount specifically for Users/ Email ID.
Next Steps:
You may also want to check out these helpful guides:
Refer this video to know more about offering discount based on Email TLD and Email domains :
Still unclear?
If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)