x

Back button

Hello,

I was wondering if there is a way to add a back button to product pages?

Thank you,

J.

1,767 Views
Message 1 of 4
Report
3 REPLIES 3
Square

Possibly, but it would require editing template partials for the theme. If you've got a really good understanding of HTML and are comfortable working with Javascript, it would be possible to add some kind of link that essentially does the equivalent of hitting the back button in a browser.

1,762 Views
Message 2 of 4
Report

Thank you for your response.  I am sort of new HTML and haven't really worked with Javascript that much, but maybe it is something I can look into.

1,748 Views
Message 3 of 4
Report

Maybe this code can help. Just put it in Embed Code.

<button onclick="goBack()">Go Back</button>

&lt;script&gt;
function goBack() {
window.history.back();
}
&lt;/script&gt;
1,356 Views
Message 5 of 4
Report