Query Loop Related Products on Post Template

I would like to display products on my blog posts that are related to the content in the post. I want it to be set dynamically based on a factor, like a tag or category, so if the post and product shared a common term then that is what would use in the related products part of my blog.

Is it possible to do this in the query loop using the taxonomy or meta query? I thought maybe if they both shared the same the same ACF custom taxonomy tag but I can’t seem to get it to work.

making cross-post type related posts a bit complicated

it would be possible to build custom wp_query/loop maybe but
it is a complicated thing to build and it depends on how you want related relations to be.

so I would recommend this plugin for you