Booking Initial Fee

Discuss everything related to PHP Hotel Site. All versions. Any questions related to the PHP Hotel Site developing or using should be posted to this forum.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

akis
Expert
Expert
Posts: 66
Joined: Feb 20th, '13, 20:33

Booking Initial Fee

Postby akis » Jan 21st, '18, 21:48

Hello,
I need to change booking initial fee to be per room per night.
Can anyone tell me which code is necessary tomodified and where can i find it?
My version is HotelSite 4.4.3 with x-soho template

Thanks in advance,

administrator
Site Admin
Site Admin
Posts: 5976
Joined: Jan 7th, '09, 23:18
Contact:

Re: Booking Initial Fee

Postby administrator » Jan 22nd, '18, 10:57

You may do it via Admin Panel - Modules > Booking Settings

akis
Expert
Expert
Posts: 66
Joined: Feb 20th, '13, 20:33

Re: Booking Initial Fee

Postby akis » Jan 22nd, '18, 15:17

Thanks for your answer,
but from Admin Panel - Modules > Booking Settings I can only set a price that will be added to each booking
I need this price x nights x rooms. So if i have a reservation for 2 nights for 2 rooms the total should be this price x 2 x 2

administrator
Site Admin
Site Admin
Posts: 5976
Joined: Jan 7th, '09, 23:18
Contact:

Re: Booking Initial Fee

Postby administrator » Jan 23rd, '18, 10:38

Currently we have no such feature, you may develop it by yourself.

akis
Expert
Expert
Posts: 66
Joined: Feb 20th, '13, 20:33

Re: Booking Initial Fee

Postby akis » Jan 23rd, '18, 18:00

Υes, I know this but I was hoping
το guide me on what piece of code needs to edit.
Thanks once again.

administrator
Site Admin
Site Admin
Posts: 5976
Joined: Jan 7th, '09, 23:18
Contact:

Re: Booking Initial Fee

Postby administrator » Jan 24th, '18, 09:40

Open include/classes/Reservation.class.php and look for

Code: Select all

$this->bookingInitialFee = ModulesSettings::Get('booking', 'booking_initial_fee');

akis
Expert
Expert
Posts: 66
Joined: Feb 20th, '13, 20:33

Re: Booking Initial Fee

Postby akis » Feb 8th, '18, 17:22

Hello,
I have done it.
In fact I have changed the guest tax to be per room per night.
but I have made many changes, I wonder if you can include something like that in the next version.

Thank you very much

administrator
Site Admin
Site Admin
Posts: 5976
Joined: Jan 7th, '09, 23:18
Contact:

Re: Booking Initial Fee

Postby administrator » Feb 9th, '18, 08:32

May be the best way is to add some fee / per night for each room?


Return to “ApPHP HotelSite / uHotelBooking Talk {developers/users}”