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. 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.