Why this matters
Many customers close the Thank You page straight after checkout, so they never see the Order Editing block there. Your order confirmation email is your second chance to tell them they can still make changes. Its View your order button already opens the Order Status page, where customers edit their order.
Order Editing adds a short message in your brand style and changes the button to Edit or view your order. Shopify does not let apps change notification emails directly, so you copy your email into Order Editing and paste the updated version back.
Before you begin
This guide is for the order confirmation email in Settings > Notifications in Shopify. If you send order confirmations from Klaviyo, see the FAQ below.
Set your editing window first. The message uses it, for example "You have 30 minutes to make any last-minute changes to your order."
Add the editing message
In Order Editing, go to App Settings and select the Global settings tab.
Click Notifications.
Under Order confirmation, click Set up.
In Shopify, go to Settings > Notifications > Order confirmation and click Edit code.
Select all the code and copy it.
Paste it into Order confirmation code in Order Editing. The preview and your message settings open when the code can be updated.
Review the settings beside the preview: Message, Look and Invoice button, and under Who sees it, the customer groups and Countries. Click one to open it, and the back arrow to return to the list. The defaults suit most stores, and every change shows in the preview straight away.
Click Copy updated code. This also saves your message settings in Order Editing.
In Shopify, select all the old code in Edit code and paste the updated email over it.
If Order Editing shows Check your email's own wording, find each quoted line in the code and delete the ones that no longer apply.
Click Save.
Click Preview to check the email.
Back in Order Editing, click I've saved it in Shopify. Setup stays unfinished until you confirm this step, even if you leave and return later.
If your browser blocks copying, open View code, select all the updated code and copy it manually. If you return later and the code could not be kept, paste your current Shopify email code into Order Editing again to continue setup.
Before you copy the updated code, click Download original email to keep a copy. You can also click Revert to default in Shopify's template editor at any time.
Choose your message settings
Setting | What you can change |
|---|---|
Message | The wording. Keep your editing window, for example "30 minutes", in it so customers know how long they have. It updates by itself when you change your editing window. |
Look | Tinted box, Accent line or Minimal, and for the first two, the Message color. Turn on Remove the space above the message if your email already leaves a gap above it. |
Invoice button | Add a "Download your invoice" button, shown to every customer below the order button, and its Button position: Match your email, Left or Center. |
Who sees it | Which customers see the message: subscription, pickup and Point of Sale orders, and which countries. |
Remove the space above the message removes the gap Order Editing's message adds. It can't remove spacing your own email puts above it. Match your email keeps the invoice button where your email's own styles place it.
Choose who sees the message
Under Who sees it, open Subscription orders, Pickup orders or Point of Sale orders and answer Show the editing message to these customers?
Yes, with an "Edit or view your order" button: choose Same message as everyone, or A message for these customers, for example "Manage your subscription in your account." Include your editing window in it to show how long they have.
No, show nothing: these customers see no message, and their button stays View your order.
By default, subscription and pickup orders see nothing, and Point of Sale orders see the message. An order can fit more than one group, for example a subscription order picked up in store. Then the first of its groups set to No or to a message of their own decides, in this order: subscription, pickup, then Point of Sale.
Open Countries to choose where the message shows, by the order's shipping address:
All countries shows it everywhere.
All countries except… leaves out the countries you add.
Only these countries… shows it only in the countries you add.
Add countries one at a time, or a whole region at once. Orders without a shipping address, such as pickup orders, follow their own setting. A customer in a country you leave out sees nothing, even when their group is set to Yes.
While a customer group is open, or Countries with countries added, the preview shows the email those customers get, labelled Previewing:. In Countries, use Preview an order to to see an order to a particular country.
If an option asks you to use Replace code, your email in Shopify was set up before that option existed, or Order Editing doesn't have a copy of it. Click Replace code, paste your current email code from Shopify, copy the updated code back into Shopify, and click I've saved it in Shopify again.
Check your email's own wording
Some emails already tell customers to contact you to change their order, for example "Need to change your order? Reply to this email", or say an order can't be changed once it's placed. That now contradicts the editing message.
When you paste your code, Order Editing quotes any lines like these under Check your email's own wording. The list stays until you click I've saved it in Shopify. Delete the lines that no longer apply when you paste the updated code into Shopify. Order Editing never removes these lines for you, and it only recognises English wording.
What Order Editing changes
Under What we changed, you can review the changes to your email, which can include:
Adding your editing message above the View your order button.
Changing the button text to Edit or view your order.
Adding a Download your invoice button, shown only when you switch it on.
Fixing known typos in Shopify's email code, such as
{% endi %}instead of{% endif %}, which stops Shopify saving your email, or "your r ready" instead of "your order ready".
Keep it up to date
After installation, change your message settings in Order Editing and click Save. You do not need to paste the code again. The editing-window wording also updates when you change the window in Editing Time.
If you see Needs retry, your settings are saved but the email update could not be confirmed. Open the email settings and click Retry update before relying on the new wording. Use Replace code if you change the email template in Shopify and need to add the message again, or when a setting asks you to. After replacing the code, paste it into Shopify and click I've saved it in Shopify again to finish.
FAQ
Order Editing can't find my "View your order" button. What do I do?
Your email is customised in a way the setup can't update automatically yet, for example a template built in another app. Contact our team and we will update it for you.
I use Klaviyo for my order confirmation email. What do I do?
Make the equivalent change in your Klaviyo order confirmation flow. Add a short note about the editing window and point the button at the Order Status page, which is available as the order_status_url variable.
Can the email show the exact editing deadline?
The message describes your configured editing window, for example "30 minutes". It does not calculate a deadline for each order. Scheduled windows use general editing-deadline wording because the remaining time depends on when the order was placed.
What happens if a customer clicks the button after the editing window has closed?
They go to the Order Status page and see their order details, but editing is no longer available.

