View Single Post
  #7  
Old 03-23-2012, 12:54 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Continue Shopping -> Redirect to product

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.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote