We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I customize order confirmation emails for wholesale orders?

How can I customize order confirmation emails for wholesale orders?

RLJackson
Excursionist
20 2 6

Due to a couple of factors specific to the wholesale end of our business, it would be better if the "order confirmation" emails that are automatically sent when we create an order from a draft did not include a payment gateway link for orders that are tagged "wholesale". 

 

Even better would be the option to send two different versions of the order confirmation for orders that have payment terms for "within 30 days" vs those that are "due on fulfillment". 

 

I don't know a lot of code and I'm not sure where the edits would need to be made, but basically the logic I'm envisioning is this:

 

If an order is tagged "wholesale" and payment terms are "within 30 days", then instead of the payment gateway link, the email says "Your payment is due on [date]. Checks can be sent to [our address]." 

 

If an order is tagged "wholesale" and payment terms are "due on fulfillment", then instead of the payment gateway link, the email says "Your order is nearly ready. We will send you an email with an updated total and payment instructions once we have calculated your shipping." 

 

Is this possible? 

Replies 4 (4)

TheScriptFlow
Excursionist
45 1 3

Hey @RLJackson,

Yes this is absolutely possible in Shopify. Shopify itself gave the merchant the access of modifying the order confirmation email. 

If you are developer then you can easily Edit the code to make changes based on your requirements. Follow these steps to make changes.

  1. Go to Shopify Admin.
  2. Click on Settings from the bottom left.
  3. In the Settings click on Notification Customer Notifications.
  4. In the customer notification you need to click on Order Notification and then click Edit code.

By following these steps you can edit the Order confirmation template.

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com
- For any custom section queries, bug fixing please visit: Level 2 Fiverr Profile
- Buy Me a Coffee? Nah… Let’s Upgrade to a Car
- If my solution was helpful, mark it as a solution and hit the like button!
RLJackson
Excursionist
20 2 6

Thanks for replying! I think maybe I wasn't clear about what I was asking. I do know how to open and edit the email template, but I'm not sure about how or where to code the changes I want to make for this specific customization. 

TheScriptFlow
Excursionist
45 1 3

Thanks for your confirmation.

Would you like to tell me after which point of the email template you want to show your custom message? And if possible could you please share the email template code with me so that I can update it.

Thanks 

- Need a Shopify Specialist? Chat on WhatsApp Or Email at info@thescriptflow.com
- For any custom section queries, bug fixing please visit: Level 2 Fiverr Profile
- Buy Me a Coffee? Nah… Let’s Upgrade to a Car
- If my solution was helpful, mark it as a solution and hit the like button!
RLJackson
Excursionist
20 2 6

Thank you for your help! I've realized that we're going to have to take a different approach to this problem, for which I'll need to make a new post.