Quote:
onclick="javascript:history.back()"
|
This actually is not good as in some cases will not work as intended. For example - customer adds to cart and then logs out or session expires. Customer logs in again and XC will redirect him/her to the cart because cart is not empty (default XC behaviour). Customer hits the "continue shopping" button - using the js history function customer will be redirected back to the login screen - not good at all.