Jump to content

Cart Page Observe Changes

Recommended Posts

With the recent changes in the way the cart page loads its content I had to come up with a MutationObserver. I've broken the shell of my code out and added the ability to run callback code. On its own the code only watches.

I thought I'd throw the code up here in case anyone else finds it of use.

Please see Cart Page Observe Changes.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.