← Back to Changelog
Entitlement-Aware Compare-At Pricing
When a discount entitlement lowers a variant's price, Search and Browse responses now populate compare_at_price with the pre-discount price, so storefronts can render the strikethrough price without a separate lookup. This applies across price_range, first_or_matched_variant, and each entry in variants, for entitlements scoped to all products, specific products or variants, or a match condition.
If a variant already has a compare-at price higher than the pre-discount price, the higher value wins. Variants that aren't entitled to the discount are unaffected, including cases where compare_at_price was already null.
ImprovementAPIMerchandisingDiscount Entitlements