Hi,

What dimensions of bookings will be supported by bookingsapi, and therefore be possible to show through publicbookings?
Would it be possible to use bookingsapi for a travel-agency on which I would be able to have control over all campings/holiday house bookings on a weekly basis, and the possibiliity to show prices differently per camping, per week, and may be other variables?

Thanks a lot in advance for your reply!
Greetings,
Martijn

Comments

Anonymous’s picture

I really wouldnt place pricing into the booking system - this could be made using any combination of views, e-commerce-modules, node-types, etc Bookings API provides only the means to manage bookings, but I'd be willing to help with an e-commerce-integration (or help developing a bridging-module) because I can see quite a lot of possible applications for this :)

And yes - in theory its possible to store any number of bookings and/or resources (it scales the exact same way Drupal does ;) ) You could e.g. define one "base resource" per country or company (e.g. to provide country-based unavailabilities). It provides support for "booking of whole houses -vs- booking of a part of a house" out of the box (house=bookable parent resource, which can only be booked if none of the flats (bookable child-resources) are booked.

So, yes - Bookings API should fulfill your needs once its finished and provides most of the required parts already :)

summit’s picture

Hi Sebastian,
Thanks for your quick reply.
It would be great to have integration with, say ubercart (www.drupal.org/project/uberdrupal)
How would we proceed to make this happening?

greetings, Martijn

Anonymous’s picture

Depends what you need.. AFAIK ubercart provides e.g. a way to allow access to nodes only after said nodes have been paid for. Or you could add some kind of rights-management that allows you to book a node only after having bought the right to do so .. etc

As usual Tim Toady strikes back ;)

summit’s picture

Hi Sebastian,

I thought about a combination of using this module for using different prices per week, say from 1 may to 1 june it is 100,- and from 1 june till 1 august it is 120,- : http://drupal.org/project/matrix
Then combining this on product nodes using: http://drupal.org/project/uc_custom_price and then in drupal ubercart using your great module to combine the things.

A customer should then be able to book a specific camping in a specific week against a specific price.
Is this doable?
It would be great having a travel booking system using drupal/ubercart!!

greetings, Martijn

Anonymous’s picture

I'll have to look into ubercart more deeply - Provided ubercart provides enough hooks it should be possible (Bookings API provides the hooks needed to check for e.g. special user rights before allowing a booking).

summit’s picture

Hi Sebastian, this post may also be helpful: http://drupal.org/node/326061#comment-1077193
greetings, Martijn

Anonymous’s picture

I'll first have to finish 3.x ;) Then I'll look into this. But it shouldn't be hard for another dev to get into this :)

summit’s picture

Thanks! Would love to have sort of roadmap, to get energy from!
EDIT: Hi looking forward to update of this..
greetings, Martijn

Anonymous’s picture

Well, currently I'm working on some bugs in 1.x. Then there are some bugs in 3.x that need to be fixed (e.g. the views are not working exact enough). I'm planning on finishing this step next week. But it really shouldn't be hard to integrate different modules with Bookings API - I'd be happy to help another dev integrating some payment system, but I really don't have the time ATM. I'm happy to adopt some methods in Bookings API (e.g. easing integration by providing additional hooks or somethink like this) if needed though.

After the bugfixes I'll have to work on some AJAX-integration stuff (I want Booking to be fully usable via AJAX to allow integration in different systems). Then some documentation ...

asb’s picture

Any progress on this issue?