Form Options Costs | Setup Additional Costs for Options Selection in Booking Form (Tax, Fees, Cleaning, Breakfast, Visitors Selection…)

Note: This configuration is available in the Business Medium or higher versions of WP Booking Calendar.

Description

If you need to add additional costs, such as taxes, fees or other charges (e.g., cleaning fee, breakfast), or adjust the booking cost based on the selected option in a select box, you can easily configure this in the Business Medium or higher versions.

Configuration Steps

  1. Insert Checkboxes or Select Boxes into the Booking Form:
    • Go to Booking > Settings > Fields page.
    • Add checkboxes to the booking form. For example, to add a tax checkbox:
      Tax: [checkbox* my_tax ""]
    • To add a hidden checkbox that is checked by default:
      <div style="display:none;">[checkbox my_cleaning default:on ""]</div>
    • To make a checkbox required and checked by default:
      Cleaning service: [checkbox* my_cleaning default:on ""]
    • For a select box, you can set it up like this:
      Visitors: [select visitors "1" "2" "3" "4"]
    • For more details on booking form fields configuration, refer to this guide.
  2. Set Additional Costs:
    • Navigate to WP Booking Calendar > Prices > Form Options Costs page.
    • In the advanced cost management section, configure additional costs for the
      my_tax

      or

      visitors

      options.

    • Examples:
      • For a 6% tax, set the value as
        106%
      • To add a fixed cost for cleaning services, set it as:
        my_cleaning = 50
      • For visitor selections, you might configure it like this:
        visitors: 
                        1 = 100% 
                        2 = 200% 
                        3 = 300% 
                        4 = 400%

For more detailed instructions, watch this video guide on How to Configure Additional Costs Based on Selected Time Duration.

Showing Inclusive Costs, without affecting cost calculations.
Please use this shortcode [total_cost] for displaying taxes or additional fees based on the total booking cost.

This shortcode is used for displaying additional cost hints without affecting cost calculations. Since the total cost has already been calculated at this stage.

For example, if you want to show the tax cost as 20% inclusive of the total booking cost, set up your booking form fields like this:

<div style="display:none;">[checkbox tax_fee default:on ""]</div> Tax: [tax_fee_hint]. 

Now, define the additional cost for tax_fee at WP Booking Calendar > Prices > Form Options Costs page:

tax_fee = ( [total_cost] * 0.2 ) 

Available since update: 10.0