Issue "click" & "selected by defaut children plan"

12 years 7 months ago #172773 by larleuchem
Hi !

You can see this picture (CBsubs 1.2.2) :



Have you got an idea ?

Thanks
Attachments:

Please Log in to join the conversation.

12 years 7 months ago #173369 by larleuchem
There is a problem with the click area and javascript, can you help me ?

Please Log in to join the conversation.

12 years 7 months ago #173582 by beat
Good catch, indeed a small bug sneaked in while fixing another one in 1.2.2!

Marked for investigation.
#2723

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

12 years 7 months ago #173594 by beat
larleuchem,

I emailed you a fix for your feedbacks.

If you don't see the email, also check your spambox please.

Thanks in advance for your feedback.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

12 years 7 months ago - 12 years 7 months ago #173605 by larleuchem
Hi there,
(sorry for my English, I'm French)

Thanks for your help ! Here is my feedback after testing : It's better but I still have some problems.

I explain, I have :

SOME EXCLUSIVE PLANS
o free plan
o parent plan 1 (without children)
o parent plan 2
-o child plan 1 (SELECTED BY DEFAULT)
-o child plan 2

AND 1 NON-EXCLUSIVE PLANS
[] Print plan

As I explaind in my last messages, child plan 1 and child plan 2 are hidden if the parent 2 is not selected.

Case 1 :
I select free plan, than I register. IT WORKS GREAT.

Case 2 :
I select parent plan 1, than I register. IT WORKS GREAT.

Case 3 :
I select parent plan 2, the children are shown, the child plan 1 (selected by defaut) is selected if I click in the area that did not work at earlier, than I register. IT WORKS GREAT. FIRST PROBLEM SOLVED !

Case 4 :
I select parent plan 2, the children are shown, the child plan 1 (selected by defaut) is selected if I click in the area that did not work at earlier, but I choose the child plan 2, than I register. IT WORKS GREAT. FIRST PROBLEM SOLVED !

Case 5 :
I select parent plan 2, the children are shown, the child plan 1 (selected by defaut) is selected if I click in the area that did not work at earlier, but finaly I select parent plan 1 (or free plan), than I register. IT WORKS GREAT. So the child plan 1 is unselected by javascript when I select parent plan 1.

Case 6 :
I select parent plan 2, the children are shown, the child plan 1 (selected by defaut) is selected if I click in the area that did not work at earlier, and I choose the child plan 2. But finaly I select parent plan 1 (or free plan), than I register. PROBLEM ! The child plan 2 is UNselected AND the child plan 1 is SELECTED by javascript when I select parent plan 1. So I have a warning after validation of the form :
Warning: createSubscriptionsAndPayment::no existing subscription for parent plan id 3 of plan 10 in new subscription ! in /.../.../.../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 2086

Thanks for your help !

Please Log in to join the conversation.

12 years 7 months ago #173608 by larleuchem
A new message for an another problem with javascript :

SAME CONFIG BUT 1 MORE CHILD :

o free plan
o parent plan 1 (without children)
o parent plan 2
-o child plan 1 (SELECTED BY DEFAULT)
-o child plan 2
-o child plan 3


I select parent plan 2, the children are shown, the child plan 1 is selected by defaut,
and I click on the child plan 2 : the child plan 2 is selected,
and I click on the child plan 3 : the child plan 1 is selected,
and I click on the child plan 3 : the child plan 3 is selected,
and I click on the child plan 2 : the child plan 1 is selected,
and I click on the child plan 2 : the child plan 2 is selected,
blablabla...

I think you understand...


Thanks for your help

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.247 seconds

Facebook Twitter LinkedIn