MATTER Posted June 24, 2020 Share Posted June 24, 2020 Site URL: https://goldfish-koi-xjg4.squarespace.com/ Hi there! I need to attach 2 PDF files (terms + cancellation policy) to these customer notification emails: 1. order confirmation 2. order shipment confirmation I would like the customer to receive these pdf as part of the email, so they can just click on PDF sign and open it or save on their computer. Thanks! Link to comment
Solution paul2009 Posted June 27, 2020 Solution Share Posted June 27, 2020 You cannot add the PDF file itself, but you can add a link to the email so that when a customer clicks it, the PDF will download from your site and be shown. To do this, follow the Uploading and managing files guide to add the PDF file to your site. Once added to your site, you will have a URL. Make a note of this. Next, go to Commerce > Customer Notifications > Order Emails and edit the relevant email. Add some HTML text like this for each PDF link: <a href="https://www.sitename.com/s/terms.pdf">View Terms</a> Change 'https://www.sitename.com/s/terms.pdf' to match the correct link to your PDF, and change 'View Terms' according to your needs. When you have saved your changes, you should be able to send a test email by clicking the SEND TEST EMAIL button further down the panel. MATTER 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
MATTER Posted June 29, 2020 Author Share Posted June 29, 2020 (edited) @paul2009 thanks for the tip, this works in sqaurespace environment, but when I receive a test email, the hyperlink is not clicking through. any ideas why? thanks! can that be because the website is no live yet? Edited June 29, 2020 by MATTER Link to comment
paul2009 Posted June 29, 2020 Share Posted June 29, 2020 This works for me regularly, both within Squarespace and within the actual email. Could your email client be blocking links within emails until they are approved? It is difficult to troubleshoot this remotely, so if this isn't the issue, you may need to post a video for others to see what you see. About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
MATTER Posted June 29, 2020 Author Share Posted June 29, 2020 there is nothing to film actually, since the email looks, like it is also appears in SS, but it is just not clicking thourgh. The Link looks active, but literaly nothing is happening when I click on it. Screenshot (AGB/TERMS.PDF) Link to comment
MATTER Posted June 30, 2020 Author Share Posted June 30, 2020 (edited) @paul2009 here below is also the whole code with the part you shared previously. I slightly updated it for the font, color etc., maybe this is the reason why the links are not clicking through (opening) when email is in the inbox? </p> <br> <div style="color:#7C2272;font-family:Helvetica Neue;font-weight:none;font-size:12pt;letter-spacing:0.01em;text-align:left;">Your order from www.skin-matter.com is shipped and you will receive it soon. Click on the tracking number below for latest updates. <br> <br> We are excited for you to discover and try all these amazing skincare products we carefully selected. Please share your impressions with us and let us know what you liked the most <br> <br> <a style="font-size:12px;font-weight:bold;display:block;letter-spacing:2px;font-family: Helvetica Neue;text-align:center;text-decoration:none;border:none;background-color:#96D0DE;color: #7C2272;padding:10px;"href="https://www.instagram.com/thisisskinmatter/"_blank"> @thisisskinmatter </a> <br> <br> Order <span style="font-weight:bold;color:#7C2272;">#{order.displayId}</span> {.end} (placed on {order.submittedOn|datetime date:long time:hmv}) is shown below and corresponds to your invoice number <span style="font-weight:bold;color:#7C2272;">#{order.displayId}</span></div> <br> <br> <div style="color: #7C2272;font-family: Helvetica Neue;font-weight: 500;font-size: 10pt;letter-spacing: 0.001em;word-spacing: 40px;text-align: center;"</div> <a style="color:#7C2272;" href="/s/MATTER_AGB_GENERAL_TERMS.pdf">AGB/TERMS.PDF</a> <br> <br> <a style="color:#7C2272;" href="/s/MATTER_WIDERRUF_CANCELLATION.pdf">CANCELLATION/WIDERRUF.PDF</a> <br> <br> Edited June 30, 2020 by MATTER Link to comment
MATTER Posted June 30, 2020 Author Share Posted June 30, 2020 ahhhh! just got it, forgot to use this https://www.skin-matter.com/ before each pdf location. 🙂 now it works! thanks! paul2009 and Leo_Lou 2 Link to comment
Laura_Mera Posted January 28, 2021 Share Posted January 28, 2021 Is there a way to do this but not have the code show up? For example, I see the whole thing: <a href="https://www.website.com/s/pdfFile.pdf">My Chosen Text</a> but would like to see My Chosen Text.pdf (as a clickable link) Link to comment
Jo_SQSP Posted September 23, 2021 Share Posted September 23, 2021 Hi Matter, While it still isn't possible to add a PDF download to a customer notification email, you can now edit the text of the customer notification email" per product type in order to include a download link. You can take a look at our "Customer Email Notifications" guide for further information. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment