How to use a custom query to get related products?

Please help me with query related products. I need a custom look, which unfortunately cannot be achieved using the Related products element made by Bricks.

It can be done, I already gave the answer in that topic but I will do it again here.

Here is a screenshot with the requirements

Here is the result:Salata Y - Kokopelli

1 Like

I tried this, unfortunately it doesn’t work for me

Why admin’s don’t respond to that thread? Is this a rarely used feature. I do not think so.

It works to me, but only if I add “IN” in compare

My issue was query “related products” in the same product’s category on single product page.

I also tried some stuff with the “Related Products” component - but it never worked (within a query container, etc). What I’ve ultimatly done was :

Container’s query :slight_smile:

  • Type : products
  • -1
  • WooCommerce : “similar products” ticked
  • Taxonomy query :
    image

Hope it will help someone on this old thread!