Skip to content

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.

Section file: static-header.liquid

SettingIDTypeCurrent
Logo imageimageimageBocces_Bakery_Logo_For_Web.png
Logo widthlogo-widthtext150
Header Layoutheader-layoutselect (normal / minimal / minimal-sticky)minimal
Center logocenter-headercheckboxtrue
Show login and search labelsshow-labelscheckboxfalse
Cart iconcart-iconselect (cart / bag)cart
Enable live searchlive_search_enabledcheckboxtrue
Display resultslive_search_displayselectproduct-article-page
Main Menu Mobilemenulink_listmobile-main-menu-v2
Main menu leftmenu_leftlink_listmain-menu-left-v2
Main menu rightmenu_rightlink_listmain-menu-right-v2
Sub-columns layouttop-level-columnsselectone-column
Mobile nav footer headingfooter-message-titletext"Let's be best friends."

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:

SettingTypeDescription
Allow nav imagesCheckboxEnable images for this nav item
Parent URLURLWhich nav item gets images

Currently enabled for /collections/shop-all, /collections/new and /collections.

Block type: link-image assigns an image to a link:

LinkImage
/collections/shop-allShop_All.png
/collections/shop-dogDog_Treats.png
/collections/shop-catCat_Treats.png
/collections/food-topper-recipesFood_Toppers.png
/collections/bundlesBundles_1_….png
/pages/nflpaBB_NFL_Nav_Icon_Football.png
/collections/dog-supplementsSupplements_….png
/collections/saleFeatured_holiday.png
/collections/bocces-spaSpa.png
/collections/newNew_Opt_2_holiday.png
/collections/special-edition-recipesSeasonal_….png

Block type: featured adds a promo card to the mega nav:

SettingTypeDescription
URLURLPromotion destination
TextTextPromo headline
ImageImage pickerPromo image
CTA textTextButton 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.

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's isn't turned into &#39;.

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

SettingIDTypeCurrent
Show announcementshow_announcementcheckboxtrue
Show on home page onlyannouncement_home_onlycheckboxfalse
Text colorannouncement_colorcolor#2d2a26
Navigation Colornav_colorcolor#ffffff
Background colorannouncement_backgroundcolor#fae0ce
Background Color Mobileannouncement_background_mobilecolor#fdece2. Applies at 650px and below
Desktop / Mobile Font Sizefont_size_desktop / font_size_mobilerange14 / 14
Enable Autoplay / Timerautoplay / timercheckbox / range (s)true / 6

Block: text

SettingIDNotes
Visibilityvisibilityall, public (hidden from customers tagged wholesale) or wholesale
Text / Text (mobile)announcement_text, announcement_text_mobileRich text
Linkannouncement_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.

Section file: static-footer.liquid (alternate layout: snippets/footer-two.liquid)

SettingIDCurrent
Footer message headingfooter-message-title"Let's be best friends."
Follow us urlfollow-us-urlKlaviyo subscribe page
Show newsletter formfooter-mailing-listtrue
Show payment iconsfooter-payment-optionsfalse
Use alternate footer layoutfooter-alternatetrue
Main footer menu / titlefooter-secondary-menu / -titleexplore / "Meet Bocce's"
Alternate footer menu / titlefooter-alternate-menu / -titlefind-us / "Find Us"
Footer Subnavigationfooter-subnavigation-menufooter-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.

Antelope Themes Documentation

Enter the password to access this site.