How to add a scroll down button to my product page?

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!

Hey @Bless10 ,

You can try this.

Scroll To Products

Thank you but it doesn’t work the button remains in the middle of the page

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

Okay now the button is in the right place but it doesn’t scroll

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 Body care

Link 2 Face care

Link 3 Body scrubs

Link 4 Body cream

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