1. Home
  2. Knowledge Base
  3. Bookings for WooCommerce
  4. Advanced
  5. Allow zero cost bookings
  1. Home
  2. Knowledge Base
  3. Bookings for WooCommerce
  4. Allow zero cost bookings

Allow zero cost bookings

By default, Bookings for WooCommerce requires you to enter a cost for the booking. However, you can disable this and allow free bookings by adding this snippet to your functions.php or code snippets file:

<?php
// Allow zero cost bookings
add_filter( 'bfwc_allow_zero_cost_bookings', '__return_true' );
view raw bfwc-allow-zero.php hosted with ❤ by GitHub

Was this article helpful?

Need More Support?

If you can't find the answer that you're looking for, then please use the link below to raise a support ticket.
Contact Support

Related Articles