We have added some custom meta fields to our products in a Woocommerce store.
We have these products sorted by this value, but need it to also sort the rest of the products alphabetically if they do not have a value in this field.
So it will be:
If product has the custom field value sort by it, else sort alphabetically.
The alphabetically sorted products should show after the custom field sorted products.
We are flexible on how it's achieved as long as it works.