Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2014
    Location
    Slovakia
    Posts
    2
    Plugin Contributions
    0

    Default Custom Sort Order does not work

    Hi folks,

    I need your advice. Tried to look up everywhere, but no success.

    By default, my products are displayed by ID descending, i.e. from newest to olders.

    Then, I wanted certain categories with custom sort order. I added numbers to all the products like this:
    Click image for larger version. 

Name:	zen1.jpg 
Views:	190 
Size:	18.4 KB 
ID:	14134
    https://www.dropbox.com/s/shaxdw1ls53njrx/zen1.jpg

    However, they are still displayed by ID
    http://www.deepgirldesign.com/store/...ex&cPath=32_43

    I found this post
    http://www.magento60s.com/zen-cart/m...der-36484.html

    and double-checked that Display Product Listing Default Sort Order is left blank, even though no. 6 did not work either
    Click image for larger version. 

Name:	zen2.jpg 
Views:	154 
Size:	23.9 KB 
ID:	14135
    https://www.dropbox.com/s/cax3fe7dv5dfzx1/zen2.jpg

    The Previous Next - Sort Order as set in Configuration ... Product Info ... works.
    Click image for larger version. 

Name:	zen3.jpg 
Views:	157 
Size:	24.9 KB 
ID:	14136
    https://www.dropbox.com/s/ngezylyl51lzyll/zen3.jpg

    Could you please help me with a settings, so the category displays products in the custom sort order?

    THANK YOU!

  2. #2
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Custom Sort Order does not work

    Under "Catalog" - "Categories/Products" you should see the sort order for each category. (See red rectangle in image below.) That should be where you define the sort order.

    Click image for larger version. 

Name:	catagories_sort.jpg 
Views:	134 
Size:	25.2 KB 
ID:	14137

  3. #3
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Custom Sort Order does not work

    I forgot to add: Edit the category and define the sort order. (The sort order is located at the bottom left when editing a category.)

  4. #4
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Custom Sort Order does not work

    Also, under "Configuration" - "Layout Settings" set the "Category/Products Display Sort Order" to "0".

  5. #5
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Custom Sort Order does not work

    It's also a little unclear whether the desire is to apply this sorting for a unique category as compared to globally, but if you follow the guidance of kahunah above, all items will be sorted by the sort order identified. If certain categories/products are to continue to be listed in a as added basis, then simply updating the product(s) to contaain the sort order associated/desired will keep them in that order until changed. There are ways to do this en masse if you have several products already in your store. (Ie, make the sort order 10 times the current product I'd which would allow some slight resequencing/addition later or could just equal the current product id and then it is a little easier to tell what is what. :) )
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Jun 2014
    Location
    Slovakia
    Posts
    2
    Plugin Contributions
    0

    Default Re: Custom Sort Order does not work

    Thank you for your quick reactions.

    We might have misunderstood each other - I don't want to sort categories, but PRODUCTS within a certain category.

    I applied custom sort order on them as you can see here:
    https://www.dropbox.com/s/shaxdw1ls53njrx/zen1.jpg

    But they still show by ID descending:
    http://www.deepgirldesign.com/store/...ex&cPath=32_43

    And yeah, I already got "0" set under "Configuration" - "Layout Settings" - "Category/Products Display Sort Order"

  7. #7
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Custom Sort Order does not work

    Quote Originally Posted by DeepGirl View Post
    Thank you for your quick reactions.

    We might have misunderstood each other - I don't want to sort categories, but PRODUCTS within a certain category.

    I applied custom sort order on them as you can see here:
    https://www.dropbox.com/s/shaxdw1ls53njrx/zen1.jpg

    But they still show by ID descending:
    http://www.deepgirldesign.com/store/...ex&cPath=32_43

    And yeah, I already got "0" set under "Configuration" - "Layout Settings" - "Category/Products Display Sort Order"
    Thank you for letting us know about having that setting established. Perhaps there was some "over communication" about the various sorts.

    I found today, the following link that may provide some troubleshooting for you to try/look into as it seems something has been modified about the "normal" way ZC functions. (Maybe an add-on was incorporated that affected the code, etc. I wouldn't initially think that it was malicious, considering we're talking about a sort order problem, not something more.)

    The link included is the first point at which a code modification repaired the problem. There is assistance offered earlier and later for identification of how a standard cart could be setup to provide the sort order you would like.

    http://www.zen-cart.com/showthread.p...489#post710489

    Good luck.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Apr 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: Custom Sort Order does not work

    What is your setting under "Configuration" - "All Listing" "Display Product Display - Default Sort Order"?

    Mine is set to "1" which results in the products being sorted alphabetically by "Product Name" if all sort orders are the same value. However, if I change the sort order number for the product, it overrides and sorts by the value first and then by product name.

    This site is not yet live, but it may help. If you would like pdf files of my configuration settings, I'd be happy to share them.
    http://www.uniqueideasnmore.com/shopping
    Last edited by kahunah; 6 Jun 2014 at 03:58 PM.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Custom Sort Order does not work

    Quote Originally Posted by kahunah View Post
    What is your setting under "Configuration" - "All Listing" "Display Product Display - Default Sort Order"?

    Mine is set to "1" which results in the products being sorted alphabetically by "Product Name" if all sort orders are the same value. However, if I change the sort order number for the product, it overrides and sorts by the value first and then by product name.

    This site is not yet live, but it may help. If you would like pdf files of my configuration settings, I'd be happy to share them.
    http://www.uniqueideasnmore.com/shopping
    That only affects the products listed when viewing the all products area. That said, it would be beneficial to look at the various listing screens (all products, new products, featured products, etc to see if the sort order applied to the product is respected on any of those listings. If some yes, others no, then there is more than likely a change that happened to thecode that does the sorting. The post at the other end of the link provided (ie, click link and see that post) identifies a file that controls what the default sort order is. (Sort order expected when the configuration setting is left blank.) It may have been modified from the default cart, or in the possible upgrade to 1.5.0, the file(s) were not properly upgraded. How did you come to have version 1.5.0? (Upgrade? Fresh install? Etc...)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 how does one create a custom categories sort order??
    By tlyczko in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 14 Jan 2013, 09:17 PM
  2. v151 my custom jQuery code does not work, why??
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 27 Dec 2012, 12:09 AM
  3. v139h Custom product meta tag does not work
    By wlanguide in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 16 Feb 2012, 02:44 PM
  4. Expected Sort order does not work
    By PeterBKK in forum General Questions
    Replies: 9
    Last Post: 25 Apr 2008, 10:46 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