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

Make newest products show first in categories.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-04-2005, 12:50 PM
 
dgrif dgrif is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 68
 

Default 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
__________________
x-cart-4.0.13 gold
Reply With Quote
  #2  
Old 04-04-2005, 01:34 PM
 
balinor balinor is offline
 

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

Default

Use the 'Pos' fields in the categories section. The lower the number, the higher up on the list it shows.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-06-2005, 06:45 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

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.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #4  
Old 04-06-2005, 06:50 AM
 
dgrif dgrif is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 68
 

Default Newest products first

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

Thanks
Delores
__________________
x-cart-4.0.13 gold
Reply With Quote
  #5  
Old 04-06-2005, 07:14 AM
  shan's Avatar 
shan shan is offline
 

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

Default

http://forum.x-cart.com/viewtopic.php?t=17780
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 05-18-2005, 03:44 PM
 
bmm bmm is offline
 

Member
  
Join Date: Apr 2003
Location: Laguna Beach, Ca
Posts: 11
 

Default

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.
__________________
Well, someone has the answer, go find them!

x-cart gold version 4.0.12
apache 1.3.33 linux
perl 5.008 linux
php 4.3.10 linux
mysql 4.0.22-standard
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 03:11 AM.

   

 
X-Cart forums © 2001-2020