Nabeel Posted January 26, 2021 Share Posted January 26, 2021 On one of our pages, we have added a custom HTML: <div id="customer-identification" data-email="{{ customer.email }}" data-id="{{ customer.id }}" style="display:none;" ></div> We want to replace `{{ customer.email }}` and `{{ customer.id }}` with the actual email and id of logged in customer on the site, dynamically. How can we do it? Does Squarespace have any global customer variables which we can replace here? Link to comment
Guest Posted March 12, 2021 Share Posted March 12, 2021 HI Nabeel, Were you able to figure this out? Link to comment
Beyondspace Posted March 13, 2021 Share Posted March 13, 2021 9 hours ago, AGNAMS said: HI Nabeel, Were you able to figure this out? I dont think it possible BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.