Booking plugin filters automatically the rooms

Open
LordCros - Hotel Booking WordPress Theme LordCros - Hotel Booking WordPress Theme June 19, 2019
Login to reply
Sasa Rebic
4 years ago

Hi guy,

I have problem with Gutenberg update I dont add in any tour on site? When you solve this issue?

second I want change your booking system with redzy.com can I do this. This is script:
<script defer="" type="text/javascript" src="https://toursaroundparadise1.rezdy.com/pluginJs"></script>

                <iframe seamless="" width="300px" height="1000px" frameborder="0" class="rezdy" src="https://toursaroundparadise1.rezdy.com/calendarWidget/295548?iframe=true"></iframe>

artzie Boortzie
4 years ago

Thank you for your kind support,

have a great day!

Kelly R Support Agent
4 years ago

Hi,

It is search page, so it shows price per trip.

If you visit http://yourwebsite.com/room then it will show price per night.

And if you want to change it in search page, please edit /wp-content/plugins/lordcros-core/inc/room/element-functions.php file.

You can find following codes in it.

if ( ! empty( $total_price ) ) {

       echo esc_html( lordcros_price( $total_price ) );
       echo '<span class="val-unit">' . esc_html__( '/trip', 'lordcros-core' ) . '</span>';
      } else {
       echo esc_html( lordcros_price( $price_per_night ) );
       echo '<span class="val-unit">' . esc_html__( '/night', 'lordcros-core' ) . '</span>';
      }

And replace with following code.

       echo esc_html( lordcros_price( $price_per_night ) ); 
       echo '<span class="val-unit">' . esc_html__( '/night', 'lordcros-core' ) . '</span>';

Regards, C-Themes

artzie Boortzie
4 years ago

Hello Kelly,

i want to display price per night NOT price per trip in our-rooms page.

Please read the rest of the thread to understand. Allso see attachment.

thank you!

Kelly R Support Agent
4 years ago

Hi,

LordCros theme is translation ready.

So you can change some words easily using language file.

Please check https://lordcros.c-themes.com/documentation/translation/

Regards, C-Themes

artzie Boortzie
4 years ago

One final challenge.

The prices now look scary!!! 

can we find a work-around to replace the prices (black) boxes text?

Instead "440 €  / trip" to display 55€ / Night 

I hope it's easy, Thank you anyway!

Have a good one!

artzie Boortzie
4 years ago

Good one Artzie! 

Didn't cross my mind..

Thanks a bunch!

\Cheers!

Kelly R Support Agent
4 years ago

Hi,

You can not remove predefined search keys such as checkin, checkout date, etc.

Because in https://thasscities.com/our-rooms/ it only shows avaialble rooms.

Instead, you can add such link in menu.

https://thasscities.com/our-rooms/?date_from=06%2F19%2F2019&date_to=06%2F27%2F2019&adults=1

Regards, C-Themes

artzie Boortzie
4 years ago

https://thasscities.com/our-rooms/

When i go to our-rooms (booking page)

it automaticaly filters the checkout day which is always the day after today.

My rooms have 3 minimum booking days but the system filters the rooms for one night only

and i end up having an empty page without rooms.

So i want to either change on the booking plugin the checkout date to be 10 days later

or remove the predefined checkout date completely so the customers can see all the rooms when they click the our-rooms page.