Discount rules are the core system of the Sales Campaigns plugin. To learn more about them, read the How it works documentation.
A rule works as follows : People have to meet a set of requirements. When they do, they get the discount set in the rule.
You can create and edit ruleset by going to this page :
WordPress Admin
Admin menu
Sales Campaigns
Menu entry
Rule Templates
When you create a new rule inside a ruleset, you first have to select a template. If you want to set the conditions and discounts manually, choose the Custom Rule option. Otherwise, here are the templates you can choose from :
- Products – Buy One Get One : Buy one specific product to get a second one for free
- Products – Cheapest product discount : Buy at least X products from a products list, the cheapest one gets a Y% discount
- Products – Quantity Discount : Add X copies of a product to the cart to get a discount for these products
- Products – Dependent Discount : Buy X products from a specific list, get a discount for Y products of another products list
- Category – Cheapest product is free : Buy at least X products from a list of categories, the cheapest one is free
- Category – Dependent Discount : Buy X products from a list of categories, get a discount for Y products on another list of categories
- Cart Total – Free product : When the cart subtotal becomes greater or equal to a given amount, customers get a free product.
- Cart Total – Percentage Discount : When the cart subtotal becomes greater or equal to a given amount, customers get a global percentage discount
- Cart Total – Fixed Amount Discount : When the cart subtotal becomes greater or equal to a given amount, customers get a global fixed amount discount
After selecting a template, click on the Add Rule button. You’ll see a popup appear. Fill it and validate to add the discount rule to your ruleset.
Discount Rules
When creating a discount rule, you must first set a list of requirements customers have to meet. Once they meet these requirements, they will get all the discounts set in the Discounts par of the rule. It means you can set one or more requirements as well as one or more discounts in a single rule.
Requirements
Before adding a requirement, make you to select an active rule. An active rule will get a dashed border around it.
You can select between multiple requirements :
- Products : Customers have to add specific products to the cart
- Categories : Customers have to add a set quantity of products from specific categories to the cart
- Cart Subtotal : Set a cart subtotal amount customers have to reach
- Coupons : Specific coupons must be in the cart
- Roles : Customers must have a specific user role
- WooRewards Points : Only work with the WooRewards plugin – Customers must have a set amount of points in the loyalty program
Click on a requirement to add it to the active rule. Then, fill the available fields that were added to the rule. Repeat the process as many times as necessary.
Discounts
After setting requirements, you can set up the discounts that customers will get when they meet the requirements.
Here is a list of the possibilities
- Fixed amount coupon : Applies a fixed amount discount coupon to the cart
- Percentage coupon : Applies a percentage discount coupon to the cart
- Free Shipping : Applies a free shipping coupon to the cart
- Add Product to Cart : Adds a product to the cart
Front End Display
This feature is under construction. Right now, you can add a label for the coupon in the cart or set a cart notice when a customer meets the requirements.
We’ll add new features soon.
Other options
Under your ruleset, you will find some other options:
- Coupon Labels : Default coupon label for this ruleset. This label can be overriden for each rule.
- Discount Removal Notice : Notice displayed in the cart when the requirements are not met anymore
- Enabled : Set this to On Test to restrict this rule to administrators. When Enabled, all customers can get access to it. However, if the ruleset is within a campaign, the campaign must also be active.
- Internal Name : For your use only, allows to track your rulesets more easily
- Campaign : Optional. You can attach your ruleset to a campaign if you want to limit in time.