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

Selling custom holiday packages

I have a requirement to build a site that will sell custom holiday packages - the customer will be able to pick their flights and hotel rooms (data coming from external webservices) plus some additionals (such as car hire for example). So the package will be built from 3 sources:
1. Flight info that comes from an external webservice
2. Hotel info that comes from an external webservice
3. "Additionals" which will be stored as Drupal nodes on my site
The first 2 parts could therefore be anything - the price and other info comes from the external service. For (3), all the data comes from nodes stored within Drupal (so I guess these could look like "normal" products).

How would I do this in DC? Would I need to create a new node programatically for each flight/hotel that a client selects? Or is there another way?

Advice appreciated! I'm trying to decide if DC is the best option or if I should go with Ubercart or something else...

Asked by: adamf321
on August 9, 2012

Comments

Perhaps you need to make some customization to your plugins to achieve that

- prav82c on April 14, 2013

1 Answer

Vote up!
1
Vote down!

Not sure an answer here would cover that kind of question. Sounds a lot like you are trying to describe a very technical idea and asking for a paragraph explanation on how to implement it. That being said, there are two ways to approach this kind of ecommerce problem with drupal commerce: 1) Pre-defined packages that link to lots of external information or 2) User-defined packages that they link to their flight information, etc.

For 1) I'd recommend adding fields to the product for all of the information that explains the entire product

For 2) I'd recommend adding fields to line items using http://drupal.org/project/commerce_custom_product so that customers can "link" their holiday information to the final products

Josh Miller
Answer by: Josh Miller
Posted: Sep 6, 2012