I need the code to add to my theme [url removed, login to view] file to add conditional custom checkout fields based on 'persons' count from a product.
I can add the custom fields to the code and all related information. I just need the code that reads the 'person" count selected by the booker.
Example. If 2 persons are selected I need to display a certain set of custom fields to check out fields.
Example. If 3 persons are selected I need to display another certain set of custom fields to check out page.