Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Display products alphabetically

    Hi
    Is it possible to display products alphabetically by default?
    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Display products alphabetically

    admin > config > layoutsettings > Categories/Products Display Sort Order > select for the options
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Display products alphabetically

    Thanks,
    That didn't do it, but I did find the problem. One of the many mods I installed had an overwrite for the default_filter.php. As soon as I removed it the problem was fixed. Hopefully it didn't break something else as I don't know what mod it was part of.
    Thanks again.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display products alphabetically

    Files are not included in mods unless there is a need for them, so removing one will break whatever that version was supposed to do. You'll have to test things until you find what is not working... may be tricky if it was an added function that you don't realize is now missing.

  5. #5
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Display products alphabetically

    I have compared the two default_filter.php files and they are different. The one causing problems was an older version copyright 2007, the newer one 2009.
    Thanks

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display products alphabetically

    So the mod file was missing some code from the recent version. If you want to keep the mod function, whatever it was, you can compare the mod file with a stock v1.3.7 file to find the mod changes, then apply those changes to the newer version of the file.

  7. #7
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Display products alphabetically

    Although there are other differences the line causing the problem was line 131 //$listing_sql .= " order by p.products_sort_order, pd.products_name"; commented out. Any ideas?

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Display products alphabetically

    Not without more context...

  9. #9
    Join Date
    Mar 2010
    Location
    Canada
    Posts
    46
    Plugin Contributions
    0

    Default Re: Display products alphabetically

    I uncommented line 131 and it works. This job has been ongoing for a year now and finally close to going live.(not my fault!). There was so many mods done to the site I don't remember half of them. This was my first attempt at a Zencart site. Next time I'll keep track of every mod done so I can backtrack.
    Thanks

 

 

Similar Threads

  1. v139h Sorting products alphabetically by title
    By jgold723 in forum General Questions
    Replies: 2
    Last Post: 21 Sep 2012, 08:45 PM
  2. v139h How to sort products alphabetically?
    By DocRocks in forum General Questions
    Replies: 6
    Last Post: 15 Feb 2012, 08:05 PM
  3. organizing products alphabetically on invoice
    By ifeatherston in forum General Questions
    Replies: 0
    Last Post: 6 Oct 2011, 10:34 PM
  4. Replies: 4
    Last Post: 11 Jun 2008, 08:50 PM
  5. New Products Listing only sorting alphabetically?
    By domnz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 May 2008, 08:13 AM

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