search

Page where users can search for products using several filters

Search Page Overview

This is a public page where any user can search through all active Products on the platform. Users can choose from a number of filters and sorting options, as well as click on a Product to go to its details page. Search filters pull their initial content from URL parameters when available.

Key Workflows

Update parameters [Custom workflow]

  • Updates a set of URL parameters with data inputted in the search filters. This is triggered each time an input is updated and allows users to link directly to a set of filtered search results

    • For the “input is updated” effect to work with the custom starRatingInputSmall element, we update a yes/no state each time the elements value is changed (this is triggered both from the reusable element itself and from the workflow on the search page)

Key Elements

RepeatingGroup Product

  • Shows all active products on the platform which match the user inputted search criteria

  • Data source notes

    • The Inactive_user? and Inactive_admin? constraints check to see if the product has been deactivated by either the product owner or an app admin

      • Inactive products are not displayed

    • Filters based on keyword, price, and rating

    • Sorts based on Dropdown Product Sort’s value (uses the :formatted as text operator to convert dropdown value to appropriate database field name

Last updated