I'm wondering if it's possible to create custom booking links like you can with ubercart. Eample: In ubercart if I want to add a product to the cart, i can create a link www.example.com//cart/add/e-p1_q5-imonday_special?destination=cart that would add product 1 to my cart. see this url if your unaware of what I'm talking about: http://web3us.com/drupal6/drupal-6-how-guides/add-items-ubercart-cart-cu.... I'm just wondering if it's possible to do this with rooms. I want to do this so I can create a link that would book a specific room on specific days, for a specific number of people. So that I can create a package sort of thing. Thanks much great module!

Comments

butteryak’s picture

PS I can add a room to the cart using www.example.com//cart/add/p383-q1 adds quantity 1 of room (node 383) but of course no specific nights of stay are included and price remains at $0 as it has to date reference. Hmmmmm

larowlan’s picture

Category: support » feature
Status: Active » Postponed

You could do this with a custom module that implemented hook_menu, interpreted the various arguments from the url and redirected to the cart. Not currently possible without that.

butteryak’s picture

Yeah that might be a bit much for what I want to do. I have a couple of products (workshops) that I want to create a simple way to book some housing for partakers, right now I send them to the booking section to book the room manually. It would be great to be able create the room booking automatically when they submit their add to cart on the other product. I'm looking into using webform (which can include products when submitted) and seeing if their is a tricky way to do this, perhaps execute some code when the form is submitted. Coding is not my strong point. Any suggestions from anyone is greatly appreciated.