• Resolved paulsxhr

    (@paulsxhr)


    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 1

    Then 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]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.