Size filter shows unavailable products
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 pleaseIf 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.
Quote from neoDIRECT on January 4, 2021, 19:56Hello,
I have a problem with size filter (Rozmiary) here:
https://moda24h.eu/marka/adidas.html?swoof=1&pa_rozmiar=47-1-3&really_curr_tax=117-pa_marka
When there is 37 1/3 size checked there are two products.
And the product on the right (Adidas Questar BYD sneakers black) is unavailable for the size of 37 1/3 but it is shown after filtering. The product has suche a size but its stock = 0.
I do not know if the filter shows also products that unavailable? I hope not?I tried to clean manually the cash of attributes and the cash of the page - but with no success.
Best regards,
Dominik
Hello,
I have a problem with size filter (Rozmiary) here:
https://moda24h.eu/marka/adidas.html?swoof=1&pa_rozmiar=47-1-3&really_curr_tax=117-pa_marka
When there is 37 1/3 size checked there are two products.
And the product on the right (Adidas Questar BYD sneakers black) is unavailable for the size of 37 1/3 but it is shown after filtering. The product has suche a size but its stock = 0.
I do not know if the filter shows also products that unavailable? I hope not?
I tried to clean manually the cash of attributes and the cash of the page - but with no success.
Best regards,
Dominik
Quote from Pablo Borysenco on January 5, 2021, 12:05Hello Dominik
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and wp-admin access - https://c2n.me/42BAoj4.png
Hello Dominik
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and wp-admin access - https://c2n.me/42BAoj4.png
Quote from neoDIRECT on January 11, 2021, 18:22Hello Pablo,
I have tried the code from the link :
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}And it works with "in stock checbox" extension turned on. But it works on every single archive page not only on filtered ones.
Is there a way to check the in stock variations but only when the ?swoof filtering is working?
If needed - access attached.
Best regards,
Dominik
Hello Pablo,
I have tried the code from the link :
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($data){
$data['stock']='instock';
return $data;
}
And it works with"in stock checbox" extension turned on. But it works on every single archive page not only on filtered ones.
Is there a way to check the in stock variations but only when the ?swoof filtering is working?
If needed - access attached.
Best regards,
Dominik
Quote from Pablo Borysenco on January 12, 2021, 12:20Hello Dominik
Can you add FTP access?
Do you have a test site?
Hello Dominik
Can you add FTP access?
Do you have a test site?
Quote from neoDIRECT on January 13, 2021, 16:33Hello Pablo,
I've made a test site and you also have ftp access (on the test site) - private data updated.
Thank you.
Hello Pablo,
I've made a test site and you also have ftp access (on the test site) - private data updated.
Thank you.
Quote from Pablo Borysenco on January 14, 2021, 16:13Hello
Please do a test - http://2.neodirect.pl/marka/adidas.html?swoof=1&pa_rozmiar=47-1-3&really_curr_tax=117-pa_marka
Hello
Please do a test - http://2.neodirect.pl/marka/adidas.html?swoof=1&pa_rozmiar=47-1-3&really_curr_tax=117-pa_marka
Quote from neoDIRECT on January 15, 2021, 14:36Hello,
it looks ok. How to transfer the changes to production site?
Is there any additional code in functions.php or any option turned on?
Should I be careful during next update any way?Thank you
Dominik
Hello,
it looks ok. How to transfer the changes to production site?
Is there any additional code in functions.php or any option turned on?
Should I be careful during next update any way?
Thank you
Dominik
Quote from Pablo Borysenco on January 18, 2021, 11:58Hello Dominik
Activate this extension - https://c2n.me/4aAOzPM.png AND check option - https://c2n.me/4aAODdR.png
Hello Dominik
Activate this extension - https://c2n.me/4aAOzPM.png AND check option - https://c2n.me/4aAODdR.png
Quote from neoDIRECT on August 21, 2021, 17:18Hello again,
Unfortunately, when I have above options turned on - it slows the page very very much. Like more than twenty seconds per size filter e.g.:
(now I switched to 'Simple products only' for 'by_instock')
https://via-promoda.pl/mezczyzna/obuwie-meskie/botki-trzewiki-meskie?swoof=1¤cy=PLN&stock=instock&pa_rozmiar=40,41&paged=1&really_curr_tax=484-product_cat
(The page has a new url now but it is a clone)
Is there any way to have only available products show with filtering and do not have to wait 20 seconds for page loaded?
I tried to turn on Turbo mode - the file has over 9000 records (about 3mb).
Is it too many?After turn it on - the filter widget just freezes:
No more ideas I have.
Please, advise.
Best regards, Dominik
Hello again,
Unfortunately, when I have above options turned on - it slows the page very very much. Like more than twenty seconds per size filter e.g.:
(now I switched to 'Simple products only' for 'by_instock')
(The page has a new url now but it is a clone)
Is there any way to have only available products show with filtering and do not have to wait 20 seconds for page loaded?
I tried to turn on Turbo mode - the file has over 9000 records (about 3mb).
Is it too many?
After turn it on - the filter widget just freezes:

