Lorixen.
EN

A No-Results Print View for a Filtered Catalogue

Someone filters a catalogue down to nothing, then presses print. What comes out may be a blank page, a header with no body, or a lone table frame. To the person holding the paper, that looks like a broken export. This article proposes a print view for the empty case and a fixture to test it. These are design suggestions, and the details depend on how your catalogue pages are built.

The problem in plain terms

A print view usually hides navigation and controls and keeps the results. When the results are empty, hiding the interface may leave nothing. The reader cannot tell whether the printer failed, the page failed, or there simply were no matches.

What the empty print view should say

Consider a short block that survives printing and states four things. That the list is empty on purpose. Which filters were active, written out in words. The date and time of printing, if your design already shows one. A plain next step, such as clearing filters on screen and printing again.

Keep the wording calm and factual. Avoid anything that implies an error. Make sure the block is not hidden by the same print rules that hide the controls.

The acceptance fixture

Prepare a filter combination that you know returns nothing, for example a hypothetical category plus a size that no item shares. Record it as the fixture, with these fields:

Fixture name Filters applied (written out) Expected result count: zero Expected printed heading Expected filter summary line Expected next-step line Browsers or print previews checked Paper size checked Pass or fail, with notes

Branching choices

If the filters can be read from the page, print them as text. If filters are kept only in a place the print view cannot read, print a generic line and note the limitation. If the page has a sticky header or footer, check that the message does not hide behind it in print. If the catalogue has long filter lists, allow the summary to wrap, and cap it with a short phrase such as and more filters, only if the full list would run off the page.

A worked example

Imagine a hypothetical catalogue of ceramic mugs. The fixture is the filter set: colour green, capacity over one litre. Zero items match. The print preview should show a heading such as No products match these filters, a line stating the two filters, and a line suggesting clearing them. If the preview shows a blank page, that is a fail, and the fixture row records which preview was used.

Stop conditions

Stop and fix before release if the empty print produces a blank page, if the message is clipped, or if it prints more than one page for a single message. Stop if the message appears on screen but not in print.

Acceptance checks

The fixture produces a visible, readable message in print preview. The message names the filters. The page count is one. A non-empty result still prints exactly as before. A colleague shown the printout, with no explanation, would not call it broken. Repeat after any change to the print styles.

Sources

    WhatsAppLet’s talk