YITH Booking and Appointment for WooCommerce allows an advanced management of a booking system for the products of your shop. Once you have configured the prices, services, and availability, the plugin will automatically manage the product depending on the user choice.
The use of this plugin in combination with YITH WooCommerce Catalog Mode allows taking advantage of its features also on all the “Booking” products and hiding the price or the “Add to cart” button on the Booking products you want.
You need to install, activate both plugins and configure YITH Catalog Mode features from its settings.

For further details about YITH Booking and Appointment for WooCommerce settings, please refer to the official documentation.