There will be situations when you want apply the dynamic pricing discounts after the customer enters a valid coupon code.
WooCommerce Discount Rules normally apply the matching discount rules automatically. Most of the store owners would prefer to offer the dynamic discount rules this way.
But there will be situations when you wanted to provide a specific coupon to the customers and tie one or more rules to the coupon
This guide will walk you through on the process of making a coupon and associating it with a dynamic price rule.
There are two types of discount rules that could be activated with a coupon
a. Product price based dynamic discount
b. Cart based dynamic discount
A. Product Price Based Discount - Activates with a coupon code
- Create a coupon code
Let's first create a coupon code with a 0 discount. Since the plugin will dynamically apply the discount amount, the coupon code should be created a with a 0 discount. Otherwise, customer would end up getting more discount!
Go to WooCommerce -> Coupons -> Create a coupon
See the below screenshot
Step 1: Creating a coupon
2. Create a discount rule
Now, go to the WooCommerce -> Woo Discount Rules -> Price rules tab.
Create a dynamic discount rule that gives a 10% discount on all products when a coupon code "SUMMER" is applied.
Notice the condition where we enforce the application of at least any one of the coupon.
And notice that we entered the coupon code name exactly as we created in the previous step.
When the customer enters the coupon code "SUMMER", he would get a 10% discount on all products he purchases.
Here is a screenshot showing the cart page
B. Cart based discount rule - Activate with a coupon
Well, the above example is based on the product price based rule. Now, let us see how to do this with a cart based rule.
Sometimes, you wanted to provide a discount like: "Buy more than 4 quantities from Apparel category and apply a coupon "SUMMER" and get 15 % discount."
Step 1: Create a coupon code with 0 value
Go to WooCommerce -> Coupons and create a coupon code with the name "SUMMER"
Step 2: Create a cart based discount rule in Woo Discount Rules plugin
Go to WooCommerce -> Woo Discount Rules -> Cart based rule tab
Create a discount rule like in the example below
NOTE: You can add other conditions as well. Like Subtotal at least. The rule will apply when the conditions you have set meets.
This would apply a 15% discount when customer purchases at least 4 quantities from the Apparel category and then applies a coupon code "SUMMER"
Here is how it looks at the storefront -> cart
When you are creating Product discount, with a Coupon code with our Discount plugin check for this settings is set to No.
Woo Discount Rules -> Settings -> Disable the rules while have coupon(Third party) in cart --> No.
Looking to have a discount rule like this in your WooCommerce online store ? Buy the WooCommerce Discount Rules PRO plugin now and start offering dynamic discount rules in your online store