All Collections
Discount Rules for WooCommerce
Condition Based Discount
Discount based on Specific Customers/ Logged in Users
Discount based on Specific Customers/ Logged in Users

Learn how to utilize the Discount Rules for WooCommerce plugin to provide exclusive offers for logged-in customers or specific users.

Ramesh avatar
Written by Ramesh
Updated over a week ago

Introduction:

Discount based on specific customers or logged-in users provided by the Discount Rules for WooCommerce plugin, involves offering exclusive discounts or promotional offers to certain individuals, such as being registered users or logged into their accounts.

For example: Offering a 10% discount on all products exclusively for two specific users in your store or Providing a 5% discount only for customers who are logged into their accounts.

This approach aims to personalize the shopping experience, boost customer engagement, enhance satisfaction, foster loyalty, and drive repeat purchases.

Note: All these conditions will be in Rules(optional). You can select your desired condition and set the rules.

Example scenarios:

  • Provide a 5% storewide discount only for logged-in users.

  • Offer a Free product exclusively for two users in your store.

  • Give a 20% discount on “Electronics” category from the whole cart for logged-in users.

To create rules with “Users” or “Is logged in” 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: Provide a 5% storewide discount only for logged-in users

In this example, if customers are logged in to your store, they will receive a storewide discount of 5% on all products.

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”

Then configure the discount rule as seen in the below screenshot:

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 5% percentage discount. You also have options to choose Fixed discount or Fixed price per item

  • Include “Is logged in” as additional condition and set the customer log in status as “Yes”

  • Click on “SAVE” once we have successfully created the rule.

Customers who are logged in to your store while making purchases will now receive a 5% discount on all products in their order.

Screenshot of cart page showing 5% off applied while customer logged in:

Example 2: Offer a Free product exclusively for two users in your store

In this scenario, two specific users or customers will receive an exclusive free product "Bag," with their purchase.

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 “Buy X get Y”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

Step 1: Choose "All Products" (storewide) from the filter options (buy X section). 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.

Step 2: Choose “Buy X get Y - Products” in the Discount/ Get Y section. You also have other options like “Buy X Get Y - All” or “Buy X Get Y - Categories” depending on your requirement.

Step 3: Choose how to count the quantities as -> Filter set above (count all quantities in cart as together. For example, if a customer buys 2 of Product A and 3 of Product B, our plugin count 5 products as together)

Step 4: Select the mode of application as

  • Autoadd

  • Set minimum quantity as 1, leave maximum quantity section as empty and set free quantity as 1

  • Choose the discount type as FREE (you can also set Percentage or Fixed Discount) and

Step 5: Add additional conditions as “User” and inlist the specific users by typing a few characters of username.

Step 6: Save the rule.

Now, for those specific two users or customers, the product "Bag" will be automatically added to their cart as a free item.

Screenshot showing free product “Bag” auto added at cart while logging in as specific user “sangee” :

Example 3: Give a 20% discount on “Electronics” category from the whole cart for logged-in users

In this scenario, if users are logged in to the store, they will receive a 20% discount on the "Electronics" category from 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 “Product Adjustment”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

  • Choose "Category” as filter from the filter options since in this example, we are offering 20% off on the specific category “Electronics” for logged in customers.

  • In-list the category “Electronics” by typing a few characters of that category.

  • Set the discount type to a 20% 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 “Is logged in” as additional condition and set the customer log in status as “Yes”

  • Click on “SAVE” once we have successfully created the rule.

Customers who are logged in to your store while making a purchase in the “Electronics” category will now receive a 20% discount on their cart.

Screenshot of cart page showing 20% off applied for Electronics category while customer logged in:

The above discussed scenarios requires PRO

Note:

  • The discounts will be applied only when the specific customer has logged in.

Next Steps:

You may also want to check out these helpful guides:

Refer this video to know more about Shipping Address based conditional scenarios:

Still unclear?

If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)

Did this answer your question?