Shopify has introduced a new setting that lets you control whether buyers can apply discount codes at checkout for draft order invoices. This setting, accessible within the send and share invoice flows in draft orders, enables better management of discounts to suit your invoicing needs. By default, this feature is disabled, providing the flexibility to enable it as required.
→ Read the full update on changelog.shopify.com