Happening now | Office Hours: Customizing Your Theme With Moeed | Ask your questions now!

How do I make a custom email specific to one product?

How do I make a custom email specific to one product?

novalin
Tourist
10 1 10

I want to be able to automatically send a unique email to my customers after they purchase a particular product. 

 

For example, I sell physical books. But I'm planning to sell a PDF product as well, and for that product I want an email to go out with the link to the PDF.

 

I chatted with support and they didn't think there was a way to do this (native to Shopify).

 

I see there are some third party apps but I can't afford another service and cannot justify it for just one product.

Replies 10 (10)

made4Uo
Shopify Partner
3877 719 1232

Hi @novalin,

 

There is a way on this. I am able to do it on my Shopify store. You need to have metafields connected to your product, call that metafield in the order confirmation email. This need to be done with trial and error btw. This will be customized code

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
novalin
Tourist
10 1 10

Thank you. Can you tell me more? I'm not extremely technical but I might be able to make this work with more information.

 

It's unfortunate this isn't a Shopify feature. I'm frequently running into scenarios where I'm surprised Shopify doesn't have support for them.

made4Uo
Shopify Partner
3877 719 1232

Hi @novalin,

 

I see you only need this for one product. Do the following instructions instead.

 

Figure out your product ID

1. In your Admin page, click Products then click the product you want.

2. The product ID is the end part of the URL. Take note of this product ID. See image below

made4Uo_2-1656096644205.png

 

 

To add the code in your Notification email

1. In your Admin page, click Settings on your left hand bottom corner, then Notifications.

2. Click Order Confirmation.

3. Find the code below

<span class="order-list__item-title">{{ line_title }}&nbsp;&times;&nbsp;{{ line_display }}</span><br/>

 

4. After the code above, paste the code below. Replace the <a href> to your download link. Replace the 7016826503325  to your product ID.

{% if line.product.id == 7016826503325 %}
<a href="your_download_link_here">Download pdf</a>      
{% endif %}<br>

 

Please refer to the image below for placement. 

made4Uo_0-1656096138571.png

 

You can preview your Notification email but I would suggest try to be the customer and purchase, so you can see if the button works

 

made4Uo_3-1656096686461.png

 

 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
Ming_Sendif
Shopify Partner
79 2 8

Yeah this is the way I'd do it.

blinkmarketing
Visitor
1 0 0

@made4Uo  Thank you for the instructions! This works! BUT, it doesn't work for more than one custom email. If I enter this code twice (one for each product that needs a custom email), the only one that works is the first listed in the html. Any chance you know how to make this code work for several different products? (each one needs a confirmation email with a different download link). 

Any help you can provide would be so greatly appreciated! 

Ming_Sendif
Shopify Partner
79 2 8

Hi there! Are you trying to send a unique PDF attachment link per order?

 

We recently developed this exact solution for another store and would be happy to help you too.

 

Feel free to send me an email at ming@sendif.co!

LunaNachelle
Visitor
1 0 0

I need help with this one also….. @made4Uo I want several links for several products.. 

filipeoconde
Shopify Partner
7 0 2

Nice solution @made4Uo, but I wonder, would it kind of send this code alongside the email? I mean, could the clients receiving it (mostly in the case of negative conditions) be able to see the code and open all conditional expressions and links even if their product is not the one in the if condition?

nails_Finessed
Visitor
1 0 0

Hi I have a similar request but I can't figure it out. I want the confirmation email for one particular product to have specific instructions. do you know the code for that?

noeldeejay
Visitor
1 0 0

I will be following this as this too is my issue. I have a ticket for events app, but the email confirmation are pretty standard for all other regular products sold in my store. I would like for customer to receive a different response for tickets.