doc-site
Reference

Legacy and unused code

Code, settings and templates in the ASC repositories that are not live, and places where the code or older documentation contradicts current behaviour.

The storefront has been rebuilt in stages since 2024, and earlier versions were often left in place. A file being present, or described in older documentation, is not evidence that it runs. Search for references before relying on or deleting anything.

Replaced services and integrations

ItemReplaced byNotes
google-cloud-api/asc-api-membership-pass, since 10 June 2026Its children/save route fails since the Full Name field was removed from the form, and its DELETE route reads parameters that do not exist. The Cloud Run service built from it still responds at its previous address. Confirm in Google Cloud whether it can be deleted
Root gcloud-api:* scripts, .vscode/launch.json, .vscode/tasks.jsonNothingOnly serve google-cloud-api/
misc/zapier-scripts/shopify-zoho-integration2024 Zapier code steps
misc/zapier-scripts/membership-pass/deprecated/Membership passes as cart swapsEarlier discount code approach
Theme setting value membership_pass_webhookasc-api-membership-passNo setting definition and no code reads it
documentation/doc-site/content/Kept for reference
asc-layout.excalidraw, asc-layout.pngSystem overviewDecember 2024, shows gcloud-api and no club search

Theme cart

ItemStatus
sections/asc-cart-items.liquid, snippets/camp-cart-item.liquid, snippets/asc-cart-actions.liquidPrevious cart. Turned off in templates/cart.json
sections/main-cart-footer.liquidTurned off in templates/cart.json
sections/main-cart-items.liquid, assets/cart.jsOnly loaded by the turned-off ASC Items section
snippets/cart-drawer.liquid, assets/cart-drawer.js, assets/cart-notification.jsOnly used when Cart type is drawer. It is notification
documentation/diagrams/membership-pass-cta.*Accurately describes asc-cart-actions.liquid, not the live cart

Theme sections, snippets and templates

ItemStatus
sections/main-product-orig.liquid, sections/main-search-stripped.liquid, sections/related-products.liquidNot referenced and cannot be added
sections/announcement-bar.liquid, collage.liquid, collection-list.liquid, featured-product.liquid, newsletter.liquid, products-carousel.liquid, quick-order-list.liquid, slideshow.liquidDawn sections not placed anywhere, but staff can add them
snippets/globo.filter.product.liquidFormer filter app. Not rendered
snippets/icon-asc-calendar-filled.liquid, snippets/icon-asc-pin-filled.liquidNot rendered
Blocks and most settings in sections/main-product.liquidIgnored by its markup. Only the CVP settings work
templates/page.city-and-sports.jsonReferences seven sections that exist only on the unmerged redesign branch
templates/page.find-a-camp-sport-testing.json, page.get-started-test.json, page.get-started-testing.jsonTest copies
templates/page.contact.json, page.book-a-camp.json, page.sport.json, page.less-offer-for-belgra.json, page.less-offer-for-genesi.jsonProbably unused. Check page assignments in Shopify Admin before deleting
theme/mcps/Not theme files

An alternate template is only safe to delete when no page, product or collection in Shopify Admin is assigned to it. That assignment is not in the repository.

Theme assets

ItemStatus
styles.bundle.js, camp-booking.cssWritten by the build, not loaded
styles.js2024 output of the old CSS config, not loaded
date-picker.bundle.jsLoaded on every page. Its only target element is inside a Liquid comment
asc-003-tracking.jsA/B test tracking with all calls commented out. Not loaded
map_style.json, markerclusterer.min.js, stylised-dropdown.jsNot referenced
component-cart-drawer.css, component-cart-items.css, component-cart-notification.css, component-mega-menu.css, component-menu-drawer.css, component-predictive-search.css, details-disclosure.js, predictive-search.js, search-form.js, jquery-3.7.1.min.mapDawn files not referenced

Settings with no effect

