Adding shop search
Now that you have a basic marketplace, you're ready to start building it up with more functionality. You want buyers to be able to search the marketplace to find specific shops.
In this tutorial, you'll add functionality for searching the shops where your channel app is installed, by name.
What you'll learnAnchor link to section titled "What you'll learn"
After finishing this tutorial, you'll know how to add shop search to a marketplace homepage.
RequirementsAnchor link to section titled "Requirements"
You've completed the marketplaces Getting started tutorials.
You've learned more about the channel app code that enables you to add shop search.
Add search input to the marketplace homepageAnchor link to section titled "Add search input to the marketplace homepage"
To add shop search, your buyer-facing app needs to make a request to the Storefront API. The following requests the shop name using the
nameIsLike argument, and requests the shop's ID, domain, and a Storefront API Access Token.
Your marketplace homepage might now look something like the following: