Shopify themes, liquid, logos, and UX
Within the product page, I'd like to add back arrow or back button. This button would be located in the top left corner of the product page and send them back to their previous location.
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
where do you need this button?
I need the button in the top left corner of the page, below the navigation menu.
How to add Back button on products browsing page, checkout page and continue shopping button at check out or payment page.
try this cocde
Go to the Online store > Theme > Sections > main-product-template.liquid file and add following code where you want to add Back button.
<a href="javascript:history.go(-1)">back</a>
User | RANK |
---|---|
235 | |
158 | |
60 | |
55 | |
47 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023