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

Cart - newest item added to cart to appear at top of cart page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-31-2006, 08:26 AM
 
htb htb is offline
 

Member
  
Join Date: May 2006
Posts: 19
 

Default Cart - newest item added to cart to appear at top of cart page

I would like to change the order in which an item is added to the cart. Currently the newest item is added after the previous item in the cart. I would like to change the order so that the newest item added to the cart appears before the previous item in the cart.

Can this be controlled through the administrator or do I need to make a code change.

Thanks, Jan
__________________
http://www.huggableteddybears.com
xcart 4.1.9
Linux
Reply With Quote
  #2  
Old 08-31-2006, 08:45 AM
 
balinor balinor is offline
 

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

Default Re: Cart - newest item added to cart to appear at top of cart page

Welcome to X-Cart! Please start by reading the forum rules, and posting your X-Cart version in your signature (User CP, Edit Signature, enter version, save):

http://forum.x-cart.com/viewtopic.php?t=6489
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-01-2006, 03:03 PM
 
htb htb is offline
 

Member
  
Join Date: May 2006
Posts: 19
 

Default Re: Cart - newest item added to cart to appear at top of cart page

Our Xcart version is 4.0.18. Jan
__________________
http://www.huggableteddybears.com
xcart 4.1.9
Linux
Reply With Quote
  #4  
Old 09-01-2006, 03:08 PM
 
balinor balinor is offline
 

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

Default Re: Cart - newest item added to cart to appear at top of cart page

Ok, that is great, but please read what I wrote. We need you to post it in your signature so that we don't have to ask you every time. Thank you
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-06-2006, 10:40 AM
 
htb htb is offline
 

Member
  
Join Date: May 2006
Posts: 19
 

Default Re: Cart - newest item added to cart to appear at top of cart page

Padriac, I have updated account's signature. Jan
__________________
http://www.huggableteddybears.com
xcart 4.1.9
Linux
Reply With Quote
  #6  
Old 09-06-2006, 12:30 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Cart - newest item added to cart to appear at top of cart page

its a surprisingly simple mod that i decided to add to my own site because you brought it up:

edit: skin1/customer/main/cart.tpl
find: {section name=product loop=$products}
change to: {section name=product loop=$products step=-1}
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #7  
Old 09-06-2006, 02:36 PM
 
htb htb is offline
 

Member
  
Join Date: May 2006
Posts: 19
 

Default Re: Cart - newest item added to cart to appear at top of cart page

Great! The items in the cart now appear at the top of the page. Thanks for your help. Jan
__________________
http://www.huggableteddybears.com
xcart 4.1.9
Linux
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 11:14 AM.

   

 
X-Cart forums © 2001-2020