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

Giannim’s picture

I'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 !! :(

romeof1980’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.