I am trying to create a site on which you can book certain assets.
The assets themselves, and the times they are available will be fetched from an external API. The assets will be imported once a week, but the times will have to be fetched at request time, to make sure the information is not stale.
My question is: How should I go about this?
- Should each booking time be a product in itself, and thereby creating a new product each time a booking is bought (I'm guessing no)
- Should I make a configurable product somehow? (I'm guessing yes). If so, is there a way to limit the configuration to show only the free times?
And finally, which events should I hook into in order to double check that the time is free when the product is put in the cart and once again when it is just about to be purchased?
For information I'm currently working on 1.9.0.1
Thank you