A user added a “Back” button to their Shopify store’s product page using JavaScript code (history.go(-1)) in the product-template.liquid file. The button currently appears on the right side, and they want to move it to the left.
Another user provided a solution involving:
Wrapping the back button in a <div> container with a class
Adding CSS styling with text-align: left to position it on the left side
Optional styling for spacing, padding, background colors, borders, and hover effects
The discussion remains open with no confirmation whether the solution was implemented successfully.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.