Custom template for search result

Forums › Forums › Search & Filter Pro › Custom template for search result

Viewing 10 posts – 1 through 10 (of 14 total)
  • Anonymous
    #235262

    Hello,
    I’ve created a page on that i’ve inserted my form ( with shortcode) and in the same page or also in an other i’ve inserted the shortcode with search result .
    All work correctly but the resutl layout is not good and i’d want to customize so i’ve followed this doc https://searchandfilter.com/documentation/search-results/using-a-shortcode/ but i do not understand how to create a template that can be used on my Page Builder Elementor PRO
    Someone can help me ?

    Trevor
    #235268

    If you are using Elementor Pro, you may want to use the Post Grid element that comes with it. See this post:

    https://support.searchandfilter.com/forums/topic/how-can-i-search-elemntor-column-while-retaining-the-design-of-that-column/#post-209754

    Anonymous
    #235288

    Hello Trevor,
    Thank You for your help.
    I’ve tried to use also the post grid widget setting the query to product and in the wodget i see all my products but when i select a field on my form it does not give me any result.

    Anonymous
    #235304
    This reply has been marked as private.
    Anonymous
    #235335
    This reply has been marked as private.
    Anonymous
    #235353
    This reply has been marked as private.
    Trevor
    #235423

    I am not sure it is normal to use a Post Grid element for WooCommerce (you did not mention it was WooCommerce) in Elementor. I think there is already a template for WooCommerce in Elementor or your theme, so you would set the form to WooCommerce display results method, and show our form on the page using our form widget, with no special code or javascript needed.

    I think that the Ajax Container needs to be .products for WooCommerce, the pagination selector I would have to check.

    There are two Search operators you can use within a taxonomy (such as Product Category):

    AND
    OR

    The default is AND and this would have the effect of making less results as you select more terms.

    Conversely, OR will increase the number of results as you add more terms.

    It is possible you have the wrong one selected in the field setting.

    As to layout/styling. Some custom CSS can do as you want. I have had other users set the field as checkbox, but hide the checkboxes and style the terms more as tags (with border etc), but that is easy to do, if we can get this working OK.

    Many other users have WooCommerce and Elementor working OK, so it should work.

    Anonymous
    #235432
    This reply has been marked as private.
    Trevor
    #235469
    This reply has been marked as private.
    Anonymous
    #235498
    This reply has been marked as private.
Viewing 10 posts – 1 through 10 (of 14 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.