
The gift card is applied only to products that meet the conditions defined in the product conditions tree. The discount is distributed evenly (proportionally to the price of the items). If the cart contains a product that does not meet the conditions in the tree, it is charged at full price, regardless of whether a gift card has been applied.