I can apply 2 discount in 2 differents products, I apply these discounts based on products attributes. Follow the print below.
But I want to apply discount if the product has attribute “_x” for exemple, it works partially but if I apply the discount to the product that has this attribute and I add the same product without this attribute on cart the discount will be added to the product without attribute too (if I only add to cart the product without the attribute, discount is not applied).
I think it might be because the target for discount can be only productVariant, so the discount is added to this variant id, not the line id. That’s why the discount is applied to all products that has the same variant id, but not same attribute I guess (sorry for my english, I hope you understand it).
