I need help creating a home butoon on the product pages.
Topic summary
- Goal: add a Home button on product pages.
- Suggested first step: check the theme customizer to see if you can add a link or button directly to the product template; link it to the homepage.
- If the customizer doesn’t support it, manually add a button in the product template and style it, pointing to the home URL.
- Alternative option: implement a context-aware button that returns the user to the previous page (home if they came from home, otherwise back to the originating collection or page).
- No code or screenshots provided; no specific theme mentioned.
- Status: no resolution yet; action is to verify customizer capabilities or proceed with manual/button implementation.
Please check if your customizer allows you add link or button to product template. This way you just need to add a link to your home page that’s it.
If not, you will probably need to add a button and style it accordingly with your home page link.
I can also implement a functionality where you can add a button which takes user to not the home page but to the previous page. So if a user comes from home page to a product the button takes user back to home, if user comes from collection or any page it will take user back to that specific page.
Best
Shadab