-2

I’m trying to make a custom plugin to limit my trial version (its like amazon prime free subscription days) product of WooCommerce (for example my product has 10 days of free subscription and after that a user can’t rebuy it), as now I’m facing an issue with my plugin.

Once the subscription expires, the user can’t add the actual product into the cart, and It’s giving me this error ”{product_name} has been removed from your cart because it can no longer….”

I expect to limit my trial version to user just for 10 days, and after that user has to buy a premium subscription. I'm using Woocommerce subscriptions by SkyVerge and Woocommerce Memberships

  • 1
    When writing your question take more care please as "trail" doesn't mean anything, as it was "trial" that you tried to write. Same thing for "experid" that is "expired". Now if you use some 3rd party plugins like WooCommerce Subscriptions, you need to specify it in your question as nobody can guess things by magic. – LoicTheAztec Aug 16 '23 at 09:14
  • What is the issue you are facing? – Klaassiek Aug 16 '23 at 18:09
  • Once the subscription expires, the user can’t add the actual product into the cart, and It’s giving me this error ”{product_name} has been removed from your cart because it can no longer….” – Harmanjit Singh Aug 24 '23 at 19:56

0 Answers0