Hi guys,
in order to fix the issue related to "price calculation" in Rooms I'm trying to find out where the algorithms related to the price calculation are located.
here is one:
/modules/rooms_pricing/includes/rooms_pricing.unit_pricing_calendar.inc
anyway,
I got 2 different prices for the very same booking process:
1) when I search for rooms availability
2) when I proceed to book the unit I've chosen in the point 1 above
why is that possible?
can anyone explain me better which variable or function are related to the booking process?
no matter what I edit in the file /modules/rooms_pricing/includes/rooms_pricing.unit_pricing_calendar.inc
I got always with 2 different prices
I also tried an interesting patch that scalas89 pointed out here: https://www.drupal.org/node/2492421
thanks,
romeo
Comments
Comment #1
Giannim CreditAttribution: Giannim as a volunteer commentedI've see that, for the configuration option "price for units" there are :
- base price (specified in "Unit type")
- base price (specified in all units)
- price calculated for specific period (in search results)
- Total calculated (price calculated plus options selected)
I'm not an expert of rooms, ... now I'm try to add a view with an exposed filter for calculeted price, but it's very frustrating !! :(
Comment #2
romeof1980 CreditAttribution: romeof1980 commented