View Product Page

Price rule – Category discount

The Category discount allows you to create a discount on one or more categories just in one rule. You can create multiple rules so they can be enabled one by one, or one rule with all category discounts so they can be enabled with one click.

To create a new rule, go to YITH > Dynamic Pricing > “Dynamic Rules dynamic rules page and click on the + Add rule” button.

category discount

Let’s see how to configure it.

category discount fist step

Active rule: Enable or disable the rule by using the toggle.

Priority: set the priority to assign to this rule. Priority is important to overwrite rules (1 is the highest priority).

You can also arrange the priority by dragging and dropping the rules from the rules list:

drag and drop

Rule type: it is set to your previous choice by default, but you can choose to change it here if you want to create a different rule type.

Set up products and conditions

Multiple rules for product categories

Set a category discount: choose the type of discount you want to apply to one or more categories.

You can add multiple rules and apply multiple discounts on different categories. This is handy if you want to enable the discounts all at once. Yet, should you need to activate them one by one, just create separate rules for each category.

Exclude products from this rule: enable if you want to exclude specific products from this rule and pick

  • Specific products
  • Specific product tags

Then choose whether to show or not the discount in loop, so on the Shop page and category and tag pages by enabling the option immediately below:

Show discount in loop

Discount displayed in loop

Restrictions by user and use role

Apply discount to: choose to apply the rule to all users or specific user roles. In the latter case, you can further exclude specific users from this rule.

Special offer by user or role

Schedule the rule

Schedule rule: choose whether to schedule the rule or activate/deactivate it manually

  • Enable the rule now and end it manually
  • Schedule a start and end time 

Schedule settings

Combine with other rules?

Combine with other rules

Disable rule ‘on-sale products’: enable this option if you want that the discount does not apply to ‘on-sale products’.

Disable other rules with lower priority: enable if you want to disable other rules with lower priority applied to the same products.

Disable when a coupon has been applied: enable if you want to disable this rule if the user has applied a coupon code.

Show custom messages

Finally, you can set up some additional notes on the products where the rule applies:

custom message shop discount

Add a custom message in products where the discount is applied: enter a custom text to show on the product pages when the discount applies.

Use the placeholder %required_items% to show products, categories, or tags that users must add to the cart to apply the discount rule to the product for which it has been created.

Please, note, this second box only appears if the Apply discount to a different product or category has been enabled.

Category discount on frontend

If the messages do not show up, make sure you enable “messages” on a global level from Settings > Product page settings. There you can also choose the position of these messages on the product page on a global level.