How do I Delete a CBSubs Plan?

2 years 8 months ago - 2 years 8 months ago #325904 by marriage_minded_man
How do I Delete a CBSubs Plan? was created by marriage_minded_man
When I try to delete a CBSubs plan I get the "Cannot delete row id "x" because: Subscriptions exist for this plan".

I tried to go in and individually "Unsubscribe" users from that plan from the backend, but that still didn't allow me to delete the plans from the backend. I could have also checked off "Delete" from the user profile (would that have worked?). In any case, now I don't see the plan on the users who used to have it (this may have been due to me restructuring the plans in the process).

I'm in the testing phase so it's not that important. however, in the future, what is the process/advice on deleting plans? How is this done? Should it be avoided? Is there a way to mass unsubscribe/delete plans from users (detaching them from the plan), in order to delete the plan itself in CBSubs?

Thanks.

Please Log in to join the conversation.

2 years 8 months ago #325910 by krileon
Replied by krileon on topic How do I Delete a CBSubs Plan?
You can't delete a plan that has subscriptions. You would need to also delete the subscriptions. There is no way to mass-delete subscriptions beyond using the database. Typically plans and subscriptions should not be deleted for live sites as you then would lose all that reporting information in backend. Best approach is to unpublish the plan, turn off renewals for the plan, and turn off new subscriptions for the plan.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: marriage_minded_man

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.307 seconds

Facebook Twitter LinkedIn