Custom add to cart form with two product displays
Hello,
I've done a lot of research but I don't find a good solution for my problem.
I'm building an event registration site. For a good user experience we want to combine all products for one participant in one form.
Product type: ticket (created) with custom line item type:
The line item has Full name, country, company (details of the ticket owner)
"ADD TO CART FORM SETTINGS
Fields attached to product line item types can be included in the Add to Cart form to collect additional information from customers in conjunction with their purchase of particular products.
Include this field on Add to Cart forms for line items of this type."
Their are two ticket types: event entrance, workshop,
I've created products for the tickets (3) and for the workshop (2) (type ticket)
Further I have created a new content type: Congress ticket, with a Product reference field.
Created two new product displays for the content type
- Congress ticket (linked the 3 products for ticket)
- Workshop (linked the 2 products for the workshop).
When I go to the view of the node, the form works well.
Here is the problem; I can't find a way to combine the two created nodes in one form with a single add to cart button. I want to select form the list; ticket and a workshop and fill out the participant details only once and add them to the cart.
I've looked at solutions: add_to_cart_extras, product_bundle, but I can't find a way to build this.
Is their someone who can help me out with the above?
Thank you,
Fossie
Comments
Thank you, but I know how to create a product display with dropdown for a few products. I create two product displays, one for ticket and one for the workshop.
I actually need to combine TWO product displays with each a drop down in one add to cart form and can't find a way to do it. Any idea for that?
I'll sure take a look at commerce webforms, thank you for the tip.
Fossie