Jump to content

Understanding JSON Variables

Recommended Posts

Site URL: http://www.lrpaperairplane.com

I'm new to this and am trying to understand how to inset a JSON variable into an order confirmation email. I've read the link on squarespace, but it just doesn't make sense to me how to do this.

Specifically, I have three digital products I would like sell. I need the email to have the digital link as well as the password to the page on the website. 

Background: I'm trying to do it this way because one of the digital files is too big to be uploaded, even compressed, to squarespace under the digital product page.

How do I customize this?



Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

3 hours ago, EIF said:

I'm new to this and am trying to understand how to inset a JSON variable into an order confirmation email.

The JSON variables available in Confirmation Emails are specific to the order, not individual items that were ordered. For this reason, I don't think you can achieve what you need with JSON variables. 

For example, you can reference the customer's full name, their order number and whether or not they ordered a digital product, but you cannot add text to the email that is specific to which product they ordered. 

If you can provide a few more specifics about the products and what you are trying to achieve, we may be able to suggest an alternative approach.


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

Create an account or sign in to comment

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

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.