With Dynamic Visibility Trigger WooCommerce, you can show or hide content based on whether the cart is empty or not, the current product type, the product in the cart, and the product category in the cart.
Use Cases
It is helpful when you don't want to show some specific content when the product type is an affiliate or an external product.
You can show or hide the content on the page when the specific product is in the cart.