Jump to content

Shopify Embed Code

Recommended Posts

  • Replies 10
  • Views 1.3k
  • Created
  • Last Reply

Bedford does not have Ajax loading. 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment

Ajax loading is a red herring. It is not the cause of any delayed load on Bedford. 

Looking on Google it seems that Shopify embeds can have performance issues. 

I suggest you support Shopify support. In my experience they are excellent. Ask them if there is an optimal way to embed a store to avoid performance issues. 

 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment

I just experimented by putting the Shopify Storefront embed into a blank html document. It took 18 seconds to load your storefront. 

The problem is definitely on the Shopify side. 

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment
  • 10 months later...
On 10/25/2019 at 1:48 PM, marissaleap said:

I'll try that! Yea 10-18 seconds is not okay! Thank you.

Hi! I have a similar issue, the shoppify button does not charge at a first time (the page needs to refresh and then product appears). Did you solved your problem? Maybe that would work for me. Thanks!

Link to comment
12 hours ago, Soredadux said:

Hi! I have a similar issue, the shoppify button does not charge at a first time (the page needs to refresh and then product appears). Did you solved your problem? Maybe that would work for me. Thanks!

Add this code above Shopify code

<!-- Add this code above shopify code -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
  $('section.ProductItem-details').append($('section.ProductItem-additional .code-block'));  
</script>
<!-- Add this code above shopify code -->

If it doesn't work, can you share link to product where you embed shopify code? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 months later...

Hello, I'm having this same issue on my site. If you land on my Shop and clickthhrough to the embedded Shopify products, it requires a complete page reload to display products.

You can see this by visiting https://www.glennaneece.com/shop and clicking Yoni Crystals, which takes you to this URL https://www.glennaneece.com/yoni-crystals. If you visit the 2nd URL directly, the products load without refresh.

I tried adding the code above but it didn't change the way it's displaying.

Link to comment
On 1/31/2021 at 8:48 AM, maggiemccloud said:

Hello, I'm having this same issue on my site. If you land on my Shop and clickthhrough to the embedded Shopify products, it requires a complete page reload to display products.

You can see this by visiting https://www.glennaneece.com/shop and clicking Yoni Crystals, which takes you to this URL https://www.glennaneece.com/yoni-crystals. If you visit the 2nd URL directly, the products load without refresh.

I tried adding the code above but it didn't change the way it's displaying.

Design > Site Styles > Disable Ajax Loading

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.