Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default How to display Out of Stock items last in list

    Greetings,

    I would like to modify my store such that Out of Stock items (qty<=0) would display at the bottom of the list when browsing all of the various product listing pages (product listing, all products, specials, featured, etc.).

    What file(s) would I need to modify? Suggested sql?

    Thanks
    Experience is what you get when you don’t get what you want…

  2. #2
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: How to display Out of Stock items last in list

    It is a simple mod - I have done it, check this thread out:

    https://www.zen-cart.com/showthread....ock-items-last

  3. #3
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: How to display Out of Stock items last in list

    Quote Originally Posted by PatClay View Post
    It is a simple mod - I have done it, check this thread out:

    https://www.zen-cart.com/showthread....ock-items-last
    Excellent! Thanks PatClay, I'll give it a go.

    Another option would be to only display Out of Stock items if you have a direct link, such as a bookmark to that product. Any idea of how to do that?
    Experience is what you get when you don’t get what you want…

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: How to display Out of Stock items last in list

    Quote Originally Posted by kwright View Post
    Excellent! Thanks PatClay, I'll give it a go.

    Another option would be to only display Out of Stock items if you have a direct link, such as a bookmark to that product. Any idea of how to do that?
    Nog ideal, but you could make a new disabled category, and (link) copy the product there. This way normal browsing will show the product.

  5. #5
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: How to display Out of Stock items last in list

    Quote Originally Posted by Design75 View Post
    Nog ideal, but you could make a new disabled category, and (link) copy the product there. This way normal browsing will show the product.
    Yes, found this thread. Page 4 has a good summary of what to do: https://www.zen-cart.com/showthread....quot-a-product
    Experience is what you get when you don’t get what you want…

 

 

Similar Threads

  1. Show out of stock items last
    By matchlock in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 8 Apr 2013, 05:25 PM
  2. v150 Out of stock items in the end of lists - how to do?
    By rafcamera in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 5 Mar 2012, 12:27 PM
  3. how do i not display out of stock items?
    By proseller in forum General Questions
    Replies: 6
    Last Post: 30 Nov 2010, 08:04 PM
  4. display out of stock items
    By avf in forum Setting Up Categories, Products, Attributes
    Replies: 18
    Last Post: 27 Sep 2010, 02:52 AM
  5. setting to display out of stock items
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 10 Nov 2007, 04:03 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR