I need to add a button that takes the user back to the previous page without hitting the back button in the browser on this page:
Any advice on this would be awesome.
<input type="button" value="Continue Shopping!" onclick="history.back()">
You can add this button at any page you want for that function.Add some css to style the button if you like.
I inserted this code into the html on my page and did not work.
You have to enter this page fr another page.Then clicking the button will go back to PREVIOUS page.
<input type="button" onclick="location.href='../'" value="Continue Shopping !">
I think this is what you want.A button to go to home page.