In this tutorial, we will take you through how to add BookThatApp Booking Forms to the Parallax theme. Before you start, we recommend you take a backup of your current theme.
⚠️ Note: If your theme has recently been updated, some steps may require adjustment. 💾.
Please note that the booking form are available on the Business plans and above. Please write in to our support team to assist with the implementation.
⚡ Note on Widgets
Widgets are our newest type of booking form. We highly recommend using a widget over a classic booking form.
Our booking forms are available in the app for Business or higher subscriptions. Besides requiring no coding changes and having a more modern look that flows better with the theme, widgets also have more settings and better app performance compared to classic forms.
Since widgets require no coding changes, you can easily have many different types of widgets in your store to handle all types of booking scenarios.
If you have not tried out a widget yet, please see the following:
Widgets Article 🔗
Step 1 – Choose Your Booking Form 🔍
- Login to BookThatApp
- Read our help desk article to determine which booking form is most applicable for your store.
- Write in to our support team for assistance.
- Once you have chosen a booking form, in the app admin, select Developer Guide ->Product Page. Please refer to our article how to choose the booking form if you need help with this step.
Step 2 – Add Booking Form to the Shopify Product Page 🛒
- In Shopify Admin, open your current theme.
- Open the product-form.liquid file under the Snippets area of your Theme Editor.
- Copy the below code.
<div class="select">
{% include 'booking-form' %}
</div>
- Paste the code around line 62 as illustrated.
- Click Save
Step 3 – Update the Cart Page 🛍️
- Continue with Step here: Disabling Quantity on the Cart Page. This step makes the cart quantity read only to prevent overbookings. The quantity code is at line 66 of the cart-template.liquid file in the Sections area of the Theme Editor.
Step 4 - Updating the Email Templates
- Continue with the instructions in the BTA Admin -> Developer Guide -> Email Notifications page.
Step 5 – Additional Code Changes ⚙️
1. Cart Type
- Set the cart type as 'Page'.
Cart Types other than 'Page' are not a supported feature. If you require us to troubleshoot this feature it will not fall under our no-charge support.
2. Quick View
Quick View is not a supported feature and we recommend that you disable it in your theme settings. If you require us to troubleshoot this feature it will not fall under our no-charge support.
- If Quick View is left on you will need to add the below to the theme.liquid file just before the closing body tag
</body>.
<script>
var ids = [];
$("form[action='/cart/add']").each(function(i, e) {
ids.push($(e).attr('id').split('-')[2]);
});
var bta = {
product_id: ids.join(',')
}
</script>
The app should now be successfully installed. If you have any questions or the booking form is not appearing, please create a ticket and we'll be happy to help.
Comments
0 comments
Please sign in to leave a comment.