Loading issues with %render snippet on a product page

Joiakim
Shopify Partner
24 1 0

Hello, 

I have implemented the linked-option custom code to my product page as per instruction here: https://community.shopify.com/c/shopify-design/variants-link-product-options/td-p/615156

 

it worked until %include '' was depreciated and I replaced with %render ''. Some of my products take forever to load and then page crashed . I think that the page does not have time to execute code in the snippet or there is a conflict with another javascript code on my page. 

Any help would be much appreciated thank you; 

 

Here is the  code of my product template : 

{% assign date = product.metafields.custom_fields.release_date | date : "%s"  %}
{% assign today = 'now' | date: '%s' %}
{% if date > today %}
{% section 'product-launch' %}
  {% else %}
{% section 'product-main' %}
 {% endif %} 
{% section 'product-recommendations' %}
{% render 'linked-options2' %}

 

Replies 4 (4)

Cedcommerce
Shopify Expert
718 76 112

Hello @Joiakim

 

To have a better understanding of the issue we require you to share the URL of that product that doesn't load properly. 

We will review the issue and let you know why this issue occurred and how to fix it.

 

All the best, 

Team CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here
Joiakim
Shopify Partner
24 1 0

Hello, 

Sure, an example at this URL : https://sneakerdrop.fr/products/nike-sb-dunk-low-philadelphia-phillies 

 

P.S. I've made an edit to my product section and included the render liquid tag inside the .liquid code page but it still doesn't fix the issue. 

 

Thank you

Joiakim
Shopify Partner
24 1 0

Hello@Cedcommerce 

 

Sure, here's an example at this URL : https://sneakerdrop.fr/products/nike-sb-dunk-low-philadelphia-phillies 

 

P.S. I've made an edit to my product section and included the render liquid tag inside the .liquid code page but it still doesn't fix the issue. 

 

Thank you

Cedcommerce
Shopify Expert
718 76 112

Hello @Joiakim,

 

Based on your query we have checked your store and found an issue with the javascript code. 

Refer to the below image to look at the same. 

We will suggest you please contact Shopify theme support or you need to hire a developer to get this resolved.

 

Cedcommerce_0-1659619811305.png

 

 

Hope it helps.

 

All the best, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here