SettingWhy
Theme setting Afterpay LogoNot read
ASC Footer, Outer bottom textNot rendered. Copyright Bar's setting is used
Camp Location, CTA DestinationThe link is always Google Maps
Camp Finder, Search CTA DestinationWritten to JavaScript only. The button links to /pages/get-started
ASC Header, Sign in labelThe button uses translation strings
Variant metafield Sort PriorityNot used for ordering
Product metafield Sport Safety InformationThe theme reads a variant key instead
Location metaobject date fields and Sort PriorityNot read
Page metafield Related ResourceNot read

src

ItemStatus
src/css/tw_out.css and the postcss, postcss:build scriptsOutput not imported by anything
src/webpack-css.config.js, watch:css scriptPaths no longer resolve
serve scriptwebpack-dev-server not installed
participantDetailsSchema and validateInputs in src/components/CampBooking.tsxNever called
addToCart in src/components/utils.tsxNo callers
src/components/ui/datepicker.tsx, src/components/ui/calendar.tsxNot used
window.AirDatepicker, window.AirDatepickerLocaleEn in src/js/custom.jsNo consumer
src/@types/zoho.tsOnly Club is used
Root dependencies hono, maplibre-gl, swiper, html-webpack-plugin, init, npx, shadcn-ui, chokidar, concurrently, cross-env, ts-loader, ts-node, @webpack-cli/generators, @radix-ui/react-icons, and pdfjs-dist in src/package.jsonNo importer in this repository

Repository root

ItemStatus
.shopifyignore, .shopify/metafields.jsonFrom before the theme became a submodule
components.jsonPoints at files that are not at the root
TODO.mdEmpty
seo-urls.jsOne-off
.github/workflows/sync-live-changes.yml steps for dev-content and dev-seoBranches do not exist, so each run fails after merging staging
README.md development commandsScripts no longer exist. See Local development

Known discrepancies

These are places where code, settings or older documentation disagree with actual behaviour. They are recorded rather than fixed, because fixing them changes storefront behaviour.

DiscrepancyDetail
Saved children lose some fieldsSee Booking form
Pass expiry is not enforced on the storefrontSee Membership passes
Week number on some camp cards may be off by onesections/camp-list.liquid and sections/booking-ctas.liquid use a 1-based loop index into the 0-based variant options. snippets/geojson-variant.liquid does it correctly
booking-ctas.liquid reads product.options where product is not definedSame cards
Suburb filter needs In Season to be trueEvery other check treats blank as in season
Only the first 50 locations reach window.theme.locations on product pageslayout/theme.product.liquid does not paginate
Hotjar is not loaded on product pagesPresent only in layout/theme.liquid
Mobile Camps by city links partner programs to their Landing PageDesktop uses the menu item's link
Mobile Camps by city always shows the membership pass promotionIgnores Show Membership Pass
Countdown Banner click toggles an element that does not existNo visible effect
Third ASC - Webhooks setting is labelled "Brochure Download Webhook"Its id is form_submission_webhook
FAQPage structured data is hard-codedDoes not follow FAQ entries
documentation/SPORTS.md and documentation/PHYSICALPRODUCTS.md describe partner camp and product tags as separating productspartner camp does nothing. Zoho separation uses ecommerce-product
documentation/NAVIGATION.md refers to "Main menu"The header uses new-main-menu
documentation/CAMPS.md says to swap camps by editing the orderUse the Camp Swap app
documentation/TECHSTACK.md lists one Cloud Run service and develop and staging branchesThere are two services, and no develop branch

Before deleting anything

  1. Search both repositories for the file name or handle, including JSON templates and config/settings_data.json.
  2. For a snippet, also search for render calls that use a variable name.
  3. For a template, check Shopify Admin for assigned pages, products or collections.
  4. For an app file, check whether the app is still installed under Apps in Shopify Admin.
  5. Delete on a branch, preview it, and check the affected pages.

On this page