Benchline theme documentation

Project finder

The project finder is the front door of a Benchline store. A shopper answers a few questions about the job in front of them, and the theme opens a filtered collection where every product carries a fit verdict against those answers. The finder is a section: add it to any template, and shape it in the editor.

What a shopper sees

The shipped home page finder asks, in order:

Two more fields can appear. The Machine field appears at the top of the finder when Show machine field is on (the Driveline style turns it on). The Primary dimension step renders as a row of size discs, scaled to the values, when the dimension discs setting is on (the Flowline style turns it on); on narrow screens the discs wrap, and the step still works with a keyboard and with JavaScript disabled.

Submitting the finder opens the results collection with the answers in the page address, in the standard storefront filter format. Because the answers live in the address, a results page can be bookmarked, shared, and reopened with the same fit verdicts showing.

Where the answers go

The answers do three jobs at once:

  1. They filter the results, through Shopify storefront filtering. The shopper only sees products the filters let through.
  2. They drive the fit check. Cards and product pages compare each product record against the active answers and show Matches your project, Check specification, or Does not match, with the reasons listed. See Fit check.
  3. The project name and machine name travel forward. Products opened from the results carry the context with them, and adding a product to the cart stamps the line with its Project and Machine properties. That is what lets the cart group lines by project, or by machine then project. See Cart, projects, and machines.

A slim context bar can sit above results and product pages (the Finder context bar section) showing the active project, the result count, and a Change project link back to the finder.

Shape the finder

Select the Project finder section in the editor. Section settings:

Each question is a Finder step block with these settings:

Write good steps