More Sorting Options for WooCommerce

Add new custom, rearrange, remove or rename WooCommerce sorting options with More Sorting Options for WooCommerce plugin.

Author: Pablo Pacheco SKU: N/A Category: Tag: Version: 3.1.8; Last updated: 16 hours ago; Requires WordPress version: 4.4; Tested up to: 4.9


This plugin is a premium version of free "More Sorting Options for WooCommerce" plugin.

More Sorting Options for WooCommerce plugin extends WooCommerce by adding more sorting options. With this plugin you can:

  • Add custom sorting options to WooCommerce (sort by title, SKU, stock quantity etc.).
  • Add sorting by custom meta field.
  • Rename or remove default WooCommerce sorting options.
  • Rearrange sorting order in drop down on frontend.
  • Completely remove all product sorting from shop frontend.

All settings are accessible from “WooCommerce > Settings > More Sorting”.

After adding custom sorting or custom meta sorting you may want to set it as default – this can be done in “WooCommerce > Settings > Products > Display > Default product sorting”. Plugin’s custom sorting will be automatically added to the list there as soon as you enable it.

Custom Sorting

This section allows you to add predefined custom sorting options.

More Sorting Options for WooCommerce - Admin Settings - Custom Sorting

You can add sorting by (fill option with some value to enable; set option blank to disable):

  • date (ascending)
  • title: A to Z (alphabetically)
  • title: Z to A (alphabetically)
  • slug: A to Z (alphabetically)
  • slug: Z to A (alphabetically)
  • SKU: low to high
  • SKU: high to low
  • stock quantity: low to high
  • stock quantity: high to low
  • total sales: low to high
  • total sales: high to low
  • last modified date: oldest to newest
  • last modified date: newest to oldest
  • author ID (ascending)
  • author ID (descending)
  • product ID (ascending)
  • product ID (descending)
  • number of comments (ascending)
  • number of comments (descending)
  • random sorting
  • no sorting

When sorting by SKU, you can choose if you want sort SKUs as numbers or as text.

Custom Meta Sorting

This section allows you to add sorting by any custom product meta.

For example you could add sorting by weight:

More Sorting Options for WooCommerce - Admin Settings - Custom Meta Sorting

Choose if you want to treat values as numbers or as text when sorting. Possible values: Text; Numbers.
Default: Text
Meta Key
Set meta key here. E.g.: _weight.
Default: None
Secondary Sorting
Choose how you want products with same meta to be sorted. Possible values: None; ID; Parent ID; Title; Name (i.e. slug); Date; Last modified date; Author; Random; Comment count.
Default: None
Possible values: Ascending; Descending.
Default: Ascending
This parameter will be added to URL. Important: Do not use hyphens (-). Order parameter (i.e. -asc or -desc) will be added automatically.
Default: custom_sorting_1
Frontend title.
Default: Custom Meta Sorting #X

Default WooCommerce Sorting

In this section you can rename or remove any of WooCommerce default sorting options.

More Sorting Options for WooCommerce - Admin Settings - Default WooCommerce Sorting

Rearrange Sorting

If you want to change the order of sorting options on frontend (in drop down box), you can do that in this section.

More Sorting Options for WooCommerce - Admin Settings - Rearrange Sorting

Default order is:

Standard WooCommerce sorting:


menu_order is for “Default sorting”.

Plugin’s custom sorting:


After that custom sorting by meta is added (e.g. custom_sorting_1-asc etc.).

Remove Sorting

This section lets you completely remove all sorting from frontend.

More Sorting Options for WooCommerce - Admin Settings - Remove All Sorting


Some themes (e.g. Avada) replaces default WooCommerce sorting with theme's custom. With theme's custom sorting some (or all) plugin's option may not function. You can restore default WooCommerce sorting here. If your theme is not listed - try Other option or select some theme from the list - it may be that your theme uses same functions to replace default WooCommerce sorting.

Possible values: Avada; Avada (no CSS); Revo; Revo (no CSS); Other.
Default: Avada
This plugin is an extended version of free More Sorting Options for WooCommerce plugin.

Free vs Pro

Free Version Pro Version
Custom Sorting Except "Sort SKUs as numbers instead of as text" option yes
Custom Meta Sorting Maximum one custom meta sorting Unlimited
Default WooCommerce Sorting no yes
Rearrange Sorting yes yes
Remove Sorting no yes
Advanced yes yes

Prices & Licenses

Single siteUnlimited sites
1 year$19.99$39.99 $29.99
Lifetime$49.99 $48.99$99.99 $59.99


There are no reviews yet.

Be the first to review “More Sorting Options for WooCommerce”

