• Resolved deisouss

    (@deisouss)


    We would like to modify the results page, we would like to add more information such as SKU and also we are running into a problem where the short description has a shortcode and in the return results it comes back as [shortcode] so we want to be able to modify the page just like we do other pages, how do we do that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey there,

    Could you clarify if you’re using the Jetpack Instant Search (meaning you instantly get search results in a modal window as soon as you start typing) or the legacy inline search (which loads results on a new page?).

    When using the inline search you could in theory customize your results in the “search.php” template of your theme, but Jetpack Inline Search is now deprecated and we recommend using the newer Jetpack Instant Search.

    With that in mind and regarding SKU, we’ve had at least one request for that before so the team might add that feature soon. We’re tracking this here if you’re interested in following progress: https://github.com/Automattic/jetpack/issues/32723

    As for the shortcode, Jetpack Search indexes content from your site as it exists in the posts, meaning it captures everything as you edit it, and does not expand shortcodes. I’m going to report that to the team and get their thoughts on the possibility of getting the full content.

    Finally, you could take a look at styling your search results differently if you’re interested in showcasing your products. We have included a “Product” style that is ideal for online stores: https://jetpack.com/support/search/customizing-jetpack-search/#styling-result-format

    Thank you,
    Filipe

    Thread Starter deisouss

    (@deisouss)

    Hi, we are using the Jetpack Instant Search.

    I just signed up to get notifications of the progress of the SKU added to the results

    In regards to the shortcodes, if they cannot be displayed, then at least they should be removed from the results text, because it looks weird to have text like this [this_is_a_shortcode] in the middle of the results. Just a suggestion, thanks!

    Plugin Support Emily A. (a11n)

    (@happyaxident)

    In regards to the shortcodes, if they cannot be displayed, then at least they should be removed from the results text, because it looks weird to have text like this [this_is_a_shortcode] in the middle of the results. Just a suggestion, thanks!

    That makes sense, thanks for the suggestion!

    Plugin Support Emily A. (a11n)

    (@happyaxident)

    I’ve opened an issue here: https://github.com/Automattic/jetpack/issues/33555

    Please feel free to add any details I missed. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customize results pages with hooks’ is closed to new replies.