Collection Based Rules in the Discount Rules for Checkout
The Collection-Based Rules feature of our Discount Rules for Checkout plugin allows you to group specific products and categories into a collection, making it easy to apply different condition-based discounts (e.g., by country or state).
In the article
1. How to configure the collection-based discount rules
To set up a collection-based discount, follow these general steps:
First, go to the Dotstore > Dynamic Pricing and Discount Rules > Manage Collections from your WordPress dashboard.
2. Add a new collection
- Click the "Add New" button to begin configuring a new collection rule.
- You’ll be redirected to the collection settings page, where you can define rule conditions.
- Make sure to give the collection a clear name to easily identify it later.
3. Configure collection settings
- Discount Rule Title: Enter the name of the Discount Collection (e.g., "Women's special").
- Set Conditional rule: Create a collection based on customer-specific details such as location, products, user roles, purchase history, or cart conditions.
- Apply the collection in a Discount Rules for checkout rule.
4. Save the discount collection settings
- Once all the settings are saved, click on the "Submit" button.
- The collection will now appear in the list of available collections.
- You can edit or delete the collection at any time from the collection management screen.
5. Apply the collection-based discount
- On the checkout page, if all the created rules are true, it will apply the discount.
- The discount will be automatically calculated and shown in the order summary.
- Customers will see the discounted total before completing the purchase.
Example - 1:
Let’s say you want to give a 15% discount on the Women’s Collection for customers from California.
- Create a collection named Women’s Collection with selected women’s clothing products.
- Set the rule to apply this discount only if the billing state = California.
- Front side: