Yes. In a product pricing rule, add Product category not in list under Products and select the category to leave out. Example: 15% off everything except gift cards: a $40.00 sweater costs $34.00, a $50.00 gift card stays $50.00.
How do I set it up?
- Go to WooCommerce > Pricepep > Product Pricing and click Add Rule.
- Set Method to Simple adjustment, and under Adjustment choose Percentage discount and type
15. - Under Products, click Add Product, choose Product category and not in list, and select Gift cards.
- Click Save Changes.
Subcategories of Gift cards are left out too. A product in Gift cards and another category is also left out, because one of its categories is listed.
Which way fits my case?
| Goal | How |
|---|---|
| One rule for everything except a category, with lower prices | Product category not in list under Products (this page) |
| A category that no product pricing rule may touch | Exclude products from all rules |
| A cart discount line for everything except a category | Percentage discount per cart item with Items: Product category not in list; see category discount in the cart |
Variations
- One category except one product: Product category in list Clothing plus Product not in list "Gift box". All product conditions must match.
- Except one subcategory: Product category in list Clothing plus Product category not in list Socks; see category discounts and subcategories.
- Except products already on sale: add Product is on sale no, or set Base price for products on sale to Exclude products already on sale on the Settings tab.
Frequently asked questions
Does not in list also leave out subcategories?
Yes. Selecting a category includes its subcategories, for in list and not in list alike.
Can I leave several categories out?
Yes. Select them all in the same Product category not in list condition; a product in any of them is left out.
How do I exclude a category from a cart discount?
Choose Percentage discount per cart item and set Items to Product category not in list. A plain Percentage discount is calculated on the whole cart.