Everything you need to know about shopify search page

Everything You Need to Know About Shopify Search Page

Rate this article

Share this article

Shopify is a great eCommerce platform. But, unfortunately, the default search bar does not give much control. That’s why we’ll discuss how can we make a better Shopify search page.

Everything you need to know about shopify search page

Get Shopify Search Bar 14-day free trial

Customize the Shopify search page

You can customize the Shopify search page by using the Expertrec smart search bar or by editing code in the liquid. If you are someone who is not familiar with Shopify code and wants the easiest and quick solution, then here we go:

Manage the Shopify search page using the Expertrec search bar

You can get the Expertrec smart search bar in three ways as follows:

Expertrec Shopify search app

The Expertrec smart search bar is listed on the Shopify app store. So, you can just go to the app store, search for the app and install it. Here’s how you can do it:

  1. Click on the Expertrec smart search bar to install the Shopify search app.
  2. Click on add app -> install the app -> start a free trial.
  3. Once it is installed, make sure that the search extension is enabled. If not, then you can turn it on just by toggling it.

That’s all. The Expertrec smart search bar is installed and you can view it by visiting the Apps section in the Shopify admin panel dashboard.

Shopify search page using Expertrec smart search bar

There are two more methods to install the app. Let’s discuss both of them.

Expertrec Shopify search plugin

It is also a good and easy way to install the app. Here’s how you can do it:

  1. Click on Expertrec Shopify Search Plugin.
  2. Now, you need to enter the URL of your Shopify store in the domain section.
  3. Click on the install button and log in to your Shopify store to install the app.

Now, the Expertrec smart search bar is ready with a voice search. You can perform a search query and see the results.

Expertrec Custom Search Engine

If you want to play around with the code, then try copying code from the Expertrec dashboard. Well, Expertrec already has the app listed in the Shopify App Store. Yet, if you want the other way, then here it is:

i. Click on https://cse.expertrec.com and Sign in with your Google Account.

ii. Now, you enter your website URL, and once done, go ahead to the dashboard.

iii. Copy the code from the Expertrec dashboard, and don’t forget to copy the HTML tag as shown below:

iv. Here’s a reminder. You have three options to add to the search bar.

  1. HTML code
  2. Use existing Search Box
  3. CSS Selector

If you want to use your existing search box, then click on it and make sure that it is enabled.

v. Now, log in to your Shopify store and open the admin panel.

vi. Here, click on the Online Store option, and you get the Theme option at the very top.

vii. On the rightmost side, there is the Actions button.

viii. Once you click on it, a drag-down menu will appear, as you can see. Here, click on the Edit code option located at the second top from the bottom.

ix. In the Layout section, you need to click on the theme.liquid in order to add the Expertrec code.

x. Here, click on the Code section in the Install menu of the dashboard. Copy the code and the HTML tag.

