Skip to Content Skip to Menu

Static Conditions on already existing subscriptions and CB Fields and Dates to allow upgrades

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
10 years 8 months ago #241488 by jmaridon
I have dynamic conditions to show or hide child subscriptions on registration based on two cb fields that work great.

I would like the same child subscriptions to show as available upgrades for registered users when one or both of the cb fields are changed in a profile edit.

For example:

On registration, if a user selects "United States" from a drop down menu AND checks the box in response to the question, "Do you like the color Red?" the user is given the opportunity to purchase Child Subscription A.

On the other hand, if the user chooses "Canada" from the drop down menu and checks the box in response to the question, "Do you like the color Red?" they have the option of purchasing Child Subscription B.

If any user doesn't check that they like the color red when registering, then the only option they are given is to purchase the Parent Subscription.

If someone selected "United States" but does not check that they like the color red during registration, but checks the box on a profile edit, they are currently not given the option to purchase Child Subscription A. How can I give the user that option? Likewise with Canada and Child Subscription B.

I think I have tried every option given on the "Subscriptions upgrades workflows" and either everyone is given the option or nobody is given the option.

Currently the only way I can get this to work is to send an email with a link to the child plan's URL and very specific instruction to log in first, then click on the link. Any help would be appreciated.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241497 by krileon
You'll need to edit your child plans and ensure they're set to allow upgrades. Next on the Workflows tab you'll need to add your conditionals to "Static Conditions on already existing subscriptions and CB Fields and Dates to allow upgrades" parameter group to match your registration usage. That should allow it to work fine. The upgrade settings should be as follows.

Allow upgrade to this: Yes
Propose plan for upgrades only if it is more expensive: No (you'll condition it below)
Propose spontaneously plan for upgrades: Yes

First static condition: This condition must be met to allow upgrades

Next configure the conditional as needed based off your registration conditional.


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.

Please Log in or Create an account to join the conversation.

  • jmaridon
  • jmaridon
  • OFFLINE
  • Posts: 49
  • Thanks: 8
  • Karma: 2
10 years 8 months ago #241507 by jmaridon
Thank you for the quick response. I missed the conditional comparison, "Condition 1 (> for Dates):." Now that I am looking at it again, it seems like it should have been obvious.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum