I would like to sell hotel rooms which is a little more complex than selling books or CDs.
For example I sell a double room for $70 per night and a single room for $50.
I might then book 2 double rooms and 1 single room for 3 nights.
2 x $70 x 3 nights = $420
1 x $50 x 3 nights = $150
$420 + $150 = $570 in total
I'm
trying to figure out how this mught be done in uCommerce because for
each room product you've effectively got the two quantities to take
into account, the number of rooms and the number of nights stay.
I
had wondered if the best way to do it was to do all the calculations
behind the scenes and add a single product to the basket with my
calculated price. Is this possible?
You might want to add a custom property to each order line, that holds the number of nights. Next you would have to add your own basket pipeline task, that calculates the price based on room quantity and number of nights. If you need further assistance, I could come up with some code.
Thanks Christian for your help there. It seems simple enough.
Would it also be easy enough to combine these products so that it appeared as one price in the basket?
I say this because the hotel rooms will be sold as part of a package deal with the price of a football ticket and needs to appear as one item rather than a product breakdown. The actual price of the ticket needs to be masked.
So you would have something like:
3 x Football tickets 2 x Double room for 3 nights 1 x Single room for 3 nights
Total $870
I've asked as similar question before but the answer involved using Marketing Foundation which I won't have to begin with as it will be using Free Edition.
You don't have to do anything if you're using the standard PayPal provider. It will automatically sum everything and send it as one to PayPal.
Also if a customer is booking multiple items on separate lines you can add a custom property with an overall identifier of each product and just display the primary item.
Dynamic product pricing?
I would like to sell hotel rooms which is a little more complex than selling books or CDs.
For example I sell a double room for $70 per night and a single room for $50.
I might then book 2 double rooms and 1 single room for 3 nights.
2 x $70 x 3 nights = $420
1 x $50 x 3 nights = $150
$420 + $150 = $570 in total
I'm trying to figure out how this mught be done in uCommerce because for each room product you've effectively got the two quantities to take into account, the number of rooms and the number of nights stay.
I had wondered if the best way to do it was to do all the calculations behind the scenes and add a single product to the basket with my calculated price. Is this possible?
Perhaps there is a better way to do it?
Thanks,
Matt
You might want to add a custom property to each order line, that holds the number of nights. Next you would have to add your own basket pipeline task, that calculates the price based on room quantity and number of nights. If you need further assistance, I could come up with some code.
bye
Christian
Thanks Christian for your help there. It seems simple enough.
Would it also be easy enough to combine these products so that it appeared as one price in the basket?
I say this because the hotel rooms will be sold as part of a package deal with the price of a football ticket and needs to appear as one item rather than a product breakdown. The actual price of the ticket needs to be masked.
So you would have something like:
3 x Football tickets
2 x Double room for 3 nights
1 x Single room for 3 nights
Total $870
I've asked as similar question before but the answer involved using Marketing Foundation which I won't have to begin with as it will be using Free Edition.
Hmm, I suppose it would be simple enough to just not output the individual prices and just show a total. :)
But when the basket was sent to PayPal I'd need to hide it there two...?
Hi Matt,
You don't have to do anything if you're using the standard PayPal provider. It will automatically sum everything and send it as one to PayPal.
Also if a customer is booking multiple items on separate lines you can add a custom property with an overall identifier of each product and just display the primary item.
is working on a reply...