Skip to content

Bocce's Bakery Theme ​

Overview ​

PropertyValue
Theme nameBocce (theme_info in settings_schema.json)
Schema version15.6.3
Packageshopify-foundation-theme 4.5.0
AuthorProgress Labs
Storeboccesbakery (boccesbakery.myshopify.com)
Live siteboccesbakery.com
BaseSlate-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 ​

LayerTechnology
Build toolVite 4 (vite-plugin-shopify, @by-association-only/vite-plugin-shopify-clean)
JS frameworkVue 3 + Vuex 4, mounted on any element with a vue attribute
Legacy JSsrc/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
PostCSSautoprefixer, postcss-import (no Tailwind config, despite the tailwind dependency)
LintingESLint, Stylelint, Prettier (pretty-quick pre-commit via Husky)
CIGitHub 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.json

Only 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 ​

PrefixPurposeCount
static-*Page-specific sections (PDP, PLP, cart, header, footer, landing pages)76
dynamic-*Reusable content sections, available on any JSON template20
section-*Custom sections (blocks 1–5, blended reviews, bubble animation, other brands…)13
nflpa-*NFLPA partnership sections6
pxs-*PXS utility sections (announcement bar, map, newsletter)3
main-*Blog + article2

Build Commands ​

CommandDescription
yarn startDev mode: shopify theme dev + Vite dev server in parallel
yarn buildProduction Vite build into shopify/assets/
yarn deployBuild + shopify theme push (ignores *.json)
yarn publishBuild + push as a new unpublished theme
yarn shopify:pullPull the live theme
yarn shopify:pull:contentPull only JSON content files
yarn lint / yarn fixESLint + 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):

BranchThemeTheme IDRole
mainTheme A154259816602Live theme (control in A/B tests)
stagingTheme B138336731290Unpublished variant for Intelligems A/B tests
  • Work is shipped as paired PRs: antNNN / antNNNa → main (A) and antNNNb → staging (B). Some pairs use a date-based branch name with an -A / -B suffix instead.
  • shopify-sync.yml is 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 with yarn shopify:pull:content and committed.
  • The main copy of shopify-deploy.yml names staging-a-theme as the Theme B branch. The copy on staging (the one that actually runs for staging pushes) uses staging.

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-count component (A renders it server-side);
  • the extra templates page.dog-treat-guide, page.wholesale-redirect, product.limited-edition and cart.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:

FamilyFilesUsed for
Brandon GrotesqueBrandon_{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 Serifvalue_serif.static.woff2 / .ttf (weight 300)$serif: headings, PLP headline, sub-collection nav labels
Dyslexicdyslexic.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 ​

TemplatePurpose
product.liquidDefault PDP
product.bubble.liquidDefault PDP + ambient bubble animation (spa / wash products)
product.build-your-bundle.liquidBuild-your-bundle product
product.cat.liquidCat products (cat ingredients section)
product.halloween-product.liquidSeasonal PDP
product.quantity-upsells.liquidPDP variant with quantity upsells
product.no-atc.liquidPDP without add-to-cart / reviews
product.supplement.liquidSupplement PDP
product.baskets.jsonGift baskets
product.recharge-bundle.jsonReCharge bundle widget (app block)
product.ajax.liquidAJAX 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/*.liquid are 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 fileTag used in LiquidRole
Cart/index.vuestore-cartCart drawer body: lines, upsell / best sellers, subtotal, free-shipping bar, savings, checkout
Cart/CartItem.vuecart-item (inside store-cart)One cart line: stepper, remove, plan selector, "Update To Subscribe"
Cart/Announcement.vueannouncement-cartRotating announcement strip at the top of the drawer
Cart/UpsaleSlider.vueupsale-slider (inside store-cart)Upsell carousel
Cart/CartCount.vuecart-countItem count in the drawer header
render/gwp-progress-bar.vuerender-gwp-progress-barGWP threshold bar + copy
render/gwp-line-item.vuerender-gwp-line-item"Add your free gift" row
render/filter-options.vuerender-filter-optionsPLP tag filters
render/baskets-options.vuerender-baskets-optionsGift basket options
Accessibility/index.vueaccessibilityFooter accessibility drawer

Third-Party Apps ​

AppPurpose
JunipProduct reviews (+ blended Amazon/Chewy ratings from metafields)
ReChargeSubscribe & Save (app embed + bundle widget)
KlaviyoEmail / on-site forms, back-in-stock
SmileLoyalty rewards
SwymWishlist
GorgiasChat widget
IntelligemsA/B testing (script in theme.liquid)
Pinpoint Store LocatorStore locator page (custom app)
Blockify Fraud FilterApp embed (enabled on both themes)
AdRoll, Hotjar, Google Analytics / AdsMarketing & analytics

Full details: Third-Party Integrations.

Antelope Themes Documentation

Enter the password to access this site.