Sale!
WooCommerce More Sorting

More Sorting Options for WooCommerce

More Sorting Options for WooCommerce

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

Clear
SKU: N/A. Category: . Tag: .

Description

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

Type
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
Order
Possible values: Ascending; Descending.
Default: Ascending
Parameter
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
Title
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
popularity
rating
date
price
price-desc

menu_order is for “Default sorting”.

Plugin’s custom sorting:

date-asc
title-asc
title-desc
name-asc
name-desc
sku-asc
sku-desc
stock_quantity-asc
stock_quantity-desc
total_sales-asc
total_sales-desc
modified-asc
modified-desc
author-asc
author-desc
product_id-asc
product_id-desc
comment_count-asc
comment_count-desc
rand
none

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

Advanced

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.

Theme
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

Reviews

There are no reviews yet.

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

30 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 ?

    Reply

    • 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

      Reply

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

    SKU alingnment is not possible. What should I do?

    Reply

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

      Hello,

      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?

      Reply

  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?

    Reply

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

      The Default Product Sorting option does not appear here:

      WooCommerce > Settings > Products > Display > Default Product Sorting

      🙁

      Reply

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

      Hi. Anyone there?

      Reply

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

        Hi,

        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,
        Tom

        Reply

  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?

    Reply

    • 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?

      Reply

  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

    Reply

    • 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 (pablo@algoritmika.com)

      Reply

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

        Ive sent you the login to our staging and testing site

        Reply

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

          Ok thanks,

          I’m taking a look at this exact moment

          Reply

  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)??

    Reply

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

      Hi,
      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?

      Reply

    • 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

      Reply

  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???

    Reply

  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!?!?

    /wp-content/plugins/woocommerce-more-sorting-pro/vendor/composer/../algoritmika/woocommerce-more-sorting/woocommerce-more-sorting.php

    Thanks for your support!

    Reply

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

      Hello,

      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 wpcodefactory helper plugin, there will be an update for you automatically.
      Let me know if you have any issues

      Reply

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

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

        Reply

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

          Great!

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

          See you

          Reply

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

    Hi,

    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.
    Wouter

    Reply

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

      Hello,

      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

      Reply

  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.

    Reply

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

      Hi,

      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

      Reply

  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

    Reply

Leave a Reply

Changelog

= 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 http://coder.fm to https://wpcodefactory.com.

= 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 - Coder.fm 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

Installation

  • 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.

Updates

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

Summary

Name: More Sorting Options for WooCommerce Pro
Version: 3.1.7
Last updated: 2 weeks ago
Requires WordPress version: 4.4
Tested up to WordPress version: 4.8
Author: Pablo Pacheco

Free Version

Homepagehttps://wordpress.org/plugins/woocommerce-more-sorting
Downloadhttps://downloads.wordpress.org/plugin/woocommerce-more-sorting.zip
Support forumhttps://wordpress.org/support/plugin/woocommerce-more-sorting