Turn on discount revalidation when an edit can change the products, quantity, or subtotal that a promotion depends on. Order Editing then checks used discount codes and automatic promotions before it saves the edited order.
Order Downgrades must be available when a removed discount changes the order total.
Order Editing needs the Shopify permission shown under App permissions to recalculate discount eligibility accurately.
Test the promotion types your store relies on before enabling this for customers.
In the Shopify admin, go to Apps > Order Editing.
Select App Settings.
Open Editing blocks.
Select Post-Purchase Discount Codes.
Find Discount Revalidation.
Turn on Recalculate discount codes eligibility.
If App permissions shows that access is required, grant the requested discount permission.
Save the settings.
The setting applies to the editing experience as a whole. It is not configured separately for individual discount codes.
Before Order Editing saves a customer's changes, it checks whether discounts used on the order still qualify against the edited contents.
If a promotion is no longer eligible, Order Editing removes it from the proposed result and warns the customer before the order is saved. The customer does not need to enter an existing code again for this check.
Common examples include:
the customer removes an item and falls below a minimum quantity;
the edited subtotal falls below a minimum spend;
the customer replaces a qualifying product with one outside the required product or collection;
an automatic promotion no longer matches the edited order.
Shopify's discount configuration and any Shopify Function involved determine the final eligibility result. Test each important promotion rather than assuming every custom discount behaves like a standard code.
Use a controlled order with a discount whose eligibility you can deliberately change.
Find an existing eligible order that already qualifies for the discount.
Open the customer's editing experience.
Remove or replace the qualifying item, or reduce the subtotal below the threshold.
Continue to the order summary.
Confirm the customer is warned that the discount will be removed.
Save the edit.
Open the order in Shopify admin and confirm the discount and final totals match the edited order.
Repeat with an edit that should remain eligible and confirm the discount stays applied.
Test automatic promotions and app-provided discounts separately when your store uses them. Create a new order only when no existing controlled order contains the promotion and qualifying contents you need to test.
Review App permissions on the same page and grant the requested discount access. Confirm the staff member approving the permission has the required Shopify authority.
Confirm Recalculate discount codes eligibility is on and saved. Reproduce the edit with the exact promotion, then check whether a custom Shopify Function or app controls its eligibility.
Review the promotion's minimum spend, product, collection, customer, market, combination, and date requirements in Shopify. Retest one requirement at a time so you can identify which condition failed.
If the result still differs from Shopify's configured rules, contact Order Editing Support with the order number, discount title or code, promotion type, original cart, edited cart, and the time of the test.