Layout Sections
layout/theme.liquid renders, in order: the quick shop modal, the cart drawer (cart-mini), pxs-announcement-bar, static-header, the page content, static-footer, and a scroll-to-top button. layout/SWYM_BACKUP_theme.liquid is a backup copy of the layout and isn't used.
Header
Section file: static-header.liquid
| Setting | ID | Type | Current |
|---|---|---|---|
| Logo image | image | image | Bocces_Bakery_Logo_For_Web.png |
| Logo width | logo-width | text | 150 |
| Header Layout | header-layout | select (normal / minimal / minimal-sticky) | minimal |
| Center logo | center-header | checkbox | true |
| Show login and search labels | show-labels | checkbox | false |
| Cart icon | cart-icon | select (cart / bag) | cart |
| Enable live search | live_search_enabled | checkbox | true |
| Display results | live_search_display | select | product-article-page |
| Main Menu Mobile | menu | link_list | mobile-main-menu-v2 |
| Main menu left | menu_left | link_list | main-menu-left-v2 |
| Main menu right | menu_right | link_list | main-menu-right-v2 |
| Sub-columns layout | top-level-columns | select | one-column |
| Mobile nav footer heading | footer-message-title | text | "Let's be best friends." |
Mega Nav Image Links
The mega navigation shows an image for each category link. Images are configured with header blocks.
Block type: allow-images turns on images for the dropdown under one parent link:
| Setting | Type | Description |
|---|---|---|
| Allow nav images | Checkbox | Enable images for this nav item |
| Parent URL | URL | Which nav item gets images |
Currently enabled for /collections/shop-all, /collections/new and /collections.
Block type: link-image assigns an image to a link:
| Link | Image |
|---|---|
/collections/shop-all | Shop_All.png |
/collections/shop-dog | Dog_Treats.png |
/collections/shop-cat | Cat_Treats.png |
/collections/food-topper-recipes | Food_Toppers.png |
/collections/bundles | Bundles_1_….png |
/pages/nflpa | BB_NFL_Nav_Icon_Football.png |
/collections/dog-supplements | Supplements_….png |
/collections/sale | Featured_holiday.png |
/collections/bocces-spa | Spa.png |
/collections/new | New_Opt_2_holiday.png |
/collections/special-edition-recipes | Seasonal_….png |
Block type: featured adds a promo card to the mega nav:
| Setting | Type | Description |
|---|---|---|
| URL | URL | Promotion destination |
| Text | Text | Promo headline |
| Image | Image picker | Promo image |
| CTA text | Text | Button text |
The current featured card ("Treats Worth Tailgating For", NFLPA) is disabled.
Dropdown link hover
Dropdown links keep their text colour on hover so they stay readable. The white-text hover rules are commented out in src/css/theme-overflow.scss.
Cart count
On Theme A, the header cart count is server-rendered: snippets/header-tools-right.liquid outputs a data-cart-mini-count element. The Vuex cart store keeps it in step after every change (see Instant cart updates). Theme B renders the count with the Vue cart-count component instead.
Search
Live search (header dropdown)
Snippet: snippets/live-search.liquid (results: live-search-results*.liquid). The dropdown prefix-matches through Shopify's suggest.json. With product-article-page, it lists products, articles and pages.
Search results page
Section file: static-search.liquid (template search.liquid). It shows 10 results per page. Products tagged internal_only are skipped, and the results count excludes them.
Partial term matching. Shopify's /search only matches whole words: "Basi" finds nothing, "Basics" finds the products. So:
- the results-page form and the header search form append a trailing
*to the query on submit; - the dropdown's View all results link is built as
/search?q=<term>*, so it lists the same products the dropdown offered; - the
*is stripped wherever the term is displayed (results heading and search field). Apostrophes survive:Bocce'sisn't turned into'.
Add to cart in results. Product results (snippets/search-result.liquid) have an Add to cart button, with the same stock logic as the product card: FIND STORE, SHOP ONLINE, OUT OF STOCK and bundle checks. Results also show the "See Discounted Price in Bag" note for sale items.
Theme B only: product grid layout
Theme B adds Theme settings → Search → Use product grid layout (search_product_grid, default true). When on, the results page renders products only, as the PLP product grid, 12 per page. When off, it uses the stacked list with articles and pages, 10 per page. Theme A always uses the stacked list.
Announcement Bar
Section file: pxs-announcement-bar.liquid
| Setting | ID | Type | Current |
|---|---|---|---|
| Show announcement | show_announcement | checkbox | true |
| Show on home page only | announcement_home_only | checkbox | false |
| Text color | announcement_color | color | #2d2a26 |
| Navigation Color | nav_color | color | #ffffff |
| Background color | announcement_background | color | #fae0ce |
| Background Color Mobile | announcement_background_mobile | color | #fdece2. Applies at 650px and below |
| Desktop / Mobile Font Size | font_size_desktop / font_size_mobile | range | 14 / 14 |
| Enable Autoplay / Timer | autoplay / timer | checkbox / range (s) | true / 6 |
Block: text
| Setting | ID | Notes |
|---|---|---|
| Visibility | visibility | all, public (hidden from customers tagged wholesale) or wholesale |
| Text / Text (mobile) | announcement_text, announcement_text_mobile | Rich text |
| Link | announcement_link |
Current blocks: only "FREE SHIPPING ON ORDERS $50+" is enabled. These blocks are disabled: "FREE GIFT ON ORDERS $65+", wholesale "FREE GROUND SHIPPING ON ALL ORDERS $750+", "FREE GIFT AT CHECKOUT ON ORDERS $60+", and "15% OF SALES SUPPORT ANIMALS IMPACTED BY LA FIRES".
The section also pushes every block into window.Shopify.announcement. The cart drawer's announcement strip uses this list when the Cart → Announcement theme settings are empty. See Cart & Checkout.
Footer
Section file: static-footer.liquid (alternate layout: snippets/footer-two.liquid)
| Setting | ID | Current |
|---|---|---|
| Footer message heading | footer-message-title | "Let's be best friends." |
| Follow us url | follow-us-url | Klaviyo subscribe page |
| Show newsletter form | footer-mailing-list | true |
| Show payment icons | footer-payment-options | false |
| Use alternate footer layout | footer-alternate | true |
| Main footer menu / title | footer-secondary-menu / -title | explore / "Meet Bocce's" |
| Alternate footer menu / title | footer-alternate-menu / -title | find-us / "Find Us" |
| Footer Subnavigation | footer-subnavigation-menu | footer-wholesale-links |
The sub-navigation row ends with the Accessibility button, which opens the in-house accessibility drawer. See Theme Settings → Accessibility.
Buttons: hover style
Every CTA uses the product-card hover: solid black fill, white label. This covers .btn-secondary and .btn-secondary-alt (theme-overflow.scss), .section__btn_w on custom sections and the NFLPA player-card add button (sections.scss). The "Follow Us!" footer button needs !important on the colour, because an ID-scoped footer rule otherwise overrides it.
Scroll to top & chat
The Gorgias chat launcher is offset (bottom: -37px; right: 88px) in theme-overflow.scss so it doesn't cover the scroll-to-top progress circle (.progress-wrap in theme.liquid).
Password Page
Section file: static-password.liquid (layout password.liquid). Displayed when the store is password-protected.