Button to take you to specific part of product page

Button to take you to specific part of product page

julianojg
Excursionist
38 5 4

I would like to know if its possible and if so then how i can make it so when i press a button on my home page it will take me to the products page and scroll down to a specific part of the page

e.g. if i have a "quick links" section and have a button labelled "drinks" when i press the button it will take me to the products page and scroll down automatically (or just go to drinks section automatically).


Replies 4 (4)

webwondersco
Shopify Partner
1113 164 162

Yes, this is possible. @julianojg .

 

YOu have to add the id of a particular div or section in your URL to scroll down to the particular part of the page. like you have to scroll down to the logo section which section id="logosec". then make the URL like 

 

http://www.storeurl.com/another-page#logosec

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram

Guleria
Shopify Partner
3186 620 891

Hello @julianojg ,

Yes possible, you can check here  
A/to your requirement the href will be https://store-url/product/#targetID

 

Thanks

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me. - Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
- Support me PayPal
julianojg
Excursionist
38 5 4

Thanks for the reply! However I am having trouble finding the file for my product page

Guleria
Shopify Partner
3186 620 891

Product file is under Sections -> main-product.liquid
 

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me. - Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
- Support me PayPal