Hi all,
We sell in several markets with fixed per-market prices and catalogs. We also use retail catalogs for point of sale (POS). Every discount code, native or app-made, must skip items that are marked down in the buyer’s market. We found no way to do this. There are three gaps.
1. Collection rules ignore markets and catalogs
The usual approach is a “compare-at price is not set” collection as the code’s product scope. CollectionSourceInclusionConditionVariantCompareAtPriceInput (2026-07) has only relation and value, and it reads the variant’s base compare-at price. As a result:
- A markdown in the primary market removes the item from the collection in every market.
- A markdown only in a market catalog leaves the item in the collection.
- An item can be marked down online while stores sell it at full price with a store-only code. One collection cannot cover both.
2. Discount Functions only cover codes we build
Our discount function reads the compare-at price in the buyer’s market and skips marked-down lines. Codes from Klaviyo, loyalty apps, and referral apps are native price rules, so they never reach our function.
3. The only control over native codes is all-or-nothing
enteredDiscountCodesReject runs only from an automatic discount and rejects the code for the whole cart. Its input gives only code and rejectable. We cannot tell a product code from an order or shipping code, and we cannot reject single lines. One sale item blocks the code for every full-price item in the cart.
Buyers notice. Discount friction came up 28 times in one month of our Net Promoter Score (NPS) comments. A code that fails because of one sale item was one of the most common complaints.
We asked for Discounts Allocator access in March to get line-level control. The developer preview ended on Sep 10 (changelog).
Related thread: Discount API - Rejection Limitations
Any one of these would solve it
- A market or catalog scope, retail included, on the compare-at collection condition.
- A store-level setting that keeps all codes, native or app-made, off items on sale in the buyer’s market.
- Line-level rejection of entered codes in Discount Functions.
Is any of this planned, or is there an approach we missed? I can share function logs or DM the shop domain. Thanks.