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?
try this cocde