Hi there,
We’ve recently received a report from a merchant using our app that a specific discount code was being applied when it wasn’t supposed to. However, when we investigated this, what we found wasn’t that the discount was being applied erroneously, but that the discount code appears as a tag in the checkout if shipping costs haven’t been calculated yet, regardless of whether the discount is actually applicable.
I’ve attached a few annotated screenshots of the following cases:
- Customer not logged in, shipping costs calculated →
No discount applied (expected)
- Ineligible customer logged in, shipping costs calculated →
No discount applied (expected)
- Customer not logged in, shipping costs not yet calculated →
Discount tag appears (despite no discount actually being applied)
- Ineligible customer logged in, shipping costs not yet calculated →
Discount tag appears (despite no discount actually being applied)
Some information about the discount in question:
- It’s a Shopify Functions discount
- API version
2025-04
- This discount is a combined product/shipping discount
This leads us to a few questions:
- Is this by design? (I could understand if this is an intentional way to provide feedback to customers who have entered a shipping discount if the shipping costs haven’t been calculated yet.)
- Is there any way that merchants can disable this behavior?
Thanks in advance,
Tobe