2.0 Beta

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

What changed

Search page

The values of `search` inside `smootify-search-page`.

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

At a glance

Results

  • search="count"12, the number of results
  • search="query"linen, the searched words
  • search="empty-state"hidden

No results

  • search="count"0
  • search="query"xyzzy
  • search="empty-state"shown

No words

  • search="empty-state"shown: the page searches nothing

More in the guide.

Where it can go

Values

Attribute and valueWhat it isNotes
search="query"Queryon text
search="count"Result counton text
search="empty-state"Empty stateA search without results; not before a search; on container
search="no-query"Before a searchShown while there is no query: what are you looking for, suggestions; on container
search="with-query"With a searchShown while there is a query: the results row; on container

    ↑ ↓ to moveEnter to openEsc to close