I want to add a pricerule to the total quantity of the selected variants in my Odoo webshop. For example, I sell t-shirts in different sizes. When ordering 1 tshirt it is €1, when ordering 10 it would be 9€. This would be my pricerule.
When I configure this in Odoo, it takes only the quantity per variant. So when someone orders 5 S tshirts and 5 M, they won't get the discount.
How can I ensure they have this discount applied on the total quantity of that product instead of the different variants.