Tags/topics: 
1
Answers
Vote up!
0
Vote down!

How can I add two different product references to the add cart form?

Hi all would anybody know how I can add two different product references to the add cart form. I only see an option to add one line item type to the cart.
I have products which represent tours that you can select then I need to add another product as airport transfer costs. This needs to be an optional item that the buyer can choose to select.

Asked by: Road Kill
on January 29, 2014

1 Answer

Vote up!
0
Vote down!

I think you're asking for 'Options'
https://drupal.org/project/commerce_option

This assumes that aiport transfers aren't available as a product on their own - ie they are only available with another products such as a tour, and that you don't need to manage 'stock' for the available transfer seats.

Andy @ BlueFusion
Posted: Feb 3, 2014

Comments

Hi DNZ thanks for the reply but unfortunately I have tried commerce options but have been unable to get it to show up on the add to cart with the associated product. I am trying Commerce (bulk product creation) and hopefully this will give me the result I am looking for.

- Road Kill on February 4, 2014

Hi dnz I have used option set reference in the line item but now all the options are available is there a way to select just on one specific option out of a list of options sets.

- Road Kill on February 4, 2014

I think what is really needed is an option to add a specific option to a specific product but I just don’t see this option available in commerce. I have tried to add an option set reference to a product type but there seems to be no way to add it to the add to cart form.

- Road Kill on February 4, 2014