DERTOUR GroupDesign
Documentation
Guide contents
08Search results section 8 of 10

Nothing found

What a visitor reads when their search returns no holidays — and what an empty tab shows too.

The entry you edit

Search results (Page)

Content type

Page

What a visitor sees

On the websiteLIVE
The no-results state: the heading “We couldn't find a match” above a line suggesting widening the dates, removing a filter, or talking to a travel expert.
Both lines are authored. What a visitor reads on their worst moment on this page is entirely yours.
  1. 1

    No-results heading

  2. 2

    No-results body

What each field controls

The Field column is the label as it appears in Contentful; under it, the field's id, for talking to a developer. The number matches the marker on the screenshots above.

#FieldWhat it controlsNotes
1

No-results heading

noResultsHeading
The heading on the no-results state.

2

No-results body

noResultsBody
The supporting line under it.

Say what to try next — widening the dates, a broader destination, removing a filter — because that is what the state is for.

How to change it, step by step

  1. Open the search results Page entry

    Search Contentful for the Page entry whose Kind is "searchResults". There must be only one published — a second one makes which of them renders unpredictable.

  2. Edit No-results heading and No-results body

    Change the value listed in the table above. Contentful saves as you type, but saving is not publishing.

  3. Publish the entry

    Change status → Publish, top right. Until you do, the page keeps showing the previous published version — or, if this entry has never been published, the built-in copy written into the code.

  4. Check the page

    Open /search-results and run a search. Changes appear within about 30 seconds.


Previous section

Pagination

Next section

Offers row