This is possible through customization of the booking form snippet. If you are familiar with HTML and Liquid you can use an if/else statement to add a second booking form to the booking-snippet. You can then use the product type, or product tags, for example, to determine which form to display.
Note: Widgets are our newest type of booking form. We highly recommend using a widget over a classic form. Besides requiring no coding changes and having a more modern look that flows better with the theme, the widgets have more settings and greater app performance in comparison to the classic forms. Since the widgets require no coding changes you can easily have many different types of widgets in your store to handle all types of booking scenarios.
As of Dec. 2021, the only booking form without a comparable widget is booking form 6.
If you have not tried out a widget yet please see the following:
https://support.zetya.com/hc/en-us/articles/360000984495-Widgets
The procedure is as follows:
- Take a copy of the existing booking-form snippet.
- From BTA Admin > Installation > Install Steps, choose the new booking form type and install the snippet. You will need to confirm that you are replacing the existing booking-form snippet.
- In Shopify Admin open the new booking-form snippet and in the part where the date/time inputs are defined you can add a liquid 'if' statement to determine which booking fields to show. In line 29 of the following screenshot you can see we used
{% if product.type == 'Appointment' %}...{% endif %}
: - In the
{% else %}
part (line 53 in the screenshot), add the date/time input fields that were in the original booking form (from step 1).
Please note: We do not provide support for this customisation under our no charge support. If you would like us to provide this customization for you please contact us for a quote and let us know which forms you would like installed, and how to differentiate when a form should be shown.
Comments
0 comments
Article is closed for comments.