Summary:
Discounts on draft orders, specifically those generated by the API, are no longer visible in the draft order interface. This issue appears to be a bug introduced with Shopify’s recent updates (“boring editions”).
Steps to Reproduce:1. Generate a discount using the API.
- Create a draft order and apply the API-generated discount.
- Review the draft order:
- Expected Behavior: The discount should be visible in the draft order summary.
- Actual Behavior: The discount is not visible.
Additional Testing Conducted:- Theme: Confirmed this is not theme-related.
- Discount Code Functionality: Tested the discount code on the checkout page; it works as expected.
- Draft Order Interface: The issue persists exclusively in draft orders, suggesting a problem specific to the draft order system.
Impact:
This bug impacts the visibility and application of API-generated discounts in draft orders, potentially leading to confusion for merchants and their customers.
Environment:- Shopify platform
- Draft orders interface
- App-generated discounts
Please investigate and address this issue. Let me know if further details or testing are needed.