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

Back button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-01-2004, 06:19 AM
 
Tonto Tonto is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Toronto - Canada
Posts: 37
 

Default Back button

Hi,

Is there a way to place a back button on the 'details' page? I know you can click on the breadcrumbs to go back, but you know how it is - the more clicks the better.
Reply With Quote
  #2  
Old 10-01-2004, 08:17 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

do a search in the forum for continue
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 10-01-2004, 09:30 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #4  
Old 10-01-2004, 10:08 AM
 
Tonto Tonto is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Toronto - Canada
Posts: 37
 

Default Back button

I like both recommendations, but where do I add it. i.e. cotc2001's version is more familiar to me, but is there a spot I can put it so that it's generated every time I create a new product?

Thanks
Reply With Quote
  #5  
Old 10-01-2004, 10:16 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

products.tpl, product.tpl, checkout.tpl

take your pick, use the webmaster mode to find the most suitable section for you.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #6  
Old 10-01-2004, 11:18 AM
 
Tonto Tonto is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Toronto - Canada
Posts: 37
 

Default Back button

Thanks for that.

Can you be specific about placement of the code? I tried it in product.tpl and products.tpl and nothing happened.

Thanks
Reply With Quote
  #7  
Old 10-01-2004, 02:41 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Hmmm i just tried it in 4.0.3 and it worked fine

products.tpl

Code:
section name=product loop=$products} {assign var="discount" value=0} <TABLE border="0" width="100%"> <TR><TD width="90" align="center" valign="top"> Go Back To The Previous Page <A href="product.php?productid={$products[product].productid}&cat={$cat}&page={
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:53 AM.

   

 
X-Cart forums © 2001-2020