Automatically remove a product that cannot be purchased based on subscription
-
Hello,
I am using a third party plugin that allows me to charge users to post things on my site. I have used that and Paid Memberships Subscription together to create a system where users can create a certain number of posts in a certain number of time.
At the moment what is happening is, once the product can not be purchased anymore (because the limit has been reached), the product still displays, and when the user tries to buy it, they are shown the direct Woocommerce cart page. This doesn’t look good.
What I would like is, once the time or the number of posts has been reached, the product does not appear as an option to be purchased any more so I can avoid the Woocommerce cart page showing at all (I’ve tried deleting the Cart page but then when the person tries to purchase the item, it shows a “Nothing found” error page). Is there a way I can achieve this?
- The topic ‘Automatically remove a product that cannot be purchased based on subscription’ is closed to new replies.