Hi Team,
Can you guide me how to hide the “add to cart” button in single product page, if product already in cart ?
I already hide “add to cart” button in shop page using this filter “woocommerce_loop_add_to_cart_link”, which i add extra class into a link tag if product already in cart, and it already suceeded, but in single product page, it still appear.