Reference
Theme settings
The ASC groups in the theme's settings, each setting's label and id, and what reads it.
Theme settings are edited in the theme editor under Theme settings. Values are stored in theme/config/settings_data.json, and the theme editor writes to that file on the live theme.
Brand information
| Label | Id | Read by |
|---|---|---|
| Default hero image | default_hero_image | Hero with video, when a page has no video or image |
| Afterpay Logo | afterpay_logo | Not used |
Cart
| Label | Id | Current value | Notes |
|---|---|---|---|
| Cart type | cart_type | notification | drawer would render the unused Dawn cart drawer |
ASC - Camp Finder
| Label | Id | Read by |
|---|---|---|
| All Sports Collection | sports_collection | Menus, maps, Camp Finder, window.theme.allCamps. Currently camps |
| Choose Location label | choose_location_label | Camp Finder |
| Choose Sport label | choose_sport_label | Camp Finder |
| ASC Camp Map Pin | asc_pin | Maps |
| CSC Camp Map Pin | csc_pin | Maps |
| Partner Camp Map Pin | partner_pin | Maps |
ASC - Google Reviews
| Label | Id | Read by |
|---|---|---|
| Google Reviews Logo | google_review_badge | Booking form badge |
| Google Reviews Badge Title | google_review_title | Booking form badge |
| Google Reviews Badge Description | google_review_description | Booking form badge |
| Google Reviews Badge Rating | google_review_rating | Booking form badge, Google Reviews Summary section |
| Google Reviews URL | google_reviews_url | Static Reviews fallback link |
ASC - Camp Booking
All passed to the booking form as window.theme.campBookingConfig by layout/theme.product.liquid.
| Label | Id | Default |
|---|---|---|
| Title | booking_config_title | Book Your Camp |
| Description | booking_config_description | |
| Participant Details | participant_details_heading | Participant Details |
| Participant Details Description | participant_details_description | |
| First Name Label, Placeholder | first_name_label, first_name_placeholder | First name, Enter First Name |
| Middle Name Label, Placeholder | middle_name_label, middle_name_placeholder | Middle name, Enter Middle Name |
| Last Name Label, Placeholder | last_name_label, last_name_placeholder | Last name, Enter Last Name |
| Date of birth Label | date_of_birth_label | Date of birth |
| Date of birth Label | date_of_birth_min_age | 4. This is the minimum age |
| Date of birth Label | date_of_birth_max_age | 16. This is the maximum age |
| Date of birth Placeholder | date_of_birth_placeholder | Enter Date of birth |
| Untranslated label | date_of_birth_month_placeholder | Month. Not passed to the form |
| Gender Label, Placeholder | gender_label, gender_placeholder | Gender, Select Gender |
| Confidential Gender Information Label | has_confidential_gender_information_label | I would like to add further confidential gender information |
| Confidential Gender Information Textarea Label | confidential_gender_information_label | Enter additional gender information |
| Playing Experience Heading | playing_experience_heading | Playing Experience |
| Playing Experience Description | playing_experience_description | |
| School Label, Placeholder | school_label, school_placeholder | School, Start typing the school |
| Grade Label, Placeholder | grade_label, grade_placeholder | Grade, Current school grade or year level |
| Club/Team Name Label, Placeholder | clubteam_name_label, clubteam_name_placeholder | Club/Team Name, Start typing club name |
| Playing Experience Label, Placeholder | playing_experience_label, playing_experience_placeholder | Playing Experience, Participant experience level |
| Friends Attending Label | has_friends_attending_label | The participant has friends attending this camp |
| Friends Attending Textarea Label | friends_attending_label | Enter names of friends attending (for camp grouping purposes) |
| Medical Condition Label | has_medical_condition_label | The participant has a Medical Condition |
| Medical Condition Textarea Label | medical_condition_label | Enter details of Medical Conditions |
| Next Participant Label | next_participant_label | Next Participant |
| Edit Previous Participant Label | edit_previous_participant_label | Edit Previous Participant |
| Submit Label | submit_label | Add to cart |
| Back button Label | back_button_label | Edit previous participant |
The layout also passes full_name_label and full_name_placeholder, which have no setting.
ASC - Camp Types
Content for the camp types pop-up that opens from the label on a camp card. Rendered only on pages using layout/theme.liquid.
| Group | Settings |
|---|---|
| Community Sports Camps (CSC) | CSC Tag, CSC Title, CSC Description, Show CSC as the main camp?, CSC Colour, CSC Highlights |
| ASC Camps | ASC Tag, ASC Title, ASC Description, Show ASC as the main camp?, ASC Colour, ASC Highlights |
| Partner Camps | Partner Tag, Partner Title, Partner Description, Show partner as the main camp?, Partner Colour, Partner Highlights |
ASC - Analytics
| Label | Id | Current value | Read by |
|---|---|---|---|
| Google Tag Manager Container ID | gtm_id | Blank | snippets/gtm.liquid, theme.liquid only |
| Google AdWords ID | adwords_id | Blank | snippets/gtag.liquid, theme.liquid only |
| Hotjar ID | hotjar_id | Set | snippets/hotjar.liquid, theme.liquid only |
ASC - Webhooks
| Label | Id | Read by |
|---|---|---|
| Brochure Download Webhook | download_brochure_webhook | Brochure sign-up form on booking pages |
| Brochure Landing Page Download Webhook | download_brochure_landing_page_webhook | Flyer and guide forms |
| Brochure Download Webhook | form_submission_webhook | Other Hulk form submissions. The label is a copy of the first setting's |
settings_data.json also holds membership_pass_webhook and booking_config_google_badge. Neither has a setting or any code that reads it.
ASC - Membership Pass
| Label | Id | Read by |
|---|---|---|
| Google Cloud API URL | gcloud_api_root | window.theme.api.root, the base for saved children and pass use. Must end with / |