Main search
This page explains how “Main search” actually behaves, which data it depends on, and what its settings change.
Main search
This page explains how “Main search” actually behaves, which data it depends on, and what its settings change.
search.jsonWhat the theme does automatically
- →
Results are provided by Shopify search and automatically paginated.
- →
Products excluded by the global setting should not appear in product results.
- →
Available facets depend on Shopify Search & Discovery.
- →
Pagination is calculated by Shopify: the section only loads the configured number of items per page.
- →
Available languages, countries, and currencies come from Shopify Markets settings.
Understand the settings
Header
Configure the texts and elements displayed at the top of the section.
eyebrowheadingtextinput_labelplaceholdersearch_labelResults
Adjust the results grid and its display controls.
results_per_pageA higher value loads more results on each page.
Default: 16 · Range: 8–40columns_desktopcolumns_mobileshow_grid_switchergrid_switcher_labelgrid_columns_labelresult_count_labelContent Types
Configure navigation between products, articles and pages as well as their labels.
type_navigation_labelall_results_labelproducts_labelarticles_labelpages_labelarticle_type_labelpage_type_labelshow_excerptread_labelFilters and sorting
Activate the filtering and sorting tools, then adapt their presentation and labels.
enable_filteringenable_sortingfilter_layoutfilter_sidebar_widthfilter_sidebar_stickyfilter_labelfilter_headingsort_labelclear_all_labelclose_labelminimum_labelmaximum_labelactive_filters_labelview_results_labelUse [count].
Product cards
Adjust media, variants, purchase actions and sales signals for product cards.
media_limitLimits the number of media loaded per product card.
Default: 2 · Range: 1–5enable_media_slidershow_quick_addshow_quantity_selectorshow_color_swatchesshow_material_badgeshow_low_stockshow_reviewsenable_size_guidesize_guide_iconlow_stock_thresholdThe low stock alert is displayed when the quantity on hand reaches this threshold.
Default: 5 · Range: 1–20color_option_namesSeparate option names used for colors with commas.
size_option_namesSeparate option names used for sizes with commas.
quick_add_labelconfirm_add_labeladding_labeladded_labelerror_labelsold_out_labelsize_guide_labelsize_guide_textEmpty state and conversion
Customize the messages and content offered when a search returns no results.
empty_eyebrowempty_headingempty_textUse [terms].
new_search_labeldiscovery_eyebrowdiscovery_headingdiscovery_textpopular_searches_headingempty_collectionfeatured_eyebrowfeatured_headingfeatured_link_labelPagination and spacing
Customize the section's pagination controls and vertical margins.
pagination_labelprevious_page_labelnext_page_labelpadding_toppadding_bottomSection palette
Applies a consistent palette to the background, text, and buttons in this section.
Section appearance
opaline_use_color_schemeopaline_color_schemeTitle
opaline_heading_alignmentSpacing
opaline_section_spacingCreates space between this section and the next. Mobile spacing adjusts automatically.
Default: 0 · Range: 0–160pxopaline_content_insetMoves content away from the edges. Mobile spacing adjusts automatically.
Default: 0 · Range: 0–120pxAvailable blocks
suggestionAdd this block only when it provides useful information to the journey.
Before publishing
- ✓
Content remains readable in every color scheme.
- ✓
Labels match the storefront language.
- ✓
Displayed promotions match Shopify rules.
- ✓
Interactions remain accessible by keyboard and touch.