Can I do it with the commerce module?
I'm building a Website to manage two Flats to be rented by days.
The visitor select one of the two flats and then select a date (let's say it the day: 15 January 2012) and make the payment for it.
After the payment the date of 15 January 2012 will not be available to be sold again until this day has passed (the 16 january)
I first thought of creating a product type called: Day to rent with a field called: date and then creating 365 'Day to rent' products, each one for each one of the days of the year, setting the field 'date' to the corresponding date.
Then, using the calendar module and views I would show the products in the calendar allowing the visitor to click in the 'add to cart' for the day they choose.
But I'm a newby with the commerce module... and I now see that I can not get 'products' inside a views. Then my idea fails....
Now I think that I should add the field called: date to the 'Product display' instead of the product itself. But not sure ...
Before wasting hours.... I just need to know if is there any way I can accomplish this with the commerce module.
Do I need an affiliated module? Do I need to develop a new module?
What is the best approach to do it?