To create your first rule, go to WooCommerce > Pricepep > Product Pricing, click Add Rule, choose a method, pick the products, set the adjustment and click Save Changes. This page walks through three small setups: 10% off one category, showing that price in the shop, and 5% off the cart above $100.
How do I give 10% off one category?
- Go to WooCommerce > Pricepep > Product Pricing and click Add Rule.
- Set Method to Simple adjustment.
- In Note - Private, type something you'll recognise, such as "Hoodies 10% off". Only you see it.
- Optional: in Description - Public, type what customers may see, such as "Autumn sale: 10% off hoodies".
- Under Products, click Add Product, choose Product category, keep in list and select the category.
- Under Adjustment, choose Percentage discount and type
10. - Leave Conditions empty. The rule then says "Applies in all cases."
- Click Save Changes.
Now add a hoodie to the cart: a $40 hoodie costs $36.
How do I show the discounted price in the shop?
If you installed Pricepep 2.6.0 or later on a new site, it already does: new installs start with Change display prices in shop set to Change - Include simple adjustments, so shop, category and product pages show $40.00 $36.00. Stores that installed an earlier version keep their setting, which is Do not change (prices change in the cart only) unless someone changed it. To check or change it:
- Go to WooCommerce > Pricepep > Settings.
- Under Product Pricing, set Change display prices in shop to Change - Include simple adjustments.
- Keep Display regular price when discounting ticked to show the old price crossed out.
- Click Save Changes.
The setting has a cost: shop pages do more work, so keep it to what you need. More in prices shown vs charged.
How do I give 5% off orders over $100?
That is a cart discount: it appears as its own line in the cart totals, with no code to type.
- Go to WooCommerce > Pricepep > Cart Discounts and click Add Rule.
- In Title - Public, type "5% off orders over $100". Customers see this title in the cart, and a cart discount without a title isn't saved.
- Under Discount, choose Percentage discount and type
5. - Under Conditions, click Add Condition, choose Cart subtotal, select at least and type
100. - Click Save Changes.
A cart of $120 now shows a discount line of $6.
Why does only one rule apply when I add more?
Each tab has a Rule selection method above the rules. Its default is Apply first applicable rule: for each cart item (or for the cart, on the Cart Discounts and Checkout Fees tabs) only the first matching rule from the top is used. Choose Apply all applicable rules to combine them, and read how rules combine before you do.
How do I test my rules?
- Test as a customer would: a private browser window, or a test account with the right user role.
- If the shop uses a page cache, clear it after saving rules (see caching).
- If a discount doesn't appear, go through why a discount is not applied.
Where next?
- What is Pricepep? gives an overview of every feature.
- Product pricing rules explains every part of a rule.
- Conditions shows everything a rule can depend on.
- The examples cover common setups, such as wholesale prices by role.
Frequently asked questions
Why does only one of my rules apply?
The Rule selection method at the top of each tab is Apply first applicable rule by default. Choose Apply all applicable rules if rules should combine.
Why don't I see the discount on the product page?
Change display prices in shop on the Settings tab is probably set to Do not change, so prices change in the cart only. New installs start with Change - Include simple adjustments since 2.6.0; stores that installed an earlier version keep their setting. Set it to Change - Include simple adjustments to show discounted prices in the shop.