PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Quick search buggy?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

So first, let me tell you that I'm very impressed with the amount of options of the plugin, although I only really need the quick search option :)
However, I've encountered several bugs on my shop page, with inconsistency in the template being used and limited product display: https://www.lockoloop.nl/devstage/shop

step 1:
type a keyword; returns results as classic archive page

step 2:
click clear all; returns only first 10 products of the whole catalog by alphabetical order, with classic archive page template

step 3:
click on the previous button: it returns the results per category (according to custom template) < desired behaviour!

step 4:
click clear all: returns only first 10 products of the whole catalog by alphabetical order, according to custom template

My archive-product template is fairly basic, as it's a foreach product-category loop, returning the products (I never managed to have the basic search function work correctly though) and I have no idea where the 10 products limit comes in since I have it unlimited in my template with a 'posts_per_page' => -1 . I can send the code of the template if necessary.

I'm also having a bug if I'm not pressing enter and just let the suggestions show:

It just keeps loading and never shows anything ; maybe because the window is too small since the filter window is set to always show and that I only have the quick search bar, so the window is to small to display anything?.

And lastly, I tried putting the quick search in my widget area on the left and this happens, I think you might be missing a CSS class for the image since if I add a width 100% to the image itself, it works way better (see green frame):

Also, I think I would need a bit of help with setting up the quick results for it to work with my sidebar instead of automatically; I see I'm supposed to use the [woof_quick_search_results template] shortcode? But where should I put it? I'd really like for it to return results like on step 3 mentioned earlier (maybe ignore empty categories).

Thank you!

Hello

Please disable  ajax  mode

Set  your  per -page - https://share.pluginus.net/image/i20220919111038.png

It just keeps loading and never shows anything  - Please install this  plugin - https://wordpress.org/plugins/error-log-monitor/ - to see what error appears on the server side

And lastly, I tried putting the quick search in my widget area on the left and this happens, - this is a conflict with your theme styles.

But where should I put it? - Where do you want to show products. and in this case, I think you will need to customize the display template

 

 

Hey there,

- So I tried turning off the Try to ajaxify the shop option, but although I press the save button, the option always reverts to Yes on its own (and it does display"Your settings have been saved").
- The products per page were already set to -1, same within my template (see screenshot).
- You say there's a conflict with the theme, but what type of conflict? I don't have any styling pointing at images globally, nor in a parent tag (just to be clear, the styling I'm showing on the screenshot is something I added to solve the problem). I turned off any styling like display or width of parent tags and it didn't change anything.
- I installed the plugin, I removed a few things that didn't have anything to do with your plugin. It looks like it could have something to do with the Smpl-skeleton theme?

[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Warning: Attempt to read property"ID" on null in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/themes/smpl-skeleton/functions.php on line 983
[19-Sep-2022 12:26:27 UTC] PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woocommerce-products-filter/ext/by_text/index.php:1007
Stack trace:
#0 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/class-wp-hook.php(307): WOOF_EXT_BY_TEXT->ajax_search()
#1 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-admin/admin-ajax.php(187): do_action()
#4 {main}
thrown in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woocommerce-products-filter/ext/by_text/index.php on line 1007
[19-Sep-2022 12:26:34 UTC] PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woocommerce-products-filter/ext/by_text/index.php:1007
Stack trace:
#0 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/class-wp-hook.php(307): WOOF_EXT_BY_TEXT->ajax_search()
#1 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-admin/admin-ajax.php(187): do_action()
#4 {main}
thrown in /home/u100586p107196/domains/lockoloop.nl/public_html/devstage/wp-content/plugins/woocommerce-products-filter/ext/by_text/index.php on line 1007

- I basically want to make it look like step 3, so I want it to replace what's already there (not have it on top of the rest) and keep it within the categories, this is the code for the loop:):

Hello

1 then disable turbo mode - https://products-filter.com/extencion/turbo-mode

2 Ok! But I asked you to set the number you need

3 I understand that your style solves the problem. I mean it's a CSS conflict. Not required to affect the IMG tag

4  It looks like it could have something to do with the Smpl-skeleton theme? - No! Please  check  this  option on "Search by text" settings - https://c2n.me/4gFTKDJ.png

5 for a quick search you need to create a completely new template without loops because everything will work with JS. Please  read  this - https://products-filter.com/shortcode/woof_quick_search_results/

 

1. Cool, I was able to turn off the AJAX and it fixed the template inconsistency

2. I had set it to -1 myself, which is what I need because I don't want pagination; fixing 1 fixed the problem.

3. But I have to add a class to your plugin element for it to work so that's why I'm confused.

4. Well, that was a dumb move from me! It was indeed set to zero, setting it to something else made it work again.However, I have another problem now, if I only have the search bar, the container is too small to accommodate the recommendations without scrolling:

5. I'll have a look, thank you, but what's the behaviour of the"setting the filter automatically", then? Since it works really nicely with my existing template (now that we fixed it) and I just want to move the searchbar to the sidebar widget-area?

I have an additional question related to that: would you know why, when the filter is set to appear automatically, it has all my css properly applied (font, border-radius, border-color etc.) but once I set it through a shortcode then it doesn't anymore? Considering my css aims at all searchbars:

select, textarea, .input-text, input[type="search"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="text"], .contact-form input[type="url"] {
font-family:"Josefin Sans";
border-radius: 1rem;
border: solid 1px var(--orange);
color: var(--brown);
padding: 0.6rem 0.7rem;
width: 60%;
align-self: center;
background-color: white;
}

hello

Unfortunately you turned off my plugin and I can't check it

Right, I turned it off because for some reason when it's activated the single-page links with attributes don't work anymore Oo (like this one https://www.lockoloop.nl/devstage/product/oat-flakes/?attribute_pa_volume=580)
It works fine again when I turn off WOOF. And there's no error appearing in the log =|

Hello

Please  drop  me  screenshots  of   WOOF  settings

Try to test with a different theme

the problem is that any GET request causes this error - https://www.lockoloop.nl/devstage/product/oat-flakes/?any=any