<!--Shopify search analytics - Expertrec(.js - head)-->
  (function() {
    var id = 'Your_API_Key';
    var ci_search = document.createElement('script');
    ci_search.type = 'text/javascript';
    ci_search.async = true;
    ci_search.src = 'https://cse.expertrec.com/api/js/ci_common.js?id=' + id;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(ci_search, s);
<!-- Shopify search analytics - Expertrec(HTML tag - body)-->

You will get your API key once you log in to the Expertrec dashboard. Paste the code in the <head> section of theme.liquidand the HTML tag in the <body> section just between the two <div>.

xi. If you are not using an existing search bar, then you would have copied the HTML tag.

xii. Save the code.

xiii. Click on that eye icon to preview your Shopify store. Here, you can see the Expertrec Search Box.

Try Demo

Click on the search bar and type a query as shown below: Expertrec search bar will appear with an in-build voice search. And, I know you already know the sudden growth of voice technology. After all, installing the Expertrec search bar will ensure that the website visitors don’t have to strain their fingers to type the product when they can spell and get the listing.

Shopify search page Expertrec search bar


How do I add, edit, and publish a page in Shopify?

While creating a Shopify online store, you will get a lot of features. One of them is that you can create web pages in your Shopify admin panel. What we mean by web pages is that they contain information that rarely change or that will be made for customer reference. For example. About Us page or a Contact Us page is one of the web pages that you can create for your Shopify online store.

You can also add a blog to your online store that will need regular updates. For example, you may be publishing the new blog posts or you are required to update the existing blog posts be it any image, or meta description. You can also try to add a webpage in order to encourage feedback. You can also enable comments to know what your blog readers are expecting.

Adding a new page to your Shopify online store

To add a new web page to your Shopify online store, you need to follow these steps:

    1. In the Shopify admin panel, click Online store -> Pages -> Add page.
    2. Now, you need to enter the title and content for the web page. Keep in mind that you should be descriptive and clear whenever it comes to the title of the web page. The title of the web page is displayed in the tab or title bar of the browsers. It also appears as the page title in search engine results. You can learn more about the SEO of a website to create an SEO optimized blog page.
    3. Whichever page you want to publish, select it under Visibility. Note that by default your new web page will be visible whenever you click on the Save button. If you want to hide a new or existing web page from the Shopify online store, you can do it by selecting the Hidden option. You can also control the date when your webpage should be published. For this, set a specific publish date and your web page will be published on that date.
    4. In the end, click Save.
    5. This is completely optional, but if you want to make a published web page appear in the navigation of your online store,  then you can add a link to it in the menu.

Adding content to the web page

You may know that you can easily change the text format and text color by choosing options in the rich text editor. The notable point is that the rich text editor displays the text in the Content field that have the same style that it will display online. You can also insert these four elements (links, videos, images, tables) into a webpage. In order to edit the HTML code for the web page, you need to click on the Show HTML button to see the HTML and make appropriate changes.

You should ensure that your every change to the web page content is getting saved by clicking on Save whenever you make changes that you want to keep. Here’s one more tip. You can embed media on a web page. It can be a video, gif, post from Blogger, WordPress, or Tumblr blog.

Adding link to a web page

Adding links to a web page may have various reasons. One of the popular reasons to add a link to a web page is to direct the customers to another web page in your Shopify store or at any other place on the internet. Let’s learn how can you add links to a web page.

  1. Enter the text to transform it into a link in the Content field. Now, highlight the link text and click on the Insert link button.
  2. In that space, enter the web address in the Link to the field. You can enter a descriptive Link title that will help with web accessibility and search engine optimization.
  3. Click on the Save button.

Adding a Google map to a web page

It is a good idea to add a map to your About Us page so that you can show your retail location. Here are the steps to do it:

  1. Open Google Maps, and enter the address that you want to show on the map.
  2.  Click on the Share icon in order to open the sharing options. Here, click on Embed map in order to create your embed code.
  3. You can choose the size of the map according to your requirements. You need to copy the code in the text box. That code begins with <iframe src= and it is a tag written in HTML that embeds the Google map.
  4. Now, go to the Shopify admin panel and click Online store -> Pages.
  5. Here, you need to click on the title of the web page where you are supposed to display the map. In the Content toolbar, you need to click on the Show HTML button to see the HTML code of your web page.
  6. Now, paste the code that you recently copied from the Google maps into the Content box. You can embed the Google map at the bottom of your web page by pasting the code after any existing content or at any place on your web page. You need to click on the Show Editor to switch back to the webpage editor from the HTML viewer so that you can preview your map.
  7. Click on the Save button.

Editing a web page

There are numerous reasons to edit a web page in Shopify. It may include correcting typos, adding new information, or making changes to the existing content. Here are the steps to edit a web page:

  1. Open Shopify admin panel and click on Online store -> Pages.
  2. Click on the title of the web page and make changes to the existing web page content or the existing settings.
  3. Click Save. You can visit the web page in your Shopify store to ensure that the changes are appearing. You may have to reload the browser to view the recently saved changes.

Deleting a web page

  1. Go to Shopify admin panel, Online store -> Pages.
  2. Click on the title of the web page that is supposed to be deleted.
  3. Click on Delete page -> Delete.

Note: If you delete a web page that use in the navigation of your online store, then the menu item associated with that particular page is also deleted. To understand better, it is like if you delete a Privacy Policy web page the is being used as a Privacy Policy menu item, then both of them will be deleted.

You can also use bulk actions to delete more than one page at a time.

Publish or unpublish web pages in bulk

Shopify offers a lot of flexibility. You can control the web pages that are published to your online Shopify store using the Actions drop-down menu. It is a super easy option that allows the admin to publish or unpublish numerous web pages at a time. It is very helpful especially if you are coming to Shopify from another eCommerce website or platform. It is also beneficial when you are uploading a series of already written documents.

To publish web pages in bulk, follow these steps:

  1. Open Shopify admin panel, click on Online store -> Pages.
  2. Now, select or mark check on every box next to each web page that you want to publish.
  3. Click on the Actions in the drop-down menu, and then select Publish selected pages. So now, you should be able to see your web page as it is published on your Shopify store.

You can also add a link to your newly published web page in a menu. It will help the customers to easily find that particular web page.

Unpublish web pages in bulk

To unpublish the web pages in bulk, follow these steps:

  1. Go to Shopify admin panel, click on Online store -> Pages.
  2. As we did while publishing the web pages, you need to check the box next to each web page that you want to unpublish from your Shopify store.
  3. Click on Actions in the drop-down menu, then click on Unpublish selected pages.

Is there any way to get the Shopify search bar for free?

There is one more way to get the Shopify search bar for free as discussed below:

Google Custom Search

It is a free tool to add a Shopify search bar. All you need is to install the Google Custom Search, and that’s all. But, as you know, everything comes at a price. The same happens while installing Google Custom Search.

Unlike the Expertrec Custom Search, Google Custom Search will show ads. A lot of ads. And, it’s never a good idea to lose your precious customers by a click on these ads. Moreover, these ads can even transfer the website visitors to another website that could be your potential competitor.

Keeping these losses aside, it’s a free tool to be used while getting started. But not suitable for long-term growth. Here’s how to install GCS:

i. Click on https://cse.google.com and click on Get Started to proceed further.

After it, enter the URL of your website.

ii. You can also name your CSE. Click on create.

iii. You will be able to access a new search engine for your website. Click on Get code.

iv. Copy the code.

v. Go to Shopify admin panel. Click on Actions -> Edit code.

vi. In Layout -> theme.liquid -> <body>, copy the code between the two <div> as shown below:

vii. You have added the Google CSE right away.

Open your website, and it would show something like “powered by Google.” 

    Get Shopify Search Bar @ $9/month

    Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
    You may also like