Woocommerce hide user avatars of users who did not buy product
===

first time posting here,

I am using woocommerce and have set up an area below each product to display user avatars, now I would like to hide any users who did not buy that product, leaving only the avatars of people who did buy it.

Could anyone help with how I query if which users bought the product and which didn't?

I'm really new to PHP but have been giving it my best shot and can't figure it out.

Any help much appreciated.

David
