Jump to content

Faster loading for 3rd party cart to enable CBD sales

Recommended Posts

I'm using Foxy.io's shopping cart which modifies the Squarespace commerce buttons to enable CBD sales on my Squarespace account at www.embodygreencbd.com.

If I click on the shopping cart or the add to cart buttons before the page loads fully, the actions affect my Squarespace commerce account which is an issue. However, if I let the page load fully, the shopping cart and add to cart buttons affect my Foxy.io cart which is the desired outcome.

Is there a way to load the Foxy.io customizations sooner so there isn't an issue before things load fully and user the cart and buy now buttons always apply to the Foxy.io account?

Edited by embodygreen
Missing URL
Link to comment

Can you provide a working link to a product on the site so that we can see the issue? Foxy.io should place nice with Squarespace. 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

You cannot make the Foxy code load faster, but you can prevent visitors clicking or viewing these elements whilst the Foxy code is loading.

To do this edit the Custom CSS to hide them (or ignore pointer events within them). This will take effect earlier in the page loading process. You can then edit the Foxy script to unhide them (or allow clicking) when the page has loaded.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity 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.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.