AnonymousInactive
Hi Ross,
I’m having some trouble with modifying the “Look and feel” from the Range Slider.
I’m still experimenting to build my website on a localhost (with WAMP) so I have to send you some pictures to show you the example I’m struggling with.
I’m using a theme called Flatsome and have installed Woocommerce and your Search-filter-pro plugin.
As seen on the first picture the minimum and maximum numeric fields under the h4 header called “Voor welke prijsklasse?” are aligned underneath each other with as separator an underscore in between.
I did some Photo shopping in picture 2 to let you see how I like the alignment to be.
I did some experimenting in the next CSS files:
<link rel=’stylesheet’ id=’search-filter-chosen-styles-css’ href=’http://localhost/ww/wp-content/plugins/search-filter-pro/public/assets/css/chosen.min.css?ver=1.4.0′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’search-filter-plugin-styles-css’ href=’http://localhost/ww/wp-content/plugins/search-filter-pro/public/assets/css/search-filter.min.css?ver=1.4.0′ type=’text/css’ media=’all’ />
But I could not find the Class called “meta-range” these items refer to.
Possibly these numeric fields and there CSS is hard baked somewhere in the PHP files but since I’m a novice in PHP, I’m not able to find them.
Can you be so kind to give me some pointers or CSS examples on how I can line up these numeric fields like the example in the second picture?
For the rest your plugin is working great and it does exactly where I’m looking for.
Easy to configure and straight to the point. Good job!
Thanks in advance for your cooperation.
Regards,
Jeroen van Eck
Hey Yeung
You can make the search only show products with over a specific quantity no problem – as long as the quantity is a custom field/post meta, and not a taxonomy.
Head to “post meta” tab in the “settings & defaults” box.
To display you results the same, you must choose which template is used in your theme for displaying your default woocommerce page.
Make sure you copy the woocommerce files over to to your theme folder – http://docs.woothemes.com/document/template-structure/
And then under “display results” enter the filename of the template used to display your results.
Thanks
AnonymousInactive
Hey Ross thanks for your time…
Something is different in our wp page, as we tick the manage stock box, it only gives the option to introduce a stock quantity, it is not limited to “in stock” or “out of stock” like your screen shows, we thought it could be because we have older versions, but we updated wordpress and woocommerce and still no change…
i attach and image of how it is…
also if you think you could develop this custom made please let me know how much it would cost and how long would it take, so we can consider it as an option,
thanks, kind regards
Hi James
This is a bit out of the realm of the plugin support.
Basically what your theme is doing is loading a sidebar on the woocommerce product page, but not on the S&F results page.
You can try one setting, under “advanced” tick “force is_search to true” – if this doesn’t work be sure to disable it after testing.
In this case, you must duplicate your archive-product.php
(because we will be making customisations) and use this as your template. You need to update this new template to show a specific / different sidebar (will require some coding).
For info on how to create a sidebar/widget area see – http://www.wpbeginner.com/wp-themes/how-to-add-dynamic-widget-ready-sidebars-in-wordpress/
Most people prefer to use a plugin though, something like widget logic – https://wordpress.org/plugins/widget-logic/
Thanks
AnonymousInactive
Thank you very much for quick reply, Ross. So I tried to add /woocommerce/archive-product.php to custom template field and it’s working now. Anyway, there si another problem. The sidebar disappears when results are loaded. So I can see the results, but no sidebar with filtering. I’m using exactly same template as shop homepage.
Thank you very much,
James
Hey James
If the template filename is disappearing then it means the plugin can’t find your template (I need to improve the feedback here).
The template must be located in your theme folder and the path must be relative to your theme folder.
So for woocommerce it would be something like:
woocommerce/product-archive.php
If you do not have the woocommerce files in your theme folder then follow their instructions:
http://docs.woothemes.com/document/template-structure/
Thanks
AnonymousInactive
Hello,
I have just installed a Pro version, but I’m not able to set a custom template for displaying results. If I fill in the input in search form settings and click to update the form, the text from the input has gone.
This is my website – http://www.fobsession.com/shop/ (Woocommerce). I just need to display the results in the same way like at the page above.
Thanks, James
AnonymousInactive
Hi,
I have what is here called “meta data” in woocommerce products (still struggling with all the terms, I thought those are just “custom fields”, but however!).
The plugin finds my relevant field, but using it in the search form does not work. It contains numbers from 1 to 167, whatever number I add in the combo box, it says “no results match”.
But I see that the field is correct and accessed in right way in general by the plugin, because I get all values shown when clicking on “auto suggest” in the options for this meta field.
What’s wrong here?
Thanks!
(P.S. I don’t find a search function for this forum – would be helpful… ;))
Hey Gerardo, no need to bump.
I will be looking at this today – just going through the weekend backlog of support..
My first thoughts are, if variations are seperate products with their own _stock
values then it won’t be possible like this – One field (in S&F UI) always = 1 meta field – it can’t work across multiple.
Unfortunately I don’t have much experience with variations so I need to do some further testing.
If this does not work, then what you would need to do is create a _total_stock
meta key on your main product, that automatically get the total stock across all variations.
Aside from that it is possible there is already another variable (not called _stock
) in woocommerce that has this data in.
Thanks
AnonymousInactive
Hi there,
I’m trying to replicate the filter on http://hillscoachsales.com/coach-sales/minibus/2008-toyota-optimo-v-21-seats/ using the Search & Filter Pro plugin.
I have installed WooCommerce and want to use the plugin to filter products. So far I’ve added 1 product and within the Custom Fields of the product I have added a field called “Number of Seats” and given it a value of 49.
I’ve set up a Search Form and dragged the ‘Post Meta’ field into the Search Form UI, and then within the settings, under ‘Meta Key’, I’m selecting the ‘Number of Seats’ field that I created earlier and using a Number Range Slider to filter the results. I then click Update button to save what I’ve done, however the ‘Meta Key’ keeps resetting itself and doesn’t save as the ‘Number of Seats’ option which I keep setting it as.
Any ideas what I’m doing wrong?
Many thanks!
John