This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

show blog and products in search results with different layouts

Home Forums Product Support Forums Ajax Search Pro for WordPress Support show blog and products in search results with different layouts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45486
    Lucy TechLucy Tech
    Participant

    I’m searching for posts and products but I don’t know how to show the posts and products in the search results – so the product have an ‘add to cart’ and the posts show as a post layout.
    how do I do that?

    #45492
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Do you mean the results on the results page?

    I’m afraid that is only possible by editing the theme. The WooCommerce results page will automatically remove anything that is a product. The regular results page however may not display the add to cart button. Unfortunately the plugin can not affect that, it is purely rendered by the theme you are using.
    Theoretically if everything were to be rendered on the regular results page (not the WooCommerce one), that should be custmomizable to display everything as you like – but that is definitely not an easy task.

    #47611
    Lucy TechLucy Tech
    Participant

    I want to filter the search results from the main search in the menu, without the user having to search again.
    eg a user searches for ‘paint’ then I want to filter the different paint categories — brushes, paper, paint colors.
    have a sidebar with options to filter the search results.
    Is there a way to do this with the plugin?

    Also I have a lot of different categories, even multiple color categories.
    Is there a way to only show the categories that are relevant for that search result?
    eg if there are paint brushes in the search results, show that as a filter option. If not, hide that option.

    Thanks

    #47653
    Ernest MarcinkoErnest Marcinko
    Keymaster
    I want to filter the search results from the main search in the menu, without the user having to search again.
    eg a user searches for ‘paint’ then I want to filter the different paint categories — brushes, paper, paint colors.
    have a sidebar with options to filter the search results.
    Is there a way to do this with the plugin?

    I think the most similar setup for that is in this example. It’s basically the search shortcode and the results shortcode placed next to each other. (in the example we actually use gutenberg blocks, but it’s the same thing)

    Is there a way to only show the categories that are relevant for that search result?
    I’m afraid however that is not possible.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘show blog and products in search results with different layouts’ is closed to new replies.