Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    32
    Plugin Contributions
    0

    Default creating your own sort order - Is this possible?

    I was wondering if there is anyway to use a custom sort order in ZenCart, instead of the few defaults that are offered.

    my boss (at Mbare.com) would like to either:

    a) have products arranged with the highest-selling first (I know that ZenCart keeps track of this data, so it seems possible. I'm comfortable with PHP/mySQL coding, if that is what it takes)

    b) manually sort them. This would differ based on Product, category, etc. We have a copies of the database in .txt and Excel format. can I just manually change the sort order in the database?

    Thanks in advance for your help.

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

    Default Re: creating your own sort order - Is this possible?

    You can alpha sort accending or decending, or you can assign a sort value to each item and use it - selectable in admin.

    Highest sales will require added code to excecute
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: creating your own sort order - Is this possible?

    How do I set it to do a manual order?

    We decided to just manually put a few of our top items at the top of each list. I left the sort field blank, and tried changing the sort order number to 1, 2, and 3. shouldn't this make them the first three listed? if not, how would I do that?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: creating your own sort order - Is this possible?

    The auto sorts are in the admin

    admin > config > layout settings > Categories/Products Display Sort Order
    admin > config > product info > Previous Next - Sort Order
    and others

    I think what you want is to have it use your defined sort order as set when you enter the products...

    You might use 10, 20, 30... instead of 1, 2, 3...

    This allows inserting some between as 11, 12 etc
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Creating your own template - HELP
    By nxsteven in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 16 Feb 2010, 05:17 PM
  2. Creating your own template???
    By thestampnomad in forum General Questions
    Replies: 2
    Last Post: 21 Oct 2009, 04:20 AM
  3. Creating your own pages
    By evil turinp in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Aug 2009, 08:17 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