Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Maatwerk Online

Sort WooCommerce orders on ordernumber

Hi guys,

I would like to sort my WooCommerce orders on ordernumber. But I don’t see any option to do this. How can I achieve this?

Thanks already for your reply!

Bye,
Nick

4 years, 7 months ago
Stefan van den Dungen Gronovius
Developer

Hi Nick,

By default, the order Number in WooCommerce is just the post ID’s.
This can be changed by multiple plugins to make it something more useful.
Most of those plugins, store the actual order number in a custom field.
Our WooCommerce Order number column uses the WooCommerce method to retrieve the Order number, which makes it impossible (or really slow) to sort on that column. You can try to use the following columns to replace the order number column:

1) ID, this is only possible if the order number is the same as the post ID.
2) Custom Field; try looking for a custom field key that is used to store the actual order number.

4 years, 7 months ago
Maatwerk Online

Thanks, I added the ID as a first column and sorted on that. This works. Thanks!

4 years, 7 months ago

You must be logged in to reply to this topic.