Please consider leaving a donation if you appreciate this information. Lightning network now available
If you’re using WooCommerce Bookings and your bookable product has customer selected resources, you may find that customers are inadvertently choosing the incorrect resource since, by default, the booking form outputs the resources dropdown selector with one resource pre-selected. You can, however, hook in to a Bookings provided filter named booking_form_fields and effectively de-select the default resource, thereby forcing the customer to choose a resource. Here’s the code snippet that will do that:
Not sure what to do with code snippets? See What Do I Do With These Code Snippets?
Please consider leaving a donation if you appreciate this information. Lightning network now available
Leave a Reply
You must be registered and logged in to post a comment.