Adding discounts based on selected conditions is nothing else than assigning a percentage or amount discount for a selected product category, for a specific product brand or for example a specific product attribute. These discounts do not apply to individual products but to whole groups of products consistent with each other by a specific defined feature. The set discount will be calculated from the initial price of a single product.
In the administration panel, in the left-hand menu select Sell, Catalog and Discounts. On the newly opened page, select the Catalog Price Rules and + new catalogue pricing rule tab.
First give your new rule a name and then you can set all conditions of the rule.
The available options are
Having the basic settings of the promotion, the next step is to define the conditions which the products must meet in order for the discount to be charged. Select + add a new condition group.
In the newly opened part of the panel you can set a category, brand, supplier, attributes and features.
To assign a discount to, for example, red t-shirts in the category field set the T-Shirts and red as an attribute. And click add a condition.