Target object

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

A target of a discount.

A discount can either have a single OrderSubtotalTarget, or one or more ProductVariantTargets.

Fields

  • orderSubtotal ( OrderSubtotalTarget)

    If used, the discount targets the entire order subtotal after product discounts are applied.

  • productVariant ( ProductVariantTarget)

    A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.