Bocce's Bakery Theme
Overview
| Property | Value |
|---|---|
| Theme name | Bocce (theme_info in settings_schema.json) |
| Schema version | 15.6.3 |
| Package | shopify-foundation-theme 4.5.0 |
| Author | Progress Labs |
| Store | boccesbakery (boccesbakery.myshopify.com) |
| Live site | boccesbakery.com |
| Base | Slate-era "Atlantic" theme on Shopify Theme Lab (Vite + Vue 3) |
Bocce's Bakery is a dog treats and bakery brand. The theme was not built by the Antelope team: it is a Slate theme running on a Vite build, with extensive custom features.
Key features
- Cart drawer (Vue): instant cart updates, upsell / best sellers carousel, free-shipping bar, savings row, subscription plan selector and gift with purchase. See Cart & Checkout.
- PLP: metafield-driven headline, sub-collection navigation and client-side tag filters. See Collection Pages.
- Product cards with a one-liner, blended Amazon/Chewy ratings and a "See Discounted Price in Bag" note. See Product card.
- Blog, Pinpoint store locator page and NFLPA landing page.
- In-house accessibility drawer. See Accessibility Settings.
Tech Stack
| Layer | Technology |
|---|---|
| Build tool | Vite 4 (vite-plugin-shopify, @by-association-only/vite-plugin-shopify-clean) |
| JS framework | Vue 3 + Vuex 4, mounted on any element with a vue attribute |
| Legacy JS | src/atlantic.js: the Slate/jQuery theme script, bundled by Vite |
| CSS (Vite) | Sass in src/css/ (compiled by Vite, cannot read settings.*) |
| CSS (legacy) | shopify/assets/static.theme.scss.liquid: Slate SCSS with Liquid, rendered by Shopify |
| PostCSS | autoprefixer, postcss-import (no Tailwind config, despite the tailwind dependency) |
| Linting | ESLint, Stylelint, Prettier (pretty-quick pre-commit via Husky) |
| CI | GitHub Actions: Node 20, npm ci + npm run build, then shopify theme push |
Where new CSS goes
The repo README says the Slate stylesheet (static.theme.scss.liquid) is legacy: put new CSS in src/css/. A value the merchant controls can't be read by Vite-compiled CSS, so pass it in as a CSS custom property from layout/theme.liquid. The PLP one-liner does this: see Product one-liner.
Directory Structure
boccesbakery/
├── src/ # Compiled by Vite into shopify/assets/
│ ├── entrypoints/main.js # Vue/Vuex bootstrap + window.__bocces.addToCart
│ ├── atlantic.js # Legacy Slate/jQuery theme JS
│ ├── css/ # main.scss, theme-overflow.scss, sections/*.scss
│ ├── utils/ # cart-line.js, optimistic-line.js, config.js
│ └── vue/
│ ├── components/ # Accessibility, Accordion, Cart/*, render/*, renderless/*
│ ├── store/ # cart.js, gwp.js (Vuex modules, auto-registered)
│ ├── mixins/ directives/
├── shopify/
│ ├── assets/ # Build output + *.static.* files (fonts, legacy JS/CSS)
│ ├── config/ # settings_schema.json, settings_data.json
│ ├── layout/ # theme.liquid, password.liquid, SWYM_BACKUP_theme.liquid
│ ├── locales/
│ ├── sections/ # 124 section files
│ ├── snippets/ # 98 snippet files
│ └── templates/ # 95 templates + customers/
├── .github/workflows/ # shopify-deploy.yml, shopify-sync.yml
├── vite.config.js
└── package.jsonOnly files with static in the name are committed under shopify/assets/. The Vite bundle (main.[hash].min.js/css) is built in CI. snippets/vite-tag.liquid is generated by the build: don't edit it by hand. It changes in almost every commit because of this.
Section naming
| Prefix | Purpose | Count |
|---|---|---|
static-* | Page-specific sections (PDP, PLP, cart, header, footer, landing pages) | 76 |
dynamic-* | Reusable content sections, available on any JSON template | 20 |
section-* | Custom sections (blocks 1–5, blended reviews, bubble animation, other brands…) | 13 |
nflpa-* | NFLPA partnership sections | 6 |
pxs-* | PXS utility sections (announcement bar, map, newsletter) | 3 |
main-* | Blog + article | 2 |
Build Commands
| Command | Description |
|---|---|
yarn start | Dev mode: shopify theme dev + Vite dev server in parallel |
yarn build | Production Vite build into shopify/assets/ |
yarn deploy | Build + shopify theme push (ignores *.json) |
yarn publish | Build + push as a new unpublished theme |
yarn shopify:pull | Pull the live theme |
yarn shopify:pull:content | Pull only JSON content files |
yarn lint / yarn fix | ESLint + Stylelint + shopify theme check |
Deployment: Theme A and Theme B
Two themes on the store are deployed by GitHub Actions (.github/workflows/shopify-deploy.yml):
| Branch | Theme | Theme ID | Role |
|---|---|---|---|
main | Theme A | 154259816602 | Live theme (control in A/B tests) |
staging | Theme B | 138336731290 | Unpublished variant for Intelligems A/B tests |
- Work is shipped as paired PRs:
antNNN/antNNNa→main(A) andantNNNb→staging(B). Some pairs use a date-based branch name with an-A/-Bsuffix instead. shopify-sync.ymlis a manual workflow that pulls customizer changes from Theme A or B back into git ("Sync Theme A/B dashboard changes"). Customizer content can also be pulled by hand withyarn shopify:pull:contentand committed.- The
maincopy ofshopify-deploy.ymlnamesstaging-a-themeas the Theme B branch. The copy onstaging(the one that actually runs for staging pushes) usesstaging.
A and B are not identical
main and staging are separate lineages. They are kept in step by hand through the paired PRs, so the two themes can drift apart. bb-theme-test-investigation.md in the repo root is an audit of the differences. The known functional differences, present on Theme B only, are:
- strike-through compare-at pricing on PLP, search and live search;
- a Search → Use product grid layout theme setting;
- the header cart count rendered by a Vue
cart-countcomponent (A renders it server-side); - the extra templates
page.dog-treat-guide,page.wholesale-redirect,product.limited-editionandcart.mini-backup.
Before an A/B test, compare the two branches. Don't assume the only difference is the feature under test.
Fonts
The storefront uses self-hosted font files in shopify/assets/. They are declared with @font-face at the top of static.theme.scss.liquid and preloaded in layout/theme.liquid:
| Family | Files | Used for |
|---|---|---|
| Brandon Grotesque | Brandon_{light_it, thin_it, reg_it, med, med_it, bld, bld_it, blk, blk_it}.static.woff2 (+ .otf fallbacks) | $sans-serif: body, nav, buttons, product cards |
| Value Serif | value_serif.static.woff2 / .ttf (weight 300) | $serif: headings, PLP headline, sub-collection nav labels |
| Dyslexic | dyslexic.static.ttf | "Dyslexia-Friendly Font" option in the accessibility drawer |
The Typography theme settings don't change the site font
Theme settings → Typography has four Shopify font pickers (ITC Novarese, Mariposa Sans, ITC Stone Sans II, Avenir Next). But the Liquid loop that would load them is commented out in static.theme.scss.liquid, and the stylesheet hard-codes Brandon Grotesque / Value Serif. Only font_headings_captialize and font_accent are referenced in the SCSS, and neither changes the typeface. To change a typeface, replace the static font files and the @font-face rules.
Templates
Most templates are legacy .liquid templates that include fixed static-* sections. Newer pages use JSON templates, whose sections can be edited in the customizer.
Product templates
| Template | Purpose |
|---|---|
product.liquid | Default PDP |
product.bubble.liquid | Default PDP + ambient bubble animation (spa / wash products) |
product.build-your-bundle.liquid | Build-your-bundle product |
product.cat.liquid | Cat products (cat ingredients section) |
product.halloween-product.liquid | Seasonal PDP |
product.quantity-upsells.liquid | PDP variant with quantity upsells |
product.no-atc.liquid | PDP without add-to-cart / reviews |
product.supplement.liquid | Supplement PDP |
product.baskets.json | Gift baskets |
product.recharge-bundle.json | ReCharge bundle widget (app block) |
product.ajax.liquid | AJAX product payload (quick shop) |
See Product Pages.
Collection templates
13 JSON collection templates (shop-all, shop-dog, new, cat, biscuits, soft-chewy, jerky, training-treats, wellness, special-edition, halloween-treats, dynamic-filters, collection-page-no-banner) all use the static-collection-filters PLP. There are also 24 legacy .liquid templates (category-1…category-20, cats, filters, subcollection-list, default). /collections redirects to /collections/shop-all. See Collection Pages.
Page templates (34)
Notable ones: Store Locator (page.custom-store-locator.json), NFLPA landing (page.nflpa-landing-page.json), Wholesale, Innovation 2026, Accessibility, GWP landings (page.gwp-*, page.dogust-gwp-v2, page.bocce-s-bday-gwp, page.2024-faves-gwp), FAQ, Reviews, Press, Our Story, Why Bocce's, Shake Shack, Tradeshow, Ambassador program, and six page.vs_full_*_sweepstakes pages.
Blog & customers
blog.liquid→main-blog,article.liquid→main-article. See Blog.templates/customers/*.liquidare the classic account templates. For the customer account "My pet" card, see Integrations.
Vue Components
Components are auto-registered from src/vue/components/ and mounted wherever Liquid renders an element with the vue attribute.
| Component file | Tag used in Liquid | Role |
|---|---|---|
Cart/index.vue | store-cart | Cart drawer body: lines, upsell / best sellers, subtotal, free-shipping bar, savings, checkout |
Cart/CartItem.vue | cart-item (inside store-cart) | One cart line: stepper, remove, plan selector, "Update To Subscribe" |
Cart/Announcement.vue | announcement-cart | Rotating announcement strip at the top of the drawer |
Cart/UpsaleSlider.vue | upsale-slider (inside store-cart) | Upsell carousel |
Cart/CartCount.vue | cart-count | Item count in the drawer header |
render/gwp-progress-bar.vue | render-gwp-progress-bar | GWP threshold bar + copy |
render/gwp-line-item.vue | render-gwp-line-item | "Add your free gift" row |
render/filter-options.vue | render-filter-options | PLP tag filters |
render/baskets-options.vue | render-baskets-options | Gift basket options |
Accessibility/index.vue | accessibility | Footer accessibility drawer |
Third-Party Apps
| App | Purpose |
|---|---|
| Junip | Product reviews (+ blended Amazon/Chewy ratings from metafields) |
| ReCharge | Subscribe & Save (app embed + bundle widget) |
| Klaviyo | Email / on-site forms, back-in-stock |
| Smile | Loyalty rewards |
| Swym | Wishlist |
| Gorgias | Chat widget |
| Intelligems | A/B testing (script in theme.liquid) |
| Pinpoint Store Locator | Store locator page (custom app) |
| Blockify Fraud Filter | App embed (enabled on both themes) |
| AdRoll, Hotjar, Google Analytics / Ads | Marketing & analytics |
Full details: Third-Party Integrations.