Holiday offer

30% off every plan for a year with code HOLIDAY30. Until January 6.

See the prices
2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

Search and filters

The values of `filter` inside `smootify-search-discovery`.

v2.0 beta
Open .md
On this page
  1. Where it can go
  2. Values

Where it can go

Values

Attribute and valueWhat it isNotes
filter="count"Result counton text
filter="active"Active filtersTemplate: one per active filter, a click removes it; on container, link, button
filter="active-label"Active filter labelon text
filter="active-count"Active filter counton text
filter="empty-state"Empty stateon container
data-action="load"Load moreon button; inside smootify-search-discovery, smootify-search-page
data-action="previous"Previous pageon button; inside smootify-search-discovery, smootify-search-page; also read as prev
data-action="next"Next pageon button; inside smootify-search-discovery, smootify-search-page
data-action="load-in-view"Load when in viewon button; inside smootify-search-discovery, smootify-search-page
data-action="page"Page number buttonTemplate: one per page number shown; the current page gets is-active; on button; inside smootify-search-discovery, smootify-search-page
filter="page-number"Page numberInside the page number button; without it, the button’s text; on text; inside smootify-search-discovery [data-action=“page”], smootify-search-page [data-action=“page”]
filter="page-ellipsis"Page gapTemplate where page numbers are skipped; optional; on text, container; inside smootify-search-discovery, smootify-search-page
filter="page-current"Current pageon text; inside smootify-search-discovery, smootify-search-page
filter="page-total"Total pagesEmpty until the total is known; on text; inside smootify-search-discovery, smootify-search-page
type="reset"Reset the filterson button; inside smootify-search-discovery, smootify-search-page

    ↑ ↓ to moveEnter to openEsc to close