• Resolved stephunique

    (@stephunique)


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @stephunique,

    1. Specifically, how did you use Paid Member Subscriptions in this system? Did you use our Content Restriction functionality on those WooCommerce products?
    2. What is the name of the third-party plugin that you’re using for this? Is this a free plugin that can be downloaded from the WordPress repository?

    Best regards,

    Thread Starter stephunique

    (@stephunique)

    Hello

    The other plugins I am using is Hivepress and their extension Paid Listings, which requires Woocommerce to allows the abillity to charge users for posting jobs. First, I create a product in Woocommerce and call it say “Single listing”. Then in the Paid Listings application, I create a package that allows users to post 1 listing and calls it (for example) “1 listing package”. Then I connect it to the Woocommerce product so that users who purchase that Woocommerce product, buys the single listing package.

    In order to allow only subscribers to post listings, I then attach that to a subscription made in the PMS plugin that lasts 1 day. This means users can sign up to a subscription that lasts 1 day and can post 1 listing. The package purchase page is displayed in a specific way according to the Hivepress’ own theme (ListingHive) so that the Woocommerce shop and cart pages aren’t supposed to show.

    I found that when the user signs up to this subscription and posts 1 lisitng, they can access the page to purchase a listing, but because the have already reached the limit of 1, they cannot purchase the package of 1 listing again, instead it only shows the Woocommerce cart page which doesn’t look good. So ideally I’d rather remove the product that a customer can’t buy anymore than leave it there and let users see the backend of Woocommerce’s cart and shop pages.

    I’ve also asked for help with Hivepress.

    Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @stephunique,

    From what you’ve explained I do not think this is something related to our plugin. As you’ve seen with our plugin when it comes to the WooCommerce integration you can attach PMS subscriptions to certain Woo Products, or restrict the view or purchasing of WooCommerce products (you can read more about this integration here).

    I also want to mention that we currently do not have an integration with the Hivepress Paid Listings plugins, our integration is just with the standard WooCommerce plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automatically remove a product that cannot be purchased based on subscription’ is closed to new replies.