Discount Combines With
Requires Apps must have access scope.
The discount classes that you can use in combination with Shopify discount types.
Anchor to FieldsFields
- orderDiscounts (Boolean!)
- productDiscounts (Boolean!)
- productDiscountsWithTagsOnSameCartLine ([String!])
- shippingDiscounts (Boolean!)
- Anchor to orderDiscountsorder•Boolean!
Discounts non-null Whether the discount combines with the order discount class.
- Anchor to productDiscountsproduct•Boolean!
Discounts non-null Whether the discount combines with the product discount class.
- Anchor to productDiscountsWithTagsOnSameCartLineproduct•[String!]
Discounts With Tags On Same Cart Line Controls which product discounts can apply together on the same cart line. By default, only one product discount applies per line. Available only on a Shopify Plus plan and requires the
field to be set totrue.For discounts to apply together, they must match tags in both directions. Each discount has two tag sets: the tags it's tagged with, and the tags it agrees to apply with (this field). Two discounts apply together only if each one allows at least one tag that the other is tagged with. Any number of product discounts can apply to the same line if this two-way match holds for every pair in the group.
Example: Discount A is tagged with "LOYALTY" and allows "SEASONAL," and Discount B is tagged with "SEASONAL" and allows "LOYALTY." They apply together. To add a third discount, it must meet the same mutual-match rule with both A and B.
- Anchor to shippingDiscountsshipping•Boolean!
Discounts non-null Whether the discount combines with the shipping discount class.