Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Slick slider not working in product recommendation section - Dawn theme

Slick slider not working in product recommendation section - Dawn theme

Rasel
Shopify Partner
31 3 3

Screenshot_1.png

 

Screenshot_2.pngScreenshot_4.pngScreenshot_5.png

 

Rasel | Shopify Expert
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- For additional information, please contact with me.
rasedulrasel21@gmail.com
Replies 5 (5)

marcoswata
Shopify Partner
123 10 36

"Not working" is very generic. No one is going to read the code you posted and guess what could be going wrong. Please post what exactly "not working" means. If possible, share a preview URL

If my answer was helpful then please Like and Accept Solution 🙂
If you need help with design, development or marketing your store, contact me!
Rasel
Shopify Partner
31 3 3

https://dev-test2023.myshopify.com/products/copy-of-box1

password: 1

 

 

Rasel | Shopify Expert
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- For additional information, please contact with me.
rasedulrasel21@gmail.com
vaishnavi_s0129
Shopify Partner
6 0 0

he means that the slick slider is not getting initialized with the section.. maybe because we have to init the code after AJAX call fetched the content and append it into DOM.. i'm having issues with this too, can you help?

Rasel
Shopify Partner
31 3 3

Hello @vaishnavi_s0129 ,

Try this slick slider .

 

Rasel | Shopify Expert
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- For additional information, please contact with me.
rasedulrasel21@gmail.com

Tanip
Shopify Partner
7 0 2

add Set timeout in your script that's the best solution

<script>
setTimeout(function(){
//Slider sccrit
},900); 
</script>