I have the following search criteria:


I'm trying to query all products and return ONLY products with both options A and B selected for the custom attribute free_from.

Currently with the above search criteria, A and B for example, i get search results for products where EITHER A or B is assigned.

I only want to return results where BOTH A and B are selected.

Is this possible? I'm assuming i would need to tap into the internal logic for querying products. Or should i simply change the search query in some way?


  • did you find any solution? I am also facing the same issue. – Joshi Feb 1 at 14:05

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.