• pieczarkowy

    (@pieczarkowy)


    Hi.

    It is not possible to purchase an item in WooCommerce on a new installation with the plugins WooCommerce + Paid Memberships Pro + Paid Memberships Pro Integration with WooCommerce in the latest versions with PHP any from 7.4 to 8.1.

    I tried all things – on the hosting, on localhost, on Apache, on nginx. Nothing helps. I literally install a new WP, install WooCommerce and your plugins. I add a product, add a membership level and it’s impossible to purchase.

    I tried WordPress version 6.0.1, WooCommerce 7.7 – nothing helps.

    I noticed that using version 1.4.5 (from 2018) the problem disappears. In view of the fact that there are no such problems on this forum, I don’t know if no one is using your plugin or I am the only one who is struggling with this?

    This problem was also here:
    https://github.com/strangerstudios/pmpro-woocommerce/issues/164

    https://www.ads-software.com/support/topic/product_name-has-been-removed-from-your-cart-because-it-can-no-longer/

    Still no answer…

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    This seems to happen on a site-by-site basis and not something we can always replicate.

    A temporary solution would be to apply the following code on your site to prevent it from being marked as ‘not purchasable’ while still assigning a membership based on the product purchased.

    remove_filter( 'woocommerce_is_purchasable', 'pmprowoo_is_purchasable', 10, 2 );

    Please give this a try and let me know if it helps.

    Thread Starter pieczarkowy

    (@pieczarkowy)

    Hi. Thank you so much for your prompt reply – I’ll admit frankly that I didn’t expect a response, much less such a quick one. The code you sent fixes the problem.

    It occurs on 3 of the 3 installations on which I tested it. As I mentioned – I tried all variants and changed plugin versions, server versions, PHP and nothing. If you need, I can send the data to the admin panel so you can check for yourself there what you need.

    Does using the code you uploaded cause any problems? Can it be like that until the problem is solved? Have you received any recent submissions with the same error or am I the exception?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘{Product} has been removed from your cart because it can no longer be purchased’ is closed to new replies.