Forums Forums Search & Filter Pro Search by SKU?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #199017

    Is there any way to make it so the built in search also pulls from SKUs? My theme’s main search bar does this so I just wanted to see if I could do it with S&F as well.

    Trevor
    #199033

    Our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.

    The documentation for this is here:

    https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/

    You would need to install and activate the free Relevanssi plugin as well.

    Then set it up (in your case set up the Custom Field part for the SKU, I think) and build its index (make sure it is indexing the desired post types AND the taxonomies/custom fields that you want to search).

    Anonymous
    #199146
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)