I will give an example what I am trying to make.

I have 1 parent and 2 child categories - Sport > Football & Basketball. Also there are 2 custom taxonomy terms (Brands) - Nike & Adidas.

Now, on my product page, for example Football - I want to display all products that belong to Football category (and that is not a problem) but I want to display them by order of taxonomies - so I want Football Nike products to be first and then Football Adidas products to be displayed)

The same thing goes with Basketball or Sport categories.

If I exclude custom taxonomy (Brand) I have a problem to sort products in Sport - so I want Football products to be in front of Basketball products - my woocommerce keeps sorting all products from these 2 categories by name.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.