Discount Titles Between Shopify Functions, Draft Orders, and Discount Codes

Hi everyone,

I’ve noticed two inconsistencies regarding discount titles and would like to confirm if this is expected behavior or a known limitation:

  1. Shopify Functions discounts on manually placed draft orders ignore the computed discount’s title and instead use the backend title.

  2. Discount codes always display the discount code itself as the title, regardless of what’s defined in the discount configuration.

Is this the intended behavior, or is there a way to control the displayed discount title in these contexts (draft orders and checkouts)?

Thanks in advance for the clarification!

Hi Seun, this is intended behavior for both scenarios:

  1. For Shopify Functions on draft orders: the system uses the backend discount title, not the computed title from the function.

  2. For discount codes: the code itself is always displayed as the title in orders, draft orders, and abandoned checkouts, regardless of what title you set in the discount configuration.

Both behaviors are by design - the discount code takes precedence over custom titles when displaying in order-related pages. Let me know if this answers your question.

Yes, it does.

Thank you @TomAtShop