This guide focuses on how to create a schedule. Creating a schedule is normally the last step you would take when configuring classes, tours, or activities.
Schedules can be created at the product level or at the location level. This means the schedule rule can either apply to the product in its entirety, or it can apply to a specific location that is associated with the product. Both scenarios are covered below.
Here is a breakdown of what you will find in this guide:
- Locating the schedule area
- Creating one-off schedule rules
- Creating recurring schedule rules
- Scheduling events on different dates in different locations
Scheduling at the Product Level
Schedule rules can either be one-off or they can repeat. Both scenarios are covered below.
Note: the time format cannot be changed for the scheduler.
The Schedule Area
When you reach the bottom of the product configuration page you will reach a blank schedule.
1. Click the +Add Dates button.
2. Choose a start date and time.
3. Leave the Location selector in its default state so that the schedule rule applies at the product level.
4. Choose the frequency the schedule rule will repeat. If you want to create a one-off date you can leave the "Repeat" checkbox disabled.
Scheduling One-off Dates
One-off dates are schedule items that occur on a single day with no regular repetition.
5a. Since you are creating a one-off schedule select Save.
6a. If you need to create additional one-off schedule complete steps 1 through 4 of the above.
7a. When finished adding schedule items select Save.
Scheduling Recurring Dates
An example of a repeating schedule would be an event that occurs every other Tuesday at 11am and every other Thursday at 1pm. This section resumes the process from step 4 of The Schedule Area section from above.
5b. In case you've enabled the "Repeat" checkbox in step 4 the schedule options will expand.
6b. Enter a value in the "Repeat Every" field. As this schedule will repeat every other week we are using a value of "2 Weeks".
7b. Selecting checkboxes in the Specific Months section allows you to limit the months the schedule rule will apply. Not selecting a checkbox will apply the schedule rule to all months.
8b. Selecting checkboxes in the Specific Days section allows you to limit the days the schedule rule will apply. Not selecting a checkbox will apply the schedule rule to all days.
9b. If the starting time for the schedule item will be different than the time specified in the Start Date you initially entered you will enter time in the Time field.
10b. The Until field allows you to specify an end date for the rule. If there is not an expected end date for the schedule item you will leave it in its default state.
11b. Select Save.
12b. Repeat the process starting from step 1 if you have additional schedule items to add.
13b. Select Save when finished adding schedule items.
Scheduled Events on Different Dates in Different Locations
This section details our solution for creating different schedules for scheduled events held at different locations. This can now be achieved with a single product. Scheduled events are considered classes, tours, and activities.
There are 2 methods of implementation: widget implementation, and our classic booking forms implementation.
Widget Implementation
- Create your products within Shopify as you normally would.
- Access the Settings-> Locations the app admin.
- Create your locations.
- Import your products into BTA. For assistance with product configuration use the relevant configuration guide from the following:
https://support.zetya.com/hc/en-us/articles/333757007175-Setup-Guide-Directory - During the product configuration enter the location in the Locations field.
- Next at the section titled Schedule select the +Add Dates button.
- Choose a location from the Location drop-down menu.
- Scroll up to the relevant section to create the schedule: one-off or repeating.
- After saving the product create or access your widget by selecting Widgets from the Configuration section of the app.
- Select the checkbox for Allow Choosing Location.
Classic Booking Form Implementation
- Create your products within Shopify as you normally would.
- Access the Settings-> Locations the app admin.
- Create your locations.
- Import your products into BTA. For assistance with product configuration use the relevant configuration guide from the following:
https://support.zetya.com/hc/en-us/articles/333757007175-Setup-Guide-Directory - During the product configuration enter the location in the Locations field.
- Next at the section titled Schedule select the +Add Dates button.
- Choose a location from the Location drop-down menu.
- Scroll up to the relevant section to create the schedule: one-off or repeating.
- Access the booking-form.liquid file found in the Snippets section of your theme files.
- Add the following line of code right before the code for the booking fields.
<div class="bta-location-picker"></div>
The end result will look similar to the below.
{% else %}
{% comment %}
<div class="bta-resource-picker"></div>
{% endcomment %}
<div class="bta-location-picker"></div>
<div>
{% capture attribute %}booking-start{% endcapture %}
<label for="{{ attribute }}-{{ product.handle }}">Date:</label>
<input id="{{ attribute }}-{{ product.handle }}" type="text" name="properties[Date]"
class="datepicker bta required bta-load-enable bta-dp-start" disabled="disabled"
data-handle="{{ product.handle }}" data-variant="{{ product.selected_or_first_available_variant.id }}"
data-bta-product-config="{{ product.metafields.bookthatapp.config }}"
data-bta-variant-config="{% for variant in product.variants %}{{ variant.id }}:{{ variant.metafields.bookthatapp.config }}{% unless forloop.last %},{% endunless %}{% endfor %}"
placeholder="Select date..." />
</div>
Your customers will now be able to choose between locations when booking their event. The schedule that is displayed will be based on the location that is selected. If no location is selected all schedule items for the product will display.
If you have any questions please create a ticket and we'll be happy to help.
Comments
0 comments
Please sign in to leave a comment.