Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
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

3 weeks, 5 days ago
Stefan
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.

3 weeks, 5 days ago
Maatwerk Online

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

3 weeks, 4 days ago

You must be logged in to reply to this topic.