Guest Posted May 22, 2003 Posted May 22, 2003 Hi there, I am looking for a way to change the sort order of the shopping cart box in the column_right area. I would like to display last product added on top of this list. We sell a lot of different low price items, in which clients sometimes end up with a very big shopping cart. Therefore I wrote a function that only displays five items in the shopping cart box. Since we do not send the client to the main shopping cart everytime it would be useful that the newest item always stays at top of that list. Can somebody help? Thanks Matt
Guest Posted May 22, 2003 Posted May 22, 2003 Well, I solved it myself... ;-) I just used the sizeof() function and started with the last item using a for statement. If somebody wants to do the same, send me a PM. Regards Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.