Conditional Logic – Course Customer Information
-
Iām working on a website with several sailing courses. The problem: When someone wants to purchase multiple courses ā for example, for their family ā we need multiple addresses, one for each person.
What Iāve done: Iāve set up a multi-step checkout process: first, the billing information, then the participant details.
Hereās what I want: For each participant, Iād like to be asked for additional participant information IF Iām purchasing for multiple participants. If not, a simple āShipping address = Billing address?ā option would suffice. A maximum of 12 participants per course can be purchased. But if, for example, Iām buying for 5 participants, I need something like 5 checkboxes with the text āAdd additional participant detailsā that, when clicked, open text fields for address details, etc.
Important: Only as many checkboxes should appear as the number of participants purchased ā for the customer experience.
Multiple different courses can also be purchased. This means that I have to set up this custom flow for each individual course, which includes variables that regulate if I buy for 12 participants, that 12 checkboxes for address details appear, and 12 address detail boxes.
To clarify: I would now set it up like this… (which is very cumbersome):
- Headline: This carries the course name and is only displayed if the said course is in the cart.
- Checkbox: āShipping address = Billing address?ā ONLY if there is only one course in the cart. OTHERWISE āAdd participant detailsā as a checkbox.
- Text fields appear WHEN āAdd participant detailsā is clicked. -> Text fields include address details, such as name, address, email, etc.
- Below that: Checkbox āAdd another participantā and the game starts again… WHEN clicked, the boxes for the address details open. To ensure that there are only as many āAdd another participantā as participants ordered, I apply the following:
Cart contains < product < equals < Course name
AND
Cart contains < number of items < greater than 1Then the address detail fields follow.
To execute this for the maximum number of purchasable participants, I have to repeat the formula mentioned above each time. The only thing that would change is the āgreater than 1ā
It would then be āgreater than 2ā – āgreater than 3ā – āgreater than 4ā … … … āgreater than 11ā
And I have to do this 12 times for EACH COURSE?
Please tell me thereās a solution via HTML or something similar.I hope Iāve explained the problem well enough xD
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.