Hello I would like to have the liquid code to add a scroll button to scroll the page down to see the products in my page collection.
Here is the link
Thank you for your help!
A user needed help adding a scroll-down button to their Shopify collection pages to navigate to the product section.
Initial Solution:
scrollIntoView() to smoothly scroll to a specific element IDImplementation Challenges:
Key Technical Detail:
#shopify-section-template--15404301115574__product-gridResolution:
Hello I would like to have the liquid code to add a scroll button to scroll the page down to see the products in my page collection.
Here is the link
Thank you for your help!
You can’t add it to the existing block because custom liquid code creates a new block. You can try just adding this then
Scroll To Products
Can you save it so I can test?
yes of course here is the link
Try this one. Worked for me
Scroll To Products
It works but when I copy it to my other collections it no longer works. Should I send you the link to my other collections?
Every collection page will have different ID’s, so the code above only works for the collection you sent to me. You can send me the links to the other collections.
Perfect I understand and here are the links :
Link 1:
Scroll To Products
Link 2:
Scroll To Products
Link 3:
Scroll To Products
Link 4:
Scroll To Products
Thank you very much for your help it works now