Getting Started

Manually Setting Up Search Page on Other / Custom Platforms

Help customers find the right products in your Search Results Page

This section will show you how to install's Search Page with everything driven by Content and Designs.

Search Page

1. Create a Search Design called "Search Page" and choose the default
Search Page design.

2. Create a Content block called "Search Page".
3. Choose Search as the Product Logic, and select your Search Page design.
4. Set Number of products to 40, and write "Search Results" as the Headline.

5. Copy the code below into your search page.
6. Replace the INSERT_QUERY_HERE text in data-query with a logic for getting
the query that customers enter, from the search-field.
7. Now you have Clerk as your search function!

Dynamic Search Page Template With Facets

<div class="clerk-page-width">

<div id="clerk-show-facets">Show/Hide filters</div>
<div id="clerk-facets-container">
<div id="clerk-search-filters"></div>
<ul id="clerk-search-results"></ul>

$("#clerk-show-facets").click(function() {

$(".clerk-facet-search").attr("placeholder","Search here");
$(".clerk-facet-show-more").text("Show more");

#clerk-show-facets {
width: 50%;
height: 40px;
margin: 0px auto 20px auto;
background-color: #163f6f;
color: white;
text-align: center;
border-radius: 3px;
line-height: 40px;

#clerk-search-results {
display: inline-block;
width: 100%;

.clerk-page-width {
display: flow-root;

@media only screen and (max-width : 800px) {
#clerk-search-filters {
width: 100%;
float: left;
#clerk-facets-container {
display: none;

@media only screen and (min-width : 800px) {
#clerk-search-results {
width: 78%;
float: right;
#clerk-search-filters {
width: 20%;
float: left;
#clerk-show-facets {
display: none;