
Add Purity's code to your Squarespace footer once, then add buttons with Code blocks. Buyers pay on your Purity checkout.
Before you start: Code injection needs a Squarespace Core, Plus or Advanced plan (or an eligible older plan).
Open Website, choose Squarespace under "Where do you sell today?", then follow these steps:
- Create a site key. It lets your site show live prices and stock. Use "Create a site key" or "Create a secret key" on the Website page.
- Copy this code. The Website page has this ready to copy.
- In Squarespace: open the Pages panel > Website Tools > Code Injection. Paste the code into the Footer box and Save.
- On a product page: edit the page, add a block > Code, paste the button code below, and change YOUR-SKU to the product's SKU in Purity. The Website page has this ready to copy.
- Publish your site, then paste your site address below and choose "Check my site". Purity looks for the code on your page.
Connected looks like: Purity finds the code on your page and shows when your site last loaded your products.
Stock: the buttons read Purity's live stock every time a page loads, and orders are placed on your Purity checkout, so a sale takes stock off in Purity at once and sold-out products update on their own (Sold out, Pre-order or hidden, as you choose under "Stock on your website"). Squarespace's own product inventory is not updated; sell these products only through the Purity buttons.
Check the platform's rules on what can be sold before you build on it. Their rules: https://www.squarespace.com/acceptable-use-policy