This is an old revision of the document!
Table of Contents
- type:
- integration
- system:
- Squarespace
- name:
- Squarespace + FoxyCart
- date:
- 2009-09-28
Squarespace
Description
Until a more formal FoxyCart + Squarespace instruction set is done, this page will link to relevant posts and information about using FoxyCart with Squarespace.
Basic Integration
In order for FoxyCart to use the modal window and maintain sessions across the different domains, you need to add a few lines of includes to your header. To get the correct FoxyCart include files for your store, navigate to the 'Sample Code' section of the FoxyCart administration and copy them from there.
One way to add this code to your Squarespace site is:
- In the Squarespace top menu, go to “Website Management” –> “Structure” –> “Website Settings” –> “Code Injection”.
- For “Injection Region” pick the default “Extra Header Code”.
- Paste in the code from above, edited to include the appropriate theme CSS and your foxycart subdomain in the URL's.
- Click “Update Information” to save your changes.
That's it!
Now, you can insert cart links and forms on any of your Squarespace HTML pages using the “code insert” cog button in the Squarespace HTML page editor.