Croco Black Friday 2024 banner element
Copy discount code:
bfcroco2024
Days
Hours
Minutes
Croco Black Friday 2024 banner element
Help Center
How to Configure the Weekend Pricing

How to Configure the Weekend Pricing

This tutorial describes how to set the weekend pricing with the WordPress JetBooking plugin and display it on the front end with the JetEngine forms.

The weekend price feature for the WordPress JetBooking plugin allows you to set the specific booking price for particular days of the week. For example, you can select the higher price for the weekend and the lower for Monday. To display the weekend pricing on the front end, you can create a form with the help of the WordPress JetEngine plugin.

Proceed to the post type you have connected with JetBooking and click on the “Edit” button under the post with a room, house, bungalows, etc.

edit post for the booking properties

Navigate to the end of the post editing page to the Pricing Settings and hit the “Add weekend” button.

add weekend price for the wordpress booking

Enable the toggle near the day of the week when you want to set up the weekly price and press the “Save” button.

set up weekend pricing

Update the post. To display the weekend price, you need to set the Booking Form with the Calculated field.

If you haven’t created such a form yet, proceed to JetEngine > Forms on the WordPress Dashboard and click on the “Add New” button.

In the Booking Form, such fields are required:

  • Hidden field with the default settings. If you want, you can change the field name, for example, from the post_id to the room_id;
hidden field for the booking form
Things to know

Be aware that all field names inside one form must be unique, and field names must contain a value with only lowercase letters in Latin, no spaces. If you want to split words, this can be done by using the “-” and “_” characters.

  • Check-in/check-out dates field.
check-in check-out dates field for the booking form

After that, you can create as many fields as you need for the guests, additional services, etc. When you finish, you need to create the Calculated field. With the formulas, it helps to summarize the total price on the front end.

In the Calculation Formula field, you need to enter the macro %ADVANCED_PRICE::_check_in_out%, where _check_in_out – is the name of your Check-in/check-out dates field. This macro multiplies the property price and the number of booked days. After you finish with the field settings, don’t forget to hit the “Apply Changes” button.

calculated field for the booking form

To finish the form, complete the steps from the third to the sixth in this tutorial. In the end, press the “Update” button.

To display the form, navigate to the Single Page created for the property Post Type and place the form here.

jetengine form in the elementor editor

Move on to the front end. If you book the night from Saturday to Sunday or the weekend day (according to your Booking Period settings: per night or per day), you can see that the price’s changed according to the weekend price settings.

booking form with the weekend price on the front end

That’s it. You know now how to configure the weekend price with the WordPress JetBooking plugin.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.