Calculate total based on rental period

Would it be possible to add a “day-rate” functionality which will then calculate the total sum of the quote using something link this, where timeframe is first day through last day of the rental period?

for (product in quote):
total += product dayrate * timeframe

quote_total = total'

Last Update: 2018-01-29