40 thoughts on "More Sorting Options for WooCommerce"

  1. gellyfit September 18, 2017 at 12:50 pm #

    How i can put the default woocomerce sorting is by the newest date ?


    • Pablo Pacheco November 1, 2017 at 5:14 pm #

      Hello Gellyfit,
      On the next version (3.1.3), we will be adding a new option “Sort by date – descending”.
      Meanwhile, you can use the “Sort by last modified date: newest to oldest” option.

      After filling this option with some value, you can set this by default accessing:
      WooCommerce > Settings > Products > Display > Default product sorting


  2. Youngah September 26, 2017 at 2:35 am #

    SKU alingnment is not possible. What should I do?


    • Pablo Pacheco November 1, 2017 at 5:08 pm #


      What do you mean by alignment? It would be sorting?
      What happens when you try to use it?
      Have you tried “Sort by SKU” option?


  3. MikYF October 2, 2017 at 11:02 am #

    I bought your plugin, but I can not get it to work. With the free version it was all good. But now I can not activate the custom sorting. It only works if I edit “Default WooCommerce Sorting”. Can you help me?


    • MikYF October 2, 2017 at 11:35 am #

      The Default Product Sorting option does not appear here:

      WooCommerce > Settings > Products > Display > Default Product Sorting



    • MikYF October 4, 2017 at 9:07 am #

      Hi. Anyone there?


      • Tom Anbinder October 21, 2017 at 6:55 pm #


        As discussed in private emails – for some reason, one of files in plugin (\wp-content\plugins\woocommerce-more-sorting-pro\includes\class-alg-wc-more-sorting-custom-sorting.php) was completely empty. Not sure why this could happen, but when I just reinstalled the plugin – all was fixed.

        Best regards,


  4. dalynino October 4, 2017 at 4:08 am #

    I must have renamed “Sort by newness” to “Sort By popularity” somewhere.
    I cannot fix it or override it with this plugin.

    Do you have an advice?


    • Pablo Pacheco November 1, 2017 at 6:12 pm #

      Hello Dalynino,

      There is an option called “Sort by last modified date: oldest to newest”.
      Did you rename this option to Sort by Popularity?

      Can you elaborate it?


  5. Steven Morris November 28, 2017 at 3:41 pm #

    In Custom Meta Sorting im using an attribute (called sorting) this contains the price of the item. We have some call for price items so these are set at a high number in the sorting attribute to bring them to the bottom if you sort low to high. its not working properly its sorting them but not in the right order. Ive got it set to sort by number. Any suggestions


    • Pablo Pacheco November 28, 2017 at 6:41 pm #

      Hello Steven,

      I’ve made some tests here and apparently this feature should be working.
      Can you make a WordPress user for me? If you can, please use this e-mail (


      • Steven Morris November 29, 2017 at 9:13 pm #

        Ive sent you the login to our staging and testing site


        • Pablo Pacheco November 29, 2017 at 9:15 pm #

          Ok thanks,

          I’m taking a look at this exact moment


  6. Simon M Lewis January 11, 2018 at 10:36 am #

    Hi. We are trying to set the sorting by Title then by Stock.
    It seems that using the Custom Meta Sorting can do secondary sorting, but only Stock first, then Title.
    Can it be the other way around??

    So it’s in Alpha order, then stock (so out of stock at bottom)??


    • Pablo Pacheco January 11, 2018 at 8:30 pm #

      I’ve seen your other message.

      I’m implementing a new option to always move the out of stock items to the end regardless of the sort option you choose. Would you like that?

      Do you think it would solve your issue?


    • Pablo Pacheco January 23, 2018 at 6:00 pm #

      Hi again Simon,

      Can you try the most recent version (3.1.3)?
      I’ve finally added that option I mentioned before to move out of stock items to the end.

      Maybe that solves your issue.
      See you


  7. 4mengroup January 23, 2018 at 2:26 pm #

    Looking into this plugin but I cannot get the META sorting working… I guess the problem is the MetaKey. Using custom product attributes and pa_vintage should be the key. Any suggestions???


  8. 4mengroup January 26, 2018 at 7:23 am #

    So I bought this plugin and get a fatal error:

    Warning: require(/home/weinmay/public_html/wp-content/plugins/woocommerce-more-sorting-pro/vendor/composer/../algoritmika/woocommerce-more-sorting/woocommerce-more-sorting.php): failed to open stream: No such file or directory in /home/weinmay/public_html/wp-content/plugins/woocommerce-more-sorting-pro/vendor/composer/autoload_real.php on line 66

    Fatal error: require(): Failed opening required ‘/home/weinmay/public_html/wp-content/plugins/woocommerce-more-sorting-pro/vendor/composer/../algoritmika/woocommerce-more-sorting/woocommerce-more-sorting.php’ (include_path=’.:/root/.phpbrew/php/php-5.6.6/lib/php’) in /home/weinmay/public_html/wp-content/plugins/woocommerce-more-sorting-pro/vendor/composer/autoload_real.php on line 66

    This following file does not exist!?!?


    Thanks for your support!


    • Pablo Pacheco January 26, 2018 at 12:25 pm #


      Sorry, it must have been a problem with Composer files.
      I’ve just updated the plugin to version 3.1.4. Can you please get this new version and try again?

      If you have the wpfactory helper plugin, there will be an update for you automatically.
      Let me know if you have any issues


      • 4mengroup January 29, 2018 at 7:52 am #

        Hi there — it’s working with the new files! THANX!


        • Pablo Pacheco January 29, 2018 at 9:36 pm #


          Thanks for letting me know 🙂
          If you have any issues please get in touch,

          See you


  9. Wouter January 31, 2018 at 12:39 pm #


    Would it be possible to sort my products based on the category they’re in? And then preferrably allow me to rearrange the categories thus allowing me to arrange the order in which they appear?

    I’ll elaborate:
    I have set up a woocommerce shop where I sell trading card game cards, and each card (or other product) belongs to a specific set, (the categories). I’m seeking a solution where I’m able to set all products belonging to category A to the top of the shop page, all products belonging to category B next, etc. Preferrably the order of the categories in the Product categories-page of the wordpress admin page (products>categories). So I can drag these around, although a custom set order somewhere else would be fine as well.

    Hope I’ve made it clear. Thanks in advance!

    All the best.


    • Pablo Pacheco January 31, 2018 at 10:14 pm #


      After reading your question I started working on a solution for that.
      I will send you via e-mail a sketch code that you can use on your functions.php. If you like it I will add it on the next version of the plugin


  10. shai_malul February 1, 2018 at 8:03 am #

    hey, i try to change “Default WooCommerce Sorting” labels or to remove sorting types but the changes would not apply.
    This applies to all other categories except for “Custom Sorting”.

    i try to reinstall the plugins but still not working.


    • Pablo Pacheco February 1, 2018 at 4:35 pm #


      I just updated to version 3.1.5 with a fix to this issue.
      Can you please check it?

      You can use the WpcodeFactory helper plugin to update it


  11. Chris Danner February 1, 2018 at 8:50 am #

    Hi! tried the plugin and have the following question. Does “sort by total sales” count the units sold or is it the real sales (money)? And is there a translation for the plugin possible?
    greetings Chris


  12. shai_malul February 27, 2018 at 4:48 pm #

    how can I update the plugin?
    i download the WPFactory Helper and enter site key, pressing on “update manually” and nothing!


    • Pablo Pacheco March 19, 2018 at 6:04 pm #

      Sorry for the delay.

      What is your site URL?
      Do you still need some help?


  13. bvsjake March 9, 2018 at 2:35 pm #

    I am developing on a different domain… Can I change the site key after deployment to the live site?


    • Pablo Pacheco March 19, 2018 at 6:20 pm #


      Sorry for the delay.

      That’s not a problem. You just need to generate key (in for your development domain now, and when you move to new domain, you just delete the old key/site and generate new key for new site.


  14. bryandelmonte March 12, 2018 at 1:47 am #

    Oh and just to be clear… I want “year” to be the display arrangement variable…

    So let’s say someone has “ohio” as the region… when it displays… it needs to be for example… Ohio 1931, then 1932, etc., etc., etc. That variable is coded in both the categories and in the new taxonomy set called “Years”.


    • Pablo Pacheco March 19, 2018 at 6:08 pm #


      I’m sorry, can you please explain it with more details?


  15. Binary-IQ April 12, 2018 at 7:33 am #

    I have never used this approach, many thanks for discussing it.


  16. acegrfx May 4, 2018 at 2:19 pm #

    Hi I am having an issue with this plugin under Custom Meta Sorting I first had it sorting by an attribute called sorting with pa_sorting as the meta key and this has stopped working in the last 2 month with newly added products even though they have the attribute attached.

    I have then created a custom field with advanced custom fields called sort with the field name called _sort_price but this doesn’t return anything at all I’ve added the custom field to approx 200 Woocommerce products and using the main shop page to test.

    Our issue is that we have a large percentage of our product range set to “call for price ” with no price attached we are trying to get Woocommerce to sort by only priced items adding the unpriced items at the end we are doing this by exporting all the items pulling it in a spreadsheet adding a column called sort and adding a numeric value going from 1 to however many products there are when we reimport the data we assign the corresponding number to the product in the custom field. if you can email me directly for a login and site address to log in and take a look


    • Pablo Pacheco May 7, 2018 at 6:59 pm #


      Can you please create a WordPress user for

      I just made some tests here and apparently the “Custom Meta Sorting” feature is working as expected, as long there is at least one product registered with the custom meta


  17. Redyor May 29, 2018 at 10:53 pm #


    Can this plugin sort by stock for variable products, meaning that each variable product have a different quantity remaining , it would sort it based on the total of variable product available?



Leave a Reply


= 3.1.8 - 15/06/2018 =
* Add discounts sorting option
* Add WC requirement
* Add WC tested up to
* Update tested up to

= 3.1.7 - 03/02/2018 =
* Fix php warning related to is_shop() function

= 3.1.6 - 01/02/2018 =
* Fix php warning

= 3.1.5 - 01/02/2018 =
* Fix premium sections

= 3.1.4 - 26/01/2018 =
* Fix composer files

= 3.1.3 - 23/01/2018 =
* Add sorting by date - descending
* Add composer to handle dependencies
* Add option to move out of stock items to end

= 3.1.2 - 21/10/2017 =
* Dev - WooCommerce v3.2.0 compatibility - Admin settings select type fixed.
* Dev - "Remove All Sorting" now only removes sorting from frontend and leaves it enabled in backend (so e.g. default product sorting can be set to some custom sorting).
* Dev - Savings setting array as main class property.
* Dev - Code refactoring.

= 3.1.1 - 23/07/2017 =
* Dev - WooCommerce v3.0.0 compatibility - woocommerce_clean() replaced with wc_clean().
* Dev - Advanced - Restore default WooCommerce Sorting - remove_action added to avada option.
* Dev - Plugin header ("Text Domain") updated.
* Dev - Link updated from to

= 3.1.0 - 08/03/2017 =
* Dev - "Custom Meta Sorting" section added.
* Dev - Custom Sorting - "No sorting" option added.
* Dev - Custom Sorting - "Random sorting" option added.
* Dev - Custom Sorting - "Sort by number of comments" options added.
* Dev - Custom Sorting - "Sort by slug" options added.
* Dev - Custom Sorting - "Sort by total sales" options added.
* Dev - Custom Sorting - "Sort by product ID" options added.
* Dev - Custom Sorting - "Sort by date (ascending)" option added.
* Dev - Custom Sorting - "Sort by author" options added.
* Dev - Custom Sorting - "Sort by last modified date" options added.
* Dev - Advanced - "Restore default WooCommerce Sorting" option added.
* Dev - Admin settings divided into separate sections. Dashboard added to General settings section.
* Dev - ID added as second orderby param.
* Dev - "Reset settings" checkbox added.
* Dev - Code refactoring: separate order param added (e.g. sku_asc replaced with sku-asc); title removed as it already exists in WooCommerce default function.

= 3.0.2 - 19/12/2016 =
* Fix - Multisite WooCommerce check fixed.

= 3.0.1 - 15/12/2016 =
* Fix - handle_deprecated_options() fixed. This produced notice on plugin activation.

= 3.0.0 - 13/12/2016 =
* Fix - load_plugin_textdomain() moved from init hook to constructor.
* Dev - Remove All Sorting - Empty loop/orderby.php template added to ensure maximum compatibility;
* Dev - Remove All Sorting - Storefront theme compatibility added.
* Dev - Remove All Sorting - init hook replaced with wp_loaded for remove_sorting().
* Dev - "Rearrange Sorting" section added.
* Dev - "Default Sorting Options" section added.
* Dev - Code refactoring. "Custom Sorting" - "Enable Section" checkbox added. Functions renamed etc.
* Tweak - Plugin renamed.

= 2.1.0 - 08/10/2016 =
* Dev - Version variable added.
* Dev - Multisite support added.
* Fix - link fixed.
* Tweak - Plugin renamed.
* Tweak - Author added.
* Tweak - Readme.txt header updated.
* Tweak - Language (POT) file added.

= 2.0.1 - 27/08/2015 =
* Dev - Remove All Sorting - Blaszok theme compatibility added.

= 2.0.0 - 29/07/2015 =
* Dev - Option to treat SKUs as numbers or texts when sorting, added.
* Dev - Sorting by stock quantity - added.
* Dev - Major code refactoring. Settings are moved to "WooCommerce > Settings > More Sorting Pro".

= 1.0.2 =
* 'Remove any sorting option' option added
* Sort by SKU option added
* Default sorting bug fixed

= 1.0.1 =
* 'Remove all sorting' option added

= 1.0.0 =
* Initial Release


  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.


To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.