Reply To: Function that returns a room price, param: dates, room id, and # of persons

/*Change Date Format to calculate number of nights*/
Use the $res->getTimes() function instead.

In the search form it’s just a loop for each resources. But yes it fakes a reservation and calculations the price very similar.