Query sort order
-
Hi,
I’m looking to make a query where I select products and sort them by meta key (custom field) + add the products where the meta key doesn’t exist.
So sort order:
first: meta key value ASC
then: meta key (custom field value) non existingEvery time I add sorting meta_value or meta_value_num he doesnt show the items where the key doesnt exist.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query sort order’ is closed to new replies.