Jump to content

Code Injection Cart Page

Go to solution Solved by paul2009,

Recommended Posts

  • Solution
2 minutes ago, andymallinsphotography said:

Is it possible to inject Javascript on the cart page, currently I can do this on all my pages using the page header code injection for my Trustpilot widget

Instead of injecting code on each page individually, you can inject it to all pages via the site code injection panel in Settings > Advanced > Code Injection. This will include the cart page. 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation 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.

Buy me a coffee

Link to comment
9 minutes ago, paul2009 said:

Instead of injecting code on each page individually, you can inject it to all pages via the site code injection panel in Settings > Advanced > Code Injection. This will include the cart page. 

thank you! that sorted it, no idea why I hadn't thought of this as using it for other code! Thanks again, I've also got another question around resizing the cart view on mobile, any help on that one to would be greatly appreciated! Thanks again.

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.