The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The method for applying the discount to products. This argument accepts a collection of either
ProductVariantTarget
or CartLineTarget
, but not both.
CartLineTarget
)
A method for applying a discount to a specific line item in the cart. A cart line is an entry in the customer's cart that represents a single unit of a product variant. For example, if a customer adds two different sizes of the same t-shirt to their cart, then each size is represented as a separate cart line.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.
The target for a discount. A discount's collection of targets determines which cart line(s) will have the discount value applied.
A discount can have one or more ProductVariantTarget
s.
ProductVariantTarget
)
A method for applying a discount to a product variant. Product variants are the different versions of a product that can be purchased. For example, if a customer orders a t-shirt in a specific size and color, the t-shirt is a product variant. The discount can be applied to all product variants in the order, or to specific product variants that meet certain criteria.