Personalized checkout and custom promotions with Shopify Scripts
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' %}
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
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
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
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.
Hope it helps.
All the best,
CedCommerce
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024