Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 31)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Exclusive child plans

  • kremlinu
  • kremlinu
  • OFFLINE
  • Posts: 19
  • Thanks: 0
  • Karma: 0
10 years 11 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 or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48634
  • Thanks: 8307
  • Karma: 1446
10 years 10 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum