Removing the Discount component from your current UpOrder template stops the discount from being included in future emails after the updated template is saved and published to Shopify. It does not change notification emails that Shopify already sent to customers.
Why new codes can still appear
When a Shopify notification email includes an UpOrder Discount component, the sent email contains a discount-generation link. UpOrder creates the unique discount code when that link is loaded, usually when the customer opens the email or clicks the discount button for the first time.
That means a customer can open an older email after you remove the Discount component from your current templates, and a new code can still be generated from that older email.
For example, if Shopify sent an order confirmation on March 1 while the Discount component was still in the template, but the customer first opens that email on March 13, the code can be generated on March 13. If the discount was configured to expire in 7 days, then the code is valid based on that later generated date, not the original send date.
UpOrder will not create the same discount code twice. If the exact code already exists, UpOrder skips creating another copy. The new codes you are seeing are usually from different previously sent emails, different customers, or different notification types that still had the Discount component when they were sent.
What to check
Make sure the Discount component has been removed from every notification template where you no longer want to offer a discount. Removing it from one notification does not remove it from the rest of the template set.
Save the updated templates in UpOrder.
Publish or copy the updated templates to Shopify so the live Shopify notification templates no longer include the Discount component.
Expect some older emails to continue generating codes if customers open emails that were sent before the component was removed.
If you need a specific code to stop working immediately, disable or delete that discount in Shopify admin under Discounts.
For help removing a component from a template, see: How can I remove a component from my email templates?
Can customers stack these codes with other discounts?
It depends on your Shopify discount-combination settings. Shopify now supports discount combinations, but discounts only combine when the combination settings and Shopify's discount limits allow them to combine.
If you use UpOrder's Enhanced Discount Component, the Discount settings include options for whether the generated discount can combine with product, order, or shipping discounts. Those settings are passed to Shopify when UpOrder creates the discount. Shopify still controls the final checkout behavior.
If discounts cannot combine, Shopify applies the best eligible discount or combination for the customer's cart. For Shopify's current rules, see: Combining discounts.
If you are seeing codes generated from emails that should not contain a Discount component, please reach out to [email protected] or through the in-app chat and include the notification type, customer email, and discount code example.
