Line Limit

Understanding the line limit strategy

The line limit strategy helps you control how many items in a customer's cart can receive a discount when multiple items are eligible. You can choose between two strategies: First and Maximum.

  1. First strategy

    1. This applies the discount to the first n eligible line items in the order they appear in Shopify. Example: If a discount is configured to apply to "First 2" items and there are 5 eligible line items, only the first 2 line items will get the discount.

  2. Maximum strategy

    1. This applies the discount to the most expensive eligible items first. Example: If a discount is configured to apply to "Maximum 2" line items and there are 5 line eligible items in the user's cart, the 2 highest items sorted by the line price will get the discount.

  3. Minimum strategy

    1. This applies the discount to the least expensive eligible items first. Example: If a discount applies to 5 eligible line items in the user's cart, the 2 lowest price line items sorted by the line price will get the discount.

By default, the line application strategy is set to `no limit` or infinite. To set it as infinite simply enter 0 or keep the value empty.

Line items are sorted by the line subtotal when either Minimum / Maximum configurations are used.


Set up a Line Limit Strategy for your discount

  1. Find the Flag selector (settings wheel) next to your discount

  2. In the popup window that opens, check line limit strategy and click done


TLDR - why should I care?

Let's say you have a discount rule that is set up with a limit of to up to 3 line items in the cart, and the cart has 5 eligible line items for the config:

  • First Strategy: The discount will apply to the first 3 line items in the order they appear.

  • Maximum Strategy: The discount will apply to the 3 most expensive line items.

  • Minimum Strategy: The discount will apply to the 3 cheapest line items.

Why This Matters:

  • First Strategy: Useful if you just want to limit the number of applications of the discount without any sorting by the line cost.

  • Maximum Strategy: Useful if you want to maximize the discount value for the customer by applying it to the most expensive items.

  • Minimum Strategy: Useful if you want to incentivize the customer to purchase higher value items and increase AOV.

By understanding and using the line limit strategy, you can better manage how discounts are applied in your store, ensuring they align with your business goals.

Last updated