Jump to content

Shopify Embed Code

Recommended Posts

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. 

 

If you're looking for a Squarespace Developer, drop me a line. 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.