Skip to main content
More in Learn

Results within a Price Range

Like most eCommerce stores, you might want to add the functionality of filtering products within a price range. This section discusses how to do this with the Search API.

In order to perform these operations, ensure that you have the proper authentication (if necessary) and user permissions.

Filter Items within Price Range

In order to filter the search results within a price range, use the productVariants field within the filter object. Then you can specify the minimum and maximum values in the priceRange field as follows:

People showing thumbs up

Need further assistance?

Ask the Crystallize team or other enthusiasts in our slack community.

Join our slack community