Debut Theme - intermittent issue loading menu and image slider on product pages

New Member
1 0 0

Hi There!

Our store running the Debut theme seems to be having an intermittent issue where the menu button and image slider are not loading in the responsive mobile version. We have replicated the issue on several phones and it will generally happen after 5 or so different product clicks.

The browser console shows that when the issue occurs, functions have not been loaded :

Uncaught TypeError: $(...).slick is not a function
at Product._initThumbnailSlider

The same product page can load with or without this problem intermittently. We have tried to follow a few previously similar issues but to no avail.

Any help or guidance much appreciated.

many thanks


Hi there,
Jack from OpenThinking here!

This type of error is because

- You either load the script with async/defer (remove async/defer from your script tag)

- or you load it before jQuery in the page structure (move your slick after jQuery at the bottom of your theme.liquid file)

- or you load it twice (load it once)

- or you didn't load it at all. (load the file: {{ 'YourFile.js' | asset_url }})

let me know if this works for your. If yes; accept my answer and give me thumbs up! Thank you.

⚡️ [Shopify Themes]: Lightning-fast, Highly converting, SEO-optimized, Minimal.
⚡️ Need help with your store? [Get a quote]