Hide warranties from search results
Stop Mulberry protection-plan products from appearing in your storefront search.
When the Mulberry Product Protection app is installed, Mulberry creates protection-plan products in your catalog so customers can add coverage to their cart. These are non-physical add-ons that can't be bought on their own, so they shouldn't surface in storefront search. This guide adds a one-line Liquid filter to your theme's search template that skips any product whose vendor is Mulberry, leaving the rest of your search results untouched.
This applies only to standard Shopify searchThe fix below edits your theme's
search.liquid. If your storefront search is powered by a third-party search app (or any other custom method), that app renders results outside Liquid and this filter will not take effect — exclude Mulberry products in that app's settings instead.
Prerequisites
Before you start, make sure:
- The Mulberry Product Protection app is installed on your store. See Install the Mulberry app.
- You can access Online Store → Themes → Edit code (the theme has a
search.liquidtemplate — i.e. it is not a headless or Online Store 2.0 search section that renders results elsewhere). - You're comfortable editing theme Liquid, or you have someone who is. Edit a duplicate of your live theme first if you want to preview the change before publishing.
Add the filter to your search template
-
In Shopify admin, go to Online Store in the left-hand navigation.
-
Find your current theme, click the Actions dropdown, and select Edit code. You should now see the theme's file tree with a search box at the top left.

-
In the file search box, type
search.liquidand click the search.liquid file to open it. You should now see the search template's code in the editor.
-
Find the line that opens the results loop:
{%- for item in search.results -%}Immediately below it, paste this snippet so every Mulberry product is skipped before it renders:
{% if item.vendor == 'Mulberry' %} {% continue %} {% endif %}
Why filter on vendorEvery Mulberry protection product is created with the vendor set to Mulberry, so
item.vendor == 'Mulberry'reliably matches them all without touching your own products. (itemis the loop variable from{%- for item in search.results -%}; search results that aren't products simply have no vendor and are left alone.) -
Click Save, then run a live search on your storefront for a term that previously returned a Mulberry plan. You should now see only your real products — no Mulberry protection plans in the results.
That's itNo app setting or Mulberry-side change is needed. Warranty offers still appear on product pages and at checkout exactly as before — this only hides protection products from the search results list.
Updated about 2 months ago
