X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Cart - newest item added to cart to appear at top of cart page (https://forum.x-cart.com/showthread.php?t=24508)

htb 08-31-2006 08:26 AM

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

balinor 08-31-2006 08:45 AM

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

htb 09-01-2006 03:03 PM

Re: Cart - newest item added to cart to appear at top of cart page
 
Our Xcart version is 4.0.18. Jan

balinor 09-01-2006 03:08 PM

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 :)

htb 09-06-2006 10:40 AM

Re: Cart - newest item added to cart to appear at top of cart page
 
Padriac, I have updated account's signature. Jan

inebriate 09-06-2006 12:30 PM

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}

htb 09-06-2006 02:36 PM

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


All times are GMT -8. The time now is 03:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.