Storefront search
Let shoppers find your products by tag, colour and other details. How to turn search on, choose what is searched, and get the right picture and swatch for every colour.
StoreSpan can power the search on your storefront. A shopper types a few words, and StoreSpan finds the products that fit, looking at their tags first and then at their other details.
Search works through your theme's search box. StoreSpan does not add a search box of its own, so your theme has to be connected to StoreSpan search once. That is a job for whoever looks after your theme. If you are not sure whether yours is connected, ask them or contact us.
Turn search on
- Open Store › Settings › Search.
- Turn on Storefront product search.
- Confirm.
Your products become searchable over the next few minutes. Turning search off takes them out of search again. Either change can take a couple of minutes to show on your storefront.
Only the owner of the store can change this setting.
What shoppers can search by
A shopper's words are compared with these parts of each product. The parts higher in the list count for more.
| Part | What it covers |
|---|---|
| Tags | The product's tags and the tags above them. |
| Tag aliases | The other names you gave a tag. |
| Product name | The product's name. |
| SKU | The product's own SKU. |
| Variant SKUs | The SKUs of the product's variants. |
| Categories | The names of the categories the product is in. |
| Option values | Such as colour or size. |
| Image labels | The labels on the product's images. |
| Tag group names | The names of the groups the product's tags belong to. |
| Image captions | The descriptions of the product's images in BigCommerce. |
Because tags count the most, a product tagged Rain jacket appears above a product that only mentions rain jackets in its name.
Choose what is searched
Under What is searched on the same settings page, each part has its own switch. Turn a part off and shoppers' words are no longer compared with it. Tags are always searched and cannot be turned off.
A change shows on your storefront within a couple of minutes.
Give your tags other names
If shoppers use a different word than you do, open the tag on Catalog › Tags and add the word under Also answers to. A tag called Sneakers that also answers to Trainers is found by both words.
Which products can be found
Only products that are live and visible to shoppers in BigCommerce can be found.
- A product you have hidden in BigCommerce never appears in search.
- A product you hide or delete drops out of search as soon as StoreSpan hears about it from BigCommerce, usually within a minute.
- A brand-new product appears once StoreSpan has received it from BigCommerce, usually within minutes.
Colours in search results
When a product comes in several colours, search knows about each of them. Your theme can use this to show a row of colour swatches under a product, or to show a product once per colour.
Search by colour. When a shopper types a colour — the colour's name, another name you gave it, or the name of a colour you merged into it — they see only the products that come in that colour, each shown in that colour. Several colours in one search are allowed, such as red or blue dress. A small spelling slip in a colour word still finds the colour, as long as the misspelt word is not itself a word in one of your products. If the colour search finds nothing, the usual search runs instead, so a word that is also a brand or product name still finds its products.
The right picture for the colour. When a shopper searches for a colour, such as green jacket, the product is shown with its green picture, not with whatever picture happens to come first.
For this to work, StoreSpan needs to know which picture shows which colour:
| What | Where you set it |
|---|---|
| A product's colours | The product's tags from the tag group that has the Colour attribute. See Catalog › Tags. |
| The picture of a colour | Usually automatic: when a colour's variant shows an image on BigCommerce, StoreSpan gives that image the colour, so every colour gets its picture with no work from you. To override, label the product's images with the colour by hand. See Labels. The image labelled Primary in that colour is used; if there is none, the first image of that colour. |
| The order of colours | Colour order in the gallery on the product's Images tab. See Product images. |
When no image is labelled with a colour, StoreSpan still looks for a picture in two more places, in this order:
- The variant's own image. If one of the colour's variants shows an image of its own on BigCommerce, that image is used, even when it has no colour label (an image uploaded straight onto the variant is not one of the product's images, so StoreSpan cannot label it).
- A product rule's image. If none of the colour's variants shows an image of its own, but a Product Rule set on the product in BigCommerce shows an image for one of them (a rule such as "when Colour is Red, show this image"), that rule's image is used.
A labelled image always comes first, whether you placed the label or StoreSpan guessed it, and a variant's own image always comes before a rule's image.
A colour with no labelled picture, no variant image and no rule image still appears in search, just without a picture of its own.
Swatches. The small colour dot or texture shown for each colour comes from BigCommerce. Set a swatch on the colour's option value in BigCommerce, either up to three colours or a small picture, and search hands it to your theme.
If a colour has no swatch in BigCommerce, StoreSpan fills in a plain colour when the colour's name is a common colour name, such as Red or Navy. For other names there is no swatch, and your theme can show the product's picture in that colour instead.
A chosen set of products in chosen colours. Beyond search, a theme can also hand StoreSpan a chosen set of products and a chosen set of colours — for a landing page, say, or a "shop the look" block — and get each product back pictured in the colours asked for, with the same colour pictures and swatches search gives.
In stock and out of stock
By default, search shows shoppers only products that are in stock, so they do not click through to something they cannot buy. Your theme can ask for out-of-stock products, or for both, if you would rather show them. A product that does not track its stock, or whose stock StoreSpan has not read yet, counts as in stock.
When a product comes in several colours, each colour is marked as in stock or sold out, so your theme can grey out a colour that has run out while still showing the others. A shopper who searches for a colour sees only products that come in that colour and have it in stock.
Stock is read straight from BigCommerce, so a change shows within seconds. Because an answer is held for up to a minute, a product that has just sold out can still show for up to a minute after.
When StoreSpan is first set up, or just after an update, search may show everything regardless of stock for a short while, until it has refreshed every product once; each product's and colour's in-stock mark is still correct in the meantime.
Prices in the shopper's currency
Your theme can ask for prices in any currency you have enabled in BigCommerce, so a shopper browsing in euros sees prices in euros. The rates used are the ones in your BigCommerce settings — StoreSpan does its own currency conversion with them and does not make up a rate. The answer also tells the theme how to format the amount — the symbol, which side it sits on, and the separators — so it reads the way BigCommerce shows it.
If a shopper asks for a currency you have not enabled, prices stay in your store's default currency, and the answer says which currency they are in. After you change a rate in BigCommerce, re-read your currencies on the Currencies settings page so search picks up the new rate.
If you price a currency with a price list in BigCommerce, search shows those prices instead of the converted rate for the products the list covers; a product the list does not cover keeps the converted price. Search shows the list price (not a sale price), and for a product with several variants it shows the lowest of their prices in that currency. The Currencies settings page shows, next to each currency, whether a price list prices it or the BigCommerce rate does.
Filters and suggestions
Search also gives your theme what it needs for a few helpers. Whether they appear on your storefront depends on your theme.
- Filters. Next to the results, a shopper can see the tags of the products that were found, each with the number of products that have it, and pick one to narrow the results. Tags keep the structure you gave them: a tag sits under its parent, and a parent's number includes the products under its child tags. Two tags with the same name in different groups, such as Red as a colour and Red as a finish, stay separate. Picking two tags of one group, or two categories, shows products that match either; picking from two different groups shows products that match both. The number beside a filter is how many products a shopper would get by adding it to what they have already picked, so after they pick one colour the other colours still show their own numbers. While search is showing only in-stock products, the number beside a colour counts in-stock products that come in that colour, which can be more than the products in stock in that colour — so a colour can show a number yet return fewer once a shopper picks it. (A per-colour in-stock count is a planned addition.)
- Categories. Your theme can also show the categories the found products are in, each with a count, and let a shopper narrow to one. These come from your BigCommerce category tree, and a category's number includes the products in the categories under it. A category you have hidden in BigCommerce does not appear, and the categories below it show under the nearest category above them that is still shown.
- Suggestions while typing. As a shopper types, search can offer the tags whose names match what they have typed so far, with the tags on the most products first.
- Popular searches. As a shopper types, search can also offer whole phrases that your shoppers searched for recently, the most searched first. This list stays empty until there has been enough searching to build it, and it fills in over the following days. Popular searches are switched on by StoreSpan, not in your settings. Contact us if you would like them.
How soon changes show
| What changed | When search shows it |
|---|---|
| A product changed in BigCommerce, or was hidden | Within seconds to minutes. |
| A product or colour sold out or came back | Within seconds; up to a minute on the page. |
| You edited a product's tags in StoreSpan | Within about a minute. |
| You relabelled an image or reordered colours | Within about a minute. |
| You changed a swatch in BigCommerce | The next time StoreSpan reads the product. |
| You changed a product rule in BigCommerce | The next time StoreSpan reads the product. |
| You turned a searched part on or off | Within a couple of minutes. |
| Anything else | Within 15 minutes. |
The same search is remembered for about a minute, so a change can take that long to appear for a search someone has just made.
Limits
| Limit | Value |
|---|---|
| Products per search | The 100 best matches at most. |
| Tags shown as filters | Up to 500 per search. |
| Length of a search | The first 100 characters of what the shopper typed. |
| Very busy moments | If a great many searches arrive within a few seconds, some are asked to wait and retry. |
If something looks wrong
| What you see | What to check |
|---|---|
| Search finds nothing at all | Is Storefront product search on? Is your theme connected to StoreSpan search? After turning search on, give it a few minutes. |
| One product is missing | Is it visible in BigCommerce? Does it have a tag, name or other searched part that contains the shopper's words? New products can take a few minutes. |
| A product shows in the wrong colour | Label the product's images with their colours. See Labels. |
| A colour has no swatch | Set a swatch for the colour's option value in BigCommerce. |
| A word your shoppers use does not find anything | Add the word to the matching tag as another name. |