Exclusive child plans

10 years 3 months ago #240195 by kremlinu
Exclusive child plans was created by kremlinu
Hi,

I have a Joomla 2.5 site with CB 1.9 and CBSubs 3.0

I have 3 plans:
- 1 free plan (exclusive)
- child plan 1 (exclusive, default)
- child plan 2 (exclusive, default)

Based on a cb field, only one child plan will be visible and I want that plan to be checked by default and mandatory.
The probleme is only child plan 2 is checked by default. Child plan 1 is unchecked when it become visible.

I know this approch is not corect (2 default and exclusive plans), but how can I achive what I need?

Thanks,
Radu

Web Admin at Arhitecti si Proiectanti www.arhitectisiproiectanti.ro

Please Log in to join the conversation.

10 years 3 months ago #240685 by krileon
Replied by krileon on topic Exclusive child plans
When you condition plans the default check state is lost on show/hide behavior. So the user is going to have to select the plan. There's really no getting around that as the jQuery doesn't know what is and is not default.


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: kremlinu

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.154 seconds