Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

How to create Back Button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-07-2005, 12:00 PM
 
aschouela aschouela is offline
 

Member
  
Join Date: Mar 2005
Posts: 15
 

Default How to create Back Button

I woudl like to place a continue shopping button in my shopping cart which basically goes back to the last page that they were on prior to adding an item to their shopping cart. I figure the button needs to look comethign like this:

{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" onClick="history.back()"}

But I do not know the code I need to call the back function.

Any Suggestions?
__________________
Adam
x-cart-4.0.12gold
Unix OS
Reply With Quote
  #2  
Old 06-07-2005, 12:07 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Be sure and search the forums thoroughly before posting:

http://forum.x-cart.com/viewtopic.php?t=1124
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:29 AM.

   

 
X-Cart forums © 2001-2020