Forums › Forums › Search & Filter Pro › Loading results in same page
Tagged: woocommerce
- This topic has 13 replies, 2 voices, and was last updated 5 years, 10 months ago by Anonymous.
-
Anonymous(Private) December 21, 2018 at 11:15 am #197295
Hello !
I use the module with woocommerce, and I have two categories that I want to display separately, with different filers. I’ve created two taxonomy templates, and put a different shortcode in each.
The filter results are diplayed on the archive template, and I therefore loose my template-specific data (different filters for each category). I tried activating the “custom” otpion on the display results settings and entering my page’s URL but I couldn’t make it work.
Here’s my category page :
Anonymous(Private) December 21, 2018 at 11:17 am #197297Sorry I forgot to put in the URL : http://chaboud.connivence-poleweb.fr/categorie-produit/louer/
Trevor(Private) December 21, 2018 at 11:50 am #197303I think you would need to make one form, using the WooCommerce method and have all the filters on it, but hide filters depending on the page in use.
Use CSS to do the hiding, and I think each of your pages will have different classnames on the body tag to allow you to differentiate the CSS.
You would have to have the form set to autodetect the category of the page (and so category has to be a field on the form also (even if also hidden) and also use the option to stay within the taxonomy archives of WooCommerce.
-
AuthorPosts