Results 1 to 5 of 5
  1. #1

    How to change the sorting of the all products listing?

    I'd like to be able to control how the products are ordered in both the all products listing and the featured products listing. Any idea how? Sorting them arbitarily would be great, but having them sorted by category would also work (books before posters before ebooks, etc...that's what I am after).
    The best in new and original science fiction and fantasy novels
    www.kingtigerbooks.com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to change the sorting of the all products listing?

    You could customize this so use the master_categories_id if you do not use Linked Products, or a more difficult sort would be to include the categories_description table via the products_to_categories relationship ...

    This could get complicated on the Sort Order dropdown depending on what you want that to do, if anything, once the customer sets their own sort order ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3

    Default Re: How to change the sorting of the all products listing?

    Thanks for the quick reply. I can see what the master category id is for each product, but how do I sort by it? As for the dropdown, I don't have a ton of products so removing it from the page should be fine.

    Sorting via the category description seems interesting, but perhaps overkill. Where is that code? Where do I modify stuff like that?

    Thanks again!
    The best in new and original science fiction and fantasy novels
    www.kingtigerbooks.com

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

    Default Re: How to change the sorting of the all products listing?

    If you don't have "a ton of products", how's about changing the product sort order and changing Admin -> Configuration -> All Listing -> Display Product Display to 8? Same with Featured Listing.

    You could reserve product sort orders for books(Novels?) in the 100 - 199 range, posters to the 200 - 299, and eBoks to 300 - 399. Even if you had no posters, everything would be by the order you want and, when you added posters, they would "slide" right in where you want them.

    Just my 1.3786 cents worth (inflation, don't ya know)

  5. #5

    Default Re: How to change the sorting of the all products listing?

    Thanks. I will give it a shot.
    The best in new and original science fiction and fantasy novels
    www.kingtigerbooks.com

 

 

Similar Threads

  1. v155 How do I change the Meta_Tag_Title for the 'All Products' page?
    By bottyz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jul 2016, 04:43 PM
  2. Replies: 0
    Last Post: 14 Dec 2009, 05:18 AM
  3. Replies: 0
    Last Post: 14 Apr 2008, 08:54 PM
  4. Looking to change the layout for the page that shows the listing for all products
    By webmiss in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 2 Aug 2007, 12:09 AM
  5. How to change the contents of the all products display?
    By gibsons in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Oct 2006, 01:46 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