No more ideas I have.
Please, advise.
Best regards, Dominik
Quote from Pablo Borysenco on August 23, 2021, 12:16Hello Dominik
if you want to check the availability of variants in stock, the plugin must make queries to the database for each variant. If you have many variations, this will inevitably lead to thousands of requests. Unfortunately, this cannot be done in another way.
Read this please - https://products-filter.com/searching-is-slow
Hello Dominik
if you want to check the availability of variants in stock, the plugin must make queries to the database for each variant. If you have many variations, this will inevitably lead to thousands of requests. Unfortunately, this cannot be done in another way.
Read this please - https://products-filter.com/searching-is-slow
Quote from neoDIRECT on August 23, 2021, 12:24Another words - for variations - and more than "a few" products - the plugin is unusable - both for siezes or promotion prices of some variations etc.
It have to be another way. There are sites with much more products and they works very fast.And what about Turbo? Why is that freezing? Is the json file too big?
Thank you.
Another words - for variations - and more than"a few" products - the plugin is unusable - both for siezes or promotion prices of some variations etc.
It have to be another way. There are sites with much more products and they works very fast.
And what about Turbo? Why is that freezing? Is the json file too big?
Thank you.
Quote from neoDIRECT on August 23, 2021, 12:37I've just learned that yet, WooCommerce is working on implementing an easy way to manage these filters with a new table.
Do you know anything about it?
When are they plan to implement it?
And are you planning to use this new table to make filters working with variations?
I've just learned that yet, WooCommerce is working on implementing an easy way to manage these filters with a new table.
Do you know anything about it?
When are they plan to implement it?
And are you planning to use this new table to make filters working with variations?
Quote from Pablo Borysenco on August 24, 2021, 10:16Hello
and more than "a few" products - ??? you have three thousand products, each product has several variations. if you have an average of three variations, this is already 9000 products
you are also using the old version of the plugin(this shouldn't work at all with latest woocommerce and wordpress). Please update it - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
And what about Turbo? Why is that freezing? Is the json file too big? - Possibly the reason is in the old version of the plugin
Do you know anything about it? - They started changing the database a long time ago. there are still many problems(An example:problems with the search by price). Of course we follow woocommerce updates
Hello
and more than"a few" products - ??? you have three thousand products, each product has several variations. if you have an average of three variations, this is already 9000 products
you are also using the old version of the plugin(this shouldn't work at all with latest woocommerce and wordpress). Please update it - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
And what about Turbo? Why is that freezing? Is the json file too big? - Possibly the reason is in the old version of the plugin
Do you know anything about it? - They started changing the database a long time ago. there are still many problems(An example:problems with the search by price). Of course we follow woocommerce updates
Quote from neoDIRECT on August 24, 2021, 16:09Well,
I haven't notice that the plugin is updated. Why does it not call for update then??
Well,
I haven't notice that the plugin is updated. Why does it not call for update then??
Quote from neoDIRECT on August 24, 2021, 17:57Hello again,
After I update product (is there a way to show the need of update?) - there is no more freezing and the Turbo mode seems to work.
But new problems/questions are:
1. a problem with pagination e.g. https://via-promoda.pl/mezczyzna/obuwie-meskie/page/7?swoof=1¤cy=PLN&stock=instock&pa_rozmiar=42%2C425%2C42-2-3&really_curr_tax=37-product_cat
at the bottom - 29 pages appears and it creates a strange urls of the pages e.g. https://via-promoda.pl/wp-admin/admin-ajax.php?paged=4 - of course the only thing I see after click any of pagination is "0".
Should I reconfigure anything? (did not reassemble products data after update)2. after clicking Clear all - the url does not change
3. is your currency plugin works ok with the price slider? Because the current currency plugin gets back to the default currency (PLN) and jumps between currencies after using the price slider.
4. Where to hide (only CSS?) the button:
Best regards,
Dominik
Hello again,
After I update product (is there a way to show the need of update?) - there is no more freezing and the Turbo mode seems to work.
But new problems/questions are:
1. a problem with pagination e.g. https://via-promoda.pl/mezczyzna/obuwie-meskie/page/7?swoof=1¤cy=PLN&stock=instock&pa_rozmiar=42%2C425%2C42-2-3&really_curr_tax=37-product_cat
at the bottom - 29 pages appears and it creates a strange urls of the pages e.g. https://via-promoda.pl/wp-admin/admin-ajax.php?paged=4 - of course the only thing I see after click any of pagination is"0".
Should I reconfigure anything? (did not reassemble products data after update)
2. after clicking Clear all - the url does not change
3. is your currency plugin works ok with the price slider? Because the current currency plugin gets back to the default currency (PLN) and jumps between currencies after using the price slider.
4. Where to hide (only CSS?) the button:

Best regards,
Dominik
Quote from neoDIRECT on August 24, 2021, 18:17PS. ad.4
The previous clearing button "Wyczyść filtrowanie" appears always - even when there is no filter on.
PS. ad.4
The previous clearing button"Wyczyść filtrowanie" appears always - even when there is no filter on.
Quote from Pablo Borysenco on August 25, 2021, 11:53Hello Dominik
(is there a way to show the need of update? - Please try to read this - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
1 read this please - https://products-filter.com/pagination-troubles-in-ajax-mode
2 my test - https://c2n.me/4d7dJAQ
3 Yes
4 please add css:
.woof_reset_button_2{
display: none;
}
5 It looks like this is because the "instock" filter is enabled by default.
Hello Dominik
(is there a way to show the need of update? - Please try to read this - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
1 read this please - https://products-filter.com/pagination-troubles-in-ajax-mode
2 my test - https://c2n.me/4d7dJAQ
3 Yes
4 please add css:
.woof_reset_button_2{
display: none;
}
5 It looks like this is because the"instock" filter is enabled by default.
Quote from neoDIRECT on August 25, 2021, 14:13
- I use Flatsome theme - (one of) the most popular. I can't see any settings about the pagination here.
Are any on your plugin?I would like to try to "change pagination html as it should be if you know how is it"The code is a different by a letter:
li elements has page-number not page-numbers
Is this a cause? Should I change it in my child theme? What is the file?By the way:
There is no way to try redirect way - because I can not Save unchecked option of "try ajaxifying the shop" - probably Turbo mode disallow it.
However I would like to avoid turning ajax off.Now.
After turning off Turbo mode and "Try to ajaxify the shop" - nothing changes.
goto: https://via-promoda.pl/mezczyzna/obuwie-meskie and filter a few sizes, and after filtering there is still wrong pagination url with admin-ajax.php in it.- I mean browser url - is not cleared after using Clear button. But I can live with this...
- ok
- ok
- I use Flatsome theme - (one of) the most popular. I can't see any settings about the pagination here.
Are any on your plugin?I would like to try to"change pagination html as it should be if you know how is it"The code is a different by a letter:

li elements has page-number not page-numbers
Is this a cause? Should I change it in my child theme? What is the file?By the way:
There is no way to try redirect way - because I can not Save unchecked option of"try ajaxifying the shop" - probably Turbo mode disallow it.
However I would like to avoid turning ajax off.Now.
After turning off Turbo mode and"Try to ajaxify the shop" - nothing changes.
goto: https://via-promoda.pl/mezczyzna/obuwie-meskie and filter a few sizes, and after filtering there is still wrong pagination url with admin-ajax.php in it. - I mean browser url - is not cleared after using Clear button. But I can live with this...

- ok
- ok
Quote from Pablo Borysenco on August 26, 2021, 11:01Hello
because I can not Save unchecked option of "try ajaxifying the shop" - Because turbo mode only works in ajax mode
After turning off Turbo mode and "Try to ajaxify the shop" - nothing changes. - You haven't turned off Ajax mode. My test - https://c2n.me/4d7YC03
Hello
because I can not Save unchecked option of"try ajaxifying the shop" - Because turbo mode only works in ajax mode
After turning off Turbo mode and"Try to ajaxify the shop" - nothing changes. - You haven't turned off Ajax mode. My test - https://c2n.me/4d7YC03
Quote from neoDIRECT on August 26, 2021, 13:57Sorry, that's right - with "Try to ajaxify the shop" options disabled - no problem with pagination (probably browser cache fooled me).
But at 9000 variations - only ajax (Turbo mode) is reasonable solution - too long waiting time for the page to load :(So, please get back to the nr 1 and let's try to get it work.
As I see:
- the Flatsome theme is the most popular woocommerce theme on envato market
- WOOF is the second popular filter on envato market
- XforWoocommerce's is the first popular product filter and it has no problem with ajax (tested and confirmed) - maybe this is one of reasons why it is the first selling plugin?
So, the only way to use ajax filter is to switch on XforWoocommerce? If XforWoocommerce works ok - WOOF also can, right?
Sorry, that's right - with"Try to ajaxify the shop" options disabled - no problem with pagination (probably browser cache fooled me).
But at 9000 variations - only ajax (Turbo mode) is reasonable solution - too long waiting time for the page to load :(
So, please get back to the nr 1 and let's try to get it work.
As I see:
- the Flatsome theme is the most popular woocommerce theme on envato market
- WOOF is the second popular filter on envato market
- XforWoocommerce's is the first popular product filter and it has no problem with ajax (tested and confirmed) - maybe this is one of reasons why it is the first selling plugin?
So, the only way to use ajax filter is to switch on XforWoocommerce? If XforWoocommerce works ok - WOOF also can, right?