
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 19, 2023, 12:34
Hello
Looks like the current product template doesn't listen to search queries
please try this - https://products-filter.com/make-page-builders-and-custom-template-filterable
Hello
Looks like the current product template doesn't listen to search queries
please try this - https://products-filter.com/make-page-builders-and-custom-template-filterable

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 20, 2023, 11:18
Hello
My test - https://c2n.me/4jArcKo - everything seems to be working correctly
Hello
My test - https://c2n.me/4jArcKo - everything seems to be working correctly

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 23, 2023, 11:00
Hello
The filter by price isn't working when it's the first thing you try - why? - Please disable my plugin and do a test with native woocommerce price filter. (I don't think it will work either) There could be two reasons: 1 You have not updated the data table 2 The current template is not compatible with woocommerce.
Try updating the data table. Woocommerce->Status->Tools - https://share.pluginus.net/image/i20231023115248.png
The reset button also does not appear until I select a Stone Color or another filter below. - Yes, and this is correct behavior, the reset button is not displayed when there is no search query
Also, when I select filters that have no items it just shows all items - Try to change this line - https://share.pluginus.net/image/i20231023115515.png to this code:
$query->query_vars['post__in'] = count($_REQUEST['woof_wp_query_ids'])?$_REQUEST['woof_wp_query_ids']: [-1];
Also how do I change the title of the filters - https://share.pluginus.net/image/i20231023115924.png->https://share.pluginus.net/image/i20231023115955.png
Hello
The filter by price isn't working when it's the first thing you try - why? - Please disable my plugin and do a test with native woocommerce price filter. (I don't think it will work either) There could be two reasons: 1 You have not updated the data table 2 The current template is not compatible with woocommerce.
Try updating the data table. Woocommerce->Status->Tools - https://share.pluginus.net/image/i20231023115248.png
The reset button also does not appear until I select a Stone Color or another filter below. - Yes, and this is correct behavior, the reset button is not displayed when there is no search query
Also, when I select filters that have no items it just shows all items - Try to change this line - https://share.pluginus.net/image/i20231023115515.png to this code:
$query->query_vars['post__in'] = count($_REQUEST['woof_wp_query_ids'])?$_REQUEST['woof_wp_query_ids']: [-1];
Also how do I change the title of the filters - https://share.pluginus.net/image/i20231023115924.png->https://share.pluginus.net/image/i20231023115955.png