Please Log in or Create an account to join the conversation.
I'm pretty sure the CBSubs substitutions don't work in IF substitutions. They can only be used to display information.am trying to use the plan_id or plan_name in a field to display information with an 'if' statement.
The usage is as follows.However, I cannot seem to get them to work together. I even resorted to scrapping the 'if' statement and just tried to display the plan_name. If I put [user_id] in the field it works by displaying the user_id number. (I have tried it with other fields and it works) I cannot get it to work with any of the cbsubs fields. I tried [plan_id], [plan_name], and {cbsubs:plan:PlanId:CB + [PLAN_NAME]} and nothing works.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I've given you an example in my previous reply showing you how to display CBSubs information.Thanks for the reply, but that isn't at all what I am looking to do. I only referenced the forum article because it was all I could find and it showed that it was possible. I need to know how to display the current users cbsubs information.
The topic you linked provides that for you already. Please see the below.And I need to know what information I can display.
[USERNAME], [NAME], [cb_anycbfieldname]
[PLAN_NAME], [PLAN_ALIAS], [PLAN_DESCRIPTION], [PLAN_REGISTRATION_PRICE] and [PLAN_UPGRADE_PRICE] (both display period and price), [PLAN_PRICE] (display generic period and price for plan, or amount donated for donation with currency, or price with currency of product for a merchandise), [PLAN_RATE] and [PLAN_FIRST_RATE] are numeric values, and in case of donations, the donation amount converted into the donation plan's currency
[SUBSCRIPTION_SIGNUP_DATE], [SUBSCRIPTION_EXPIRY_DATE], [SUBSCRIPTION_LAST_RENEWAL_DATE], [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING], [SUBSCRIPTION_EXPIRY_DATE_IF_RENEWED], [SUBSCRIPTION_VALIDITY_PERIOD_IF_RENEWED], [SUBSCRIPTION_RENEWAL_PRICE] (displays period and price)
It can display some subscription information. Please see above.Although, now that I read the forum post again, it looks like all you can do is display static information using what is discussed in that post.
No, not unless you query for it using CB Query Field or have stored it to a field that you can substitute in. The CBSubs substitutions require you to supply the plan id so it knows what plan to substitute in.With all of that being said, is there any way to display the current logged in users plan_id?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.