This guide will help you understand how to create cart based discounts using the Discount Rules plugin for WooCommerce.
Cart discounts are primarily applied on the cart. Example: Spend $100, get a 10% discount. You can also apply discounts based on items in the cart, subtotal ranges and more.
When a customer's cart meets the required conditions, the plugin will automatically apply the discount.
Example scenarios:
10% discount on your whole cart.
Get a fixed cart discount of $50.
Spend $100 and save 10%
10% discount on products from selected categories
10% discount for a specific user role
Let’s use an example and see how you can create a cart based discount rule
Note: To use some of the features shown in the examples, you must have the PRO version of the Discount Rules plugin installed and activated.
Want even more advanced features? Upgrade to the PRO version by purchasing it here.
Great! Let's create your first cart discount today!
Example 1 : Add any product to your cart and get a 10% discount on your entire order.
The following is a simple example of how you can use the Discount Rules PRO plugin to offer a 10% discount to the entire cart.
Creating a Discount Rule:
Go to Your WordPress dashboard -> Woocommerce -> Discount Rules -> click on the button “Add New Rule”.
Choose the “Cart Adjustment” as the discount type.
Then configure the discount rule as seen in the following screenshot:
Here is how to do it:
Give your rule a name that is easy to remember and identify.
From the "Discount Type" drop-down menu, select "Cart Adjustment."
Choose "All Products" (store-wide) 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 (Choose your filters).
Set the discount type to a 10% percentage discount.
Click on “SAVE” once we have successfully created the rule.
Now, let’s see how the above rule works.
When a customer adds a product to their cart, the discount rule is automatically applied as a coupon, giving them a 10% discount on their entire cart.
Since this is a cart adjustment, the discounts are displayed as coupons at cart and checkout (Just like woocommerce coupon), however it will not show the discount on product pages or items.
The following screenshot shows how the discount is applied on the cart page:
Example 2 : Add any product to the cart and get a $50 fixed discount on the entire cart.
In this example, we will create a rule that provides a $50 fixed discount on the entire cart. When a customer adds a product to their cart, the discount is automatically applied.
Creating the Discount Rule
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Choose the “Cart Adjustment” as the discount type.
Then configure the discount rule as seen in the following screenshot:
Here is how you do it:
Give your rule a name that is simple to remember and identify.
From the "Discount Type" drop-down menu, select "Cart Adjustment."
Choose "All Products" (store-wide) 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 (Choose your filters).
Set the discount type to a fixed discount $50.
Click on “SAVE” once we have successfully created the rule.
Let's take a look at how the the above rule works.
When a customer adds a product to their cart, the discount rule is automatically applied as a coupon, giving them a $50 fixed discount on their purchase.
As this is a cart adjustment, the discounts appear as coupons at the cart and checkout (Just like woocommerce coupon).
The screenshot below shows how the discount is applied on the cart page:
Example 3 : When your cart subtotal reaches $100, you will receive a 10% discount.
The following is a simple example of how you can use the Discount Rules PRO plugin to offer a 10% discount when a cart subtotal reaches $100. This can be achieved by including additional conditions in the rule setup.
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Select "Cart Adjustment" as the discount type and add subtotal conditions as an additional option.
Then configure the discount rule as seen in the following screenshot:
Here is how you do it:
Give your rule a name that is simple to remember and identify.
From the "Discount Type" drop-down menu, select "Cart Adjustment."
Choose "All Products" (store-wide) 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 (Choose your filters).
Set the discount type to a 10% percentage discount.
Add the condition "Subtotal" and set the range to greater than or equal to $100.
Click on “SAVE” once we have successfully created the rule
Now, let’s see how the above rule works.
When a customer adds a product to their cart and the total product sum exceeds $100, they receive a 10% discount on their cart subtotal.
The discount is applied on the cart page as shown in the following screenshot:
Frequently Asked scenario:
Example 1: 10% off of products in certain categories
If a customer purchases any product from category A, only that product will receive a 10% discount.
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button.
Then configure the discount rule as seen in the following screenshot:
Here's how you do it:
Give your rule a name that's easy to remember and identify.
From the "Discount Type" drop-down menu, select "Cart Adjustment."
Choose "Category" from the filter options. You also have options like specific Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement (Choose your filters).
Set the discount type to a 10% percentage discount.
Click on “SAVE” once we have successfully created the rule
Let us now check how the the above rule works.
When a customer adds a product from the specified category to their cart, the discount rule is automatically applied as a coupon, providing them with a 10% discount on that specific category only.
The screenshot below shows how the discount is applied on the cart page:
Example 2: You can easily limit the discount to a specific user role.
Let's look at how you can use the Discount Rules PRO plugin to provide a 10% discount for a specific user role.
Creating a Discount Rule:
Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button
Select "cart Adjustment" as the discount type, and then add the "User role" condition section as an extra.
Then, as shown in the screenshot below, configure the discount rule:
Here's how you do it:
Give your rule a name that is simple to remember and identify.
From the "Discount Type" drop-down menu, select "Cart Adjustment."
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 (Choose your filters).
Set the discount type to a 10% percentage discount.
Add the condition “User role” and select the users.
Click on “SAVE” once we have successfully created the rule
Therefore, the discounts will be applied only when the specific customer has logged in and giving them a 10% discount on their entire cart. (To more about user role)
Note: Condition sections are completely optional; only use them when necessary.
Some of the examples discussed here will require Discount Rules PRO.
Upgrade to Discount Rules PRO and increase sales with better discounts.
Next Steps:
You may also want to check out these helpful guides:
Take a look at this video tutorial to get an overview of the Cart adjustment discount type!
Still unclear?
If you still have any questions or doubts, please don't hesitate to contact us with a support request for more clarification. We're always happy to help!