Open theachoem opened 4 months ago
How they store availability, do they create those inventory & price individually 16 months before? Base on this docs, user can book 16 month ahead. (docs)?
Should price have rates? Yes, price should have rates. Anyways, a variant can have many prices base on currency, so it is better to move rates to variant instead.
Should variants have rates? The rate in variants is good as it can be reused for all currencies.
Should vendors have rates? The rate in products can be used across all variants. This might be useful as free-cancellation
Should product have rates?
Deluxe Suit Pond View Weekday: $35 free breakfast 2 Pax Weekend: $40 free breakfast 2 pax Public Holiday : $45 free breakfast 2 pax
Deluxe Double Pond View Weekday : $40 free breakfast 2 Pax Weekend: $45 free breakfast 2 pax Public Holiday : $50 free breakfast 2 pax
Deluxe Suit Pool View : Weekday : $65 free breakfast 2 Pax Weekend: $70 free breakfast 2 pax Public Holiday : $70 free breakfast 2 pax
Deluxe Double Pool View : Weekday : $75 free breakfast 2 Pax Weekend: $80 free breakfast 2 pax Public Holiday : $80 free breakfast 2 pax
Lawin Home : 3 room + Kitchen + mini bar + mini pool Weekday : $150 free breakfast 4 Pax+free extra Mattress 2 Weekend: $170 free breakfast 4pax +free extra Mattress 2 Public Holiday : $180 free breakfast 2 pax + free extra Mattress 2
Katey Home : 4 room + Kitchen + mini bar +medium pool Weekday : $220 free extra Mattress 4 Weekend: $250 free extra Mattress 4 Public Holiday : $270 free extra Mattress 4
Weekend: Friday, Saturday
At first, I thought extending from promotion will be quicker and more scale, but as code brainstorming, it have some limitations and is not worth it following:
For bus, Price is base on Time, Day, Car Type, Duration, Seat Type, Nationality
Handling a combination of a variety of rates + models based on use cases to trace a patterns so we can implement them into code:
Quantity | ||
---|---|---|
Group Booking | 10 | 100$ |
Group Booking | 5 | 60$ |
Task Breakdown
Reference