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

    Every 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)
  • Moderator t-p

    (@t-p)

    I recommend asking at your ecommerce plugin’s support so the plugin’s developers and support community can help you with this.

    Thread Starter stijndemulder

    (@stijndemulder)

    Ow, ok, thank you. I thought this was a general wp query question…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Query sort order’ is closed to new replies.