Search the Community
Showing results for tags 'personalized'.
-
I am trying to add embedded content to a site, but I need to make an AJAX request to get the embed URL for the iframe. This request needs to provide a unique identifier for the current logged in customer. Basically like this: (function() { var fd = new FormData(); fd.append('userId', /* somehow get a stable customer id? */); var xhr = new XMLHttpRequest(); xhr.open('POST', myApiUrl, true); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.onreadystatechange = function() { // ...status checks... var { uri } = JSON.parse(xhr.responseTe
- 1 reply
-
- personalized
- javascript
-
(and 1 more)
Tagged with:
-
Hi Guys, This is an update to a post I made yesterday. After pretty extensive research, I have determined what I was trying to do is currently not possible with SquareSpace. I have lowered my expectations and want to try Plan B. 😂 I am trying to create a digital product (mp3 download) that can be sent as a gift with a personal message. I created a digital product with the download and then created a custom form that is triggered when someone clicks Add to Cart. The form collects the recipient's email address and a personalized message. However, I have not been able to figure out how
- 2 replies
-
- ecommerce
- digital-product
-
(and 1 more)
Tagged with: