Total Range Price: Range’s per day price * Number of days
Per Day Price: Total Range Price / Numbers of day
Special Price: ( Total price for the numbers of days falls under special price )
Number of Regular Days: Total number of Days – Numbers of Special Days
Regular Day Price : ( Per Day Price * Number of Regular Days ) + Special Price
Final Price: Regular Price + Special Price.
E.g Selected start date as 20th July 2018(Monday) and end date as 24th March 2018(Thursday) so price for this selection is coming as $210 based on 1st price by range.
Total Range Price($180) : $45 * 4
Per Day Price($45) = $180 / 4
Special Price($120) = ( $60 for Saturday + $60 for Sunday)
Number of Regular Days(2): 4 – 2
Regular Day Price($90) = ($45*2)
Final Price $210 : $90 + $120