Black Friday & Cyber Monday SUPER SALE ALL WEEK:
Grab 40% OFF on plugins
Days
Hours
Minutes
Seconds

How to Add Additional Booking Price in WooCommerce Booking and Appointment Plugin?

Are you using the Booking and Appointment plugin for WooCommerce to handle all your bookings? That’s great! But there might be scenarios where you might need additional functionalities. Especially in villa or farm house rentals, you may want to add an extra cost to cover cleaning and maintenance expenses.


For instance, renting out a villa usually involves regular cleaning, which is necessary no matter how long someone stays. This customization helps you easily include these additional fees of $15 in your booking system using the plugin. Let’s look into the implementation steps!

Solution: Add Additional Booking Price in WooCommerce Booking and Appointment Plugin

The code snippet will modify the booking price dynamically by adding an additional booking fee of $15 to the total price of a booking on the product page.

// Add booking fee to price on product page 
function new_price($total_price) {
  $new_price = $total_price + 15;
  return $new_price;
}
add_filter( 'bkap_modify_booking_price' , 'new_price');

Output

When a customer books a villa rental on your website, the code adds an extra $15 to the total price to cover additional operational costs.

How to Add Additional Booking Price in WooCommerce Booking and Appointment Plugin? - Tyche Softwares

The following output shows that an additional fee of only $15 is added, irrespective of the number of days the customer selects to stay in the villa.

How to Add Additional Booking Price in WooCommerce Booking and Appointment Plugin? - Tyche Softwares

Alternatively, you can also provide a discount to customers who make bookings in advance using the Booking and Appointment plugin for WooCommerce. Offering such discounts will prompt customers to book early, helping you to manage your bookings more effectively.

Browse more in: Code Snippets, WooCommerce Booking & Appointment, WooCommerce How Tos

Share It:

Subscribe
Notify of
0 Comments
Newest
Oldest
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x