Hi All,
Can any body give me some pointers on the following?
I would like to return a price for an item based on dates and rates (dates to be specified by two fields in product description):
Example
Date Range
Nov 25 2011 - Dec 5 2011
Nightly Rate
Nov 25 - Dec 2 = $360 Night
Dec 3 - Dec 5 = $285 Night
Returned price is 8 * $360 + 2 * $285 = $2880 + $570 = $3450
If the dates are not specified or validation fails on the date fields; they are ignored and the standard variants are shown.
Any suggestions would be very much appreciated.
Regards,
Andrew