Mercantile Supply · Merchant guide

Branches

Your branches: where they are, when they open and how to reach them. Put a few inside any page, with a button to the full list. For the Find a branch page itself, turn on Search and filter: every branch is listed with a search field, a region filter and Near me (which sorts by distance once at least two branches have coordinates).

Where to find it

In the theme editor, Add section › Branches. The theme starts with it on: Page template "find-a-branch".

Settings

Setting Choices Shows when What it does
Density Follow theme · Compact · Normal · Spacious Always Space, columns and image shape in this section. Follow theme uses Density in Theme settings › Layout.
Text size Default · Smaller · Standard · Larger Always Makes this section's text and title smaller or larger than its Density sets.
Color scheme Always

A few branches on any page. For a page that lists every branch with search and near me, use the Find a branch template.

Setting Choices Shows when What it does
Overline Search and filter is off
Heading Search and filter is off
Text Search and filter is off
All branches button label Search and filter is off
All branches button link Search and filter is off and All branches button label is filled in Leave empty to link to the page with the handle find-a-branch. With no such page, the button is hidden.

Who sees this

Setting Choices Shows when What it does
Show this section to Everyone · Guests and retail · Trade customers Always Trade customers are signed-in company buyers. The theme editor always shows the section. Learn more

Layout

Setting Choices Shows when What it does
Search and filter On · Off Always For the branches page.
Show search field On · Off Search and filter is on
Show region filter On · Off Search and filter is on Appears when branches use at least two regions.
Show near me button On · Off Search and filter is on Sorts branches by distance from the visitor. Appears when at least two branches have coordinates.
Section width Full width · Contained Search and filter is off Contained draws the color scheme as a panel inside the page margins.
Color around the panel On · Off Search and filter is off and Section width is Contained Off shows the page background around the panel. Color scheme colors the panel itself.
Around the panel Search and filter is off and Section width is Contained and Color around the panel is on

Which settings reveal which:

flowchart LR
  search_filter["Search and filter"]
  overline["Overline"]
  heading["Heading"]
  text["Text"]
  all_label["All branches button label"]
  all_link["All branches button link"]
  show_search["Show search field"]
  show_region_filter["Show region filter"]
  show_near_me["Show near me button"]
  section_width["Section width"]
  panel_ground["Color around the panel"]
  ground_color_scheme["Around the panel"]
  search_filter -- "off" --> overline
  search_filter -- "off" --> heading
  search_filter -- "off" --> text
  search_filter -- "off" --> all_label
  search_filter -- "off  + more " --> all_link
  all_label -- "filled in  + more " --> all_link
  search_filter -- "on" --> show_search
  search_filter -- "on" --> show_region_filter
  search_filter -- "on" --> show_near_me
  search_filter -- "off" --> section_width
  search_filter -- "off  + more " --> panel_ground
  section_width -- "is Contained  + more " --> panel_ground
  search_filter -- "off  + more " --> ground_color_scheme
  section_width -- "is Contained  + more " --> ground_color_scheme
  panel_ground -- "on  + more " --> ground_color_scheme

Blocks

It also takes these blocks: Branch.