Last Updated on: 18th March 2016, 04:12 pm
WooCommerce Bookings allows to setup person types for price differentiation.
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