Core Issue:
Users want to apply free shipping only when the cart total meets a threshold after discount codes are applied, not before.
Attempted Solutions:
Initial approach tried using Shopify Scripts to calculate total_after_discounts by subtracting discounts from subtotal, but struggled to find the right cart object properties.
One user suggested a script iterating through line items and applying discount percentages, though this approach may not fully address the issue.
Current Problem:
Shopify’s native free shipping configuration calculates thresholds based on the pre-discount subtotal. This creates a loophole where customers can add items to reach the threshold, then apply discount codes that drop them below it while still receiving free shipping.
Workarounds:
One participant resolved their need using Shopify’s built-in shipping configuration (link provided), though this doesn’t solve the post-discount threshold issue.
A third-party app (Advanced Free Shipping) was recommended as it can target checkout totals after discounts are applied.
Status: The native Shopify limitation remains unresolved without custom apps or potentially complex scripting solutions.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
Honestly, I am having an issue with this also and don’t see a solution in the link you provided.
I’m having the Free shipping default in and then after the customer adds in the discount rate. Even if the total has fallen below the free shipping threshold they can still check out with free shipping.
I just had 2 customers check out with this scenario.
I never noticed this issue before and suspect it may be newly introduced in error.