Last Updated on: 18th March 2016, 04:12 pm
WooCommerce Bookings allows to setup person types for price differentiation.
![Screenshot of WooCommerce Bookings Person settings](https://conschneider.de/wp-content/uploads/2016/03/Screen-Shot-2016-03-18-at-16.05.33-300x88.png)
Sometimes you want to display this information, for example as additional product info or on a price page. Person types are stored as custom post type, the additional information is stored as post meta. Here is a simple custom template that retrieves and displays Person types and their metadata with an example of one meta data (the set person base cost) highlighted.
Example Usage: Copy and paste the code into a file “Bookings-Person-types-list-page.php” and upload the file to your theme root folder.
Leave a Reply