I am struggling with one as I hope very interesting challenge and I would be extremely thankful to everybody who would try to understand the issue and help me solve it.
I've built a custom members area a customer can access through a payment plan. On the account area are several input fields for the customer to fill in. Most importantly some codes (input fields in a container), if the client buys plan 1, he should be able to enter 1 code. If he buys plan 2 he should see 2 code entry fields and so on up to plan 5 and 5 entry fields.
I have no programming experience and need to find some code that identifies which plan the customer bought and displays the right amount of code containers while the others he has no access to are collapsed and therefore invisible.
One a payment plan is created it adds a "Plans" dataset with single identifiers, e.g. the slug. My idea was to use this as a trigger to determine which plan was purchased but I cannot program it and I do not know if a connection from the plan dataset and my "Members" is necessary.
The fields that are shown with the codes in the containers should be filled out once the plan is bought and then reappear each time the user logs in to potentially update the data. I managed to program this already and the Members dataset with all required fields exists and is successfully connected to page and input fields.
Is this something somebody can help me with please? I am all done and set, this is the only remaining issue but the absolute key why the website exists in the first place :-)
Thanks a million in advance,