Forums › Forums › Search & Filter Pro › Custom template for search result
Tagged: customize, search result, Template
- This topic has 13 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Anonymous(Private) March 2, 2020 at 7:43 am #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(Private) March 3, 2020 at 3:24 pm #235423I 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
ORThe 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.
-
AuthorPosts