Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
MATTER

PDF file attached to customer notification email (html)

Question

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!

 

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

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.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0
Posted (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 by MATTER

Share this post


Link to post
  • 0

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.


sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi, I'm Paul, founder of SF Digital, a specialist company building the features that Squarespace didn't include
I am a Squarespace Expert and Squarespace Circle Leader with a
strong reputation on the Squarespace Forum. I'm trusted by thousands of Squarespace users worldwide, including designers, freelancers, business owners and agencies. My extensions add capabilities to Squarespace websites around the globe. They include the Enquiry Form ExtensionDatepicker Extension and Age Verification ExtensionNeed a custom Squarespace extension? Tell me about the functionality you need. Note that some links in my posts may be affiliate links. Book a Squarespace Expert when you need help.

Share this post


Link to post
  • 0

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)1991545585_Bildschirmfoto2020-06-29um19_11_13.thumb.png.220090b3b5623a2d7028dd8cb4fb9867.png

Share this post


Link to post
  • 0
Posted (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 by MATTER

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...