we are often facing the situation to search for specific categories - Party or Product.
Actual we solve this often with a
for category in product.categories: if category == searched_category: ....
( replace the condition with a specific one )
Is it possible to make this easier by an Pyson domain condition like:
specific_products = Product.search([('categories','in',list_of_searched_categories)])
Thank you and best regards,