donkassim Posted January 20, 2006 Posted January 20, 2006 Hello all. I want a bit of help in this Am creating a tourism website including tours, safaris and hotel bookings Am looking for to add an attribute for Date of Travel to be as a calender feature so that the client can select a date as an attribute For example - hotel booking, please select date of checkin - to be an attribute of a calendar to select date. If someone can help me with this, i will be glad. thanks Don
cannuck1964 Posted January 20, 2006 Posted January 20, 2006 The use of the attributes will be difficult to attain this feature as the attributes where never designed to do this at all. I would suggest you look at do something more along the lines of input boxes (use of a calender plug in like the javascript calender in the admin). This will allow you to get both the start and end date of the order. Once you have the start and end dates, you can then get the total days from this and do the following: (Total Days Stay - 1) * RoomPrice = total cost for stay While this will not allow for seasonal pricing adjustments, you could use the attributes to manage the 1 - 4 people per room pricing adjustments.... You will need to save this info with the order in the orders table (?) or another new table so it can be referenced in the admin.. cheers and HTH Peter M. Peter McGrath ----------------------------- See my Profile (click here) for more information and to contact me for professional osCommerce support that includes SEO development, custom development and security implementation
Recommended Posts
Archived
This topic is now archived and is closed to further replies.