fbpx

Email addresses from a company are grouped under the same email domain and can be easily used to target a group of customers for multiple purposes. If you wish for example to apply a discount on all customers from a group or company, one of the best way to do it is to target their company email address domain.

In today’s article, you will learn how to create a discount on an order subtotal or a product price based on the customers email domain using Conditional Discounts for WooCommerce.

An email address is usually structured as pseudo@domain.com where domain.com is the domain name. It can be gmail, yahoo, hotmail or your company’s. Anybody that work in a company will have a professional email based on that company domain name.

This is a woocommerce bulk discount demo that will show you how to create a discount based on the customers email domain, follow the steps below:

  1. Click on Discounts > New discount to access the discount creation page.
  2. Then scroll down to the rules section and click on the Add rules group button to create a new set of rules.
  3. In the rules dropdown that will show up, select “If customer email domain” as discount condition.

    woocommerce discount email domain
  4. Then enter the domain name in the value field. If you want to apply the discount on multiple domains, you can add all of them, separated them by a comma.
  5. Select Percentage off product price or Percentage off order subtotal or any other action according to your needs.
  6. Select the other discount parameters and then save your discount.

The plugin will then check the customer’s email domain against the email of the logged-in customer and apply the discount if it matches any of the domains set in the discount rules.

This completes our woocommorce bulk discount demo tutorial on the creation of discounts based on the customers email domain using Conditional Discounts for WooCommerce. If you have any questions, use the comments section to ask.

Related

9 comments

  1. cmacachor

    Is this available only in the pro version? No mention of it in the comparison of free vs. pro. Just want to confirm before purchase.

    June 17, 2018 at 8:36 am
    Reply
  2. Peter Pazman

    This feature sounds great. You write “The plugin will then check the customer’s email domain against the email of the logged-in customer”. Is it possible to use an email based coupon for customers during their first order when they haven’t created an account yet?

    September 18, 2020 at 11:23 am
    Reply
    • Donald Faly

      Hi Peter,
      this is not possible at the moment but it should be able to be done by adding custom code that checks the customer’s email when he enters it on the checkout page

      September 21, 2020 at 9:46 pm
      Reply
      • Mark Gillespie

        I really need the ability to check a user’s email domain during the checkout process rather than after an account that’s been generated. Do you have the custom code I need to use? Otherwise, I’ll need to request a refund for the plugin.

        October 30, 2020 at 5:10 pm
        Reply
        • Donald Faly

          Hello Mark, please start a new live chat so that our technical service can help you.
          Thank you.

          November 2, 2020 at 6:18 am
          Reply
  3. Hilfan

    I need some product only available for specific customer email domain, is it possible with this plugin?

    October 26, 2020 at 7:24 am
    Reply
  4. Hilfan

    I need restriction to some product to only buy by specific customer email domain, is it possible with this plugin?

    October 26, 2020 at 7:26 am
    Reply
    • Donald Faly

      Hello, sorry no. the plugin allows you to define dynamic discounts based on customer email domain.

      October 30, 2020 at 3:04 am
      Reply

Leave a comment

Your email address will not be published. Required fields are marked *