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)
-   -   Make newest products show first in categories. (https://forum.x-cart.com/showthread.php?t=13208)

dgrif 04-04-2005 12:50 PM

Make newest products show first in categories.
 
Hi,
Is it posssible to make the newest products added show up first in all categories? In the older version of xcart it worked that wayby default.
I'm using sku numbers but it shows the lowest numbers first. It seems like there should be something to edit somewhere to reverse this.

Thanks for any help.
Delores

balinor 04-04-2005 01:34 PM

Use the 'Pos' fields in the categories section. The lower the number, the higher up on the list it shows.

groovico 04-06-2005 06:45 AM

theres also a reverse order feature in the general settings so if you have it active, the latest products added are listed first if the pos id isn't overriding it.

dgrif 04-06-2005 06:50 AM

Newest products first
 
There was in the older version of xcart. It's not in this version I am using.

Thanks
Delores

shan 04-06-2005 07:14 AM

http://forum.x-cart.com/viewtopic.php?t=17780

bmm 05-18-2005 03:44 PM

Quote:

Originally Posted by shan
http://forum.x-cart.com/viewtopic.php?t=17780


Hi , this is exactly where I started...and it works great, but I need some help.
I have added two new Б─°sort byБ─² options at the top of the products page; Б─°sort by dateБ─² (as the example in the above thread shows) and a Б─°sort by brandsБ─².
I set Б─°sort by dateБ─² to the default in admin/general settings, hoping to show the newest products first. But, when the products are displayed, by default the products are displayed in reverse of what I want. The Б─°newestБ─² products are on the bottom, with the Б─°oldestБ─² at the top. The arrow is pointed up. Of course if I hit the Б─°sort by dateБ─² link again, it reverses and is perfect. I JUST need to reverse the Б─°sort by dateБ─² option and not the rest of the sort by options.

I have searched all over for a solution and have already tried;

1. Changing "DESC" : "ASC" in search.php, but this changes ALL of the Б─°sort byБ─² options and I just want to change the Б─°sort by dateБ─² order.
2. I have tried changing $sort direction = 0; in products.php, but again this changes the all of the sort by options.
3. I found posts where this option was built into older versions.

Any help or direction would be appreciated.


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

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