Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default My products in categories are displayed in descent order

    6. Products in categories are displayed in descent order

    Today I noticed that products in categories are displayed in descent order . First product displayed is the last one added in stock for respective category .
    Is there a setting to solve that ?

  2. #2
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: My products in categories are displayed in descent order

    It is normal behaviour of 1.5 version ?

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: My products in categories are displayed in descent order

    Have you given any of the products a sort order? Without a sort order, Zen Cart will do its own sort.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: My products in categories are displayed in descent order

    I have Display Product Listing Default Sort Order = 2a like Production environment but products are displayed from the last added till first added on stock for each category . Is there other options to set ?

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: My products in categories are displayed in descent order

    Quote Originally Posted by solo_400 View Post
    I have Display Product Listing Default Sort Order = 2a like Production environment but products are displayed from the last added till first added on stock for each category . Is there other options to set ?
    Nope.. do you have values in your sort order field??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: My products in categories are displayed in descent order

    SOLVED .

    The only way to do it is changing includes/index_filters/default_filter.php

    case 'PRODUCT_LIST_NAME':
    // $listing_sql .= " order by pd.products_name " . ($sort_order == 'd' ? 'desc' : ''); Instead order by NAME i choose ordering by date added !
    $listing_sql .= ' order by p.products_date_added DESC';


    Please put this option on next release :-)

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: My products in categories are displayed in descent order

    Quote Originally Posted by solo_400 View Post
    SOLVED .

    The only way to do it is changing includes/index_filters/default_filter.php

    case 'PRODUCT_LIST_NAME':
    // $listing_sql .= " order by pd.products_name " . ($sort_order == 'd' ? 'desc' : ''); Instead order by NAME i choose ordering by date added !
    $listing_sql .= ' order by p.products_date_added DESC';


    Please put this option on next release :-)
    Are you talking about the store-side displays?? (Honestly.. that wasn't clear from your post which is why we all responded thinking you were talking about the admin side)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: My products in categories are displayed in descent order

    Sorry , my english is not the maximum.

    I was talking about normal browsing . When selecting any category in order to visualize the products ( if I understand well ) only this sort available options :

    Products Display Order by

    0= Product ID
    1= Product Name
    2= Model
    3= Price, Product Name
    4= Price, Model
    5= Product Name, Model
    6= Product Sort Order

    As we see Date Added missing .

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: My products in categories are displayed in descent order

    I'll jump in to say that this is what the new products listing is designed to do. If you want to bring attention to new products, then new products listing is the way to do it throughout the site.
    I could see where it MIGHT be advantageous to have products sorted by date added but, I can't see any reason to add it to the core. The beauty of open source is that you can make it do what you want. There would need to be a large number of "me too's" before core change might be considered. You could package this as an add-on for those that might want to use it in the future.
    As far as I can tell, yours is a first. That doesn't mean it's not going to be important to you. Just not quite ready for core time.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 14 Sep 2011, 11:54 AM
  2. Determining the order in which multiple products are displayed
    By Question in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Oct 2009, 07:34 AM
  3. The order in which reviews are displayed
    By confused_aswell in forum General Questions
    Replies: 2
    Last Post: 8 Nov 2008, 07:27 AM
  4. I'm having trouble changing how categories are displayed
    By darktowerhobbies in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Feb 2008, 02:50 PM
  5. Replies: 2
    Last Post: 27 Dec 2007, 05:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg