Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Hide product unless user has specific product and amount in cart

$
0
0

Replies: 1

Hi all,

I am setting up a woocommerce website and I need to hide a certain product unless the user has an x amount of an other product in his/her cart. I can read the carts content and amount, and I got it to add the product to the users cart when requirements are met. But how do I hide this product unless the user has met the requirements? Can I somehow hide it from the front-end entirely?


Viewing all articles
Browse latest Browse all 59525

Trending Articles