• Resolved Apfelbiss

    (@apfelbiss)


    Hello,

    I want to sort the products by two values in a combined way:

    1. manufacturer name (A-Z), saved as custom meta field in the main product
    2. min-price (ascending)

    This code works fine to roder by custom meta field. But how can I sort all products from the same manufacturer by price?

    I found this answer, but I don’t know where to put the code, to test if that works for me.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple ‘orderby’ für WooCommerce Products’ is closed to new replies.