Filter Not Showing Correctly, Redirecting to main store page after any filter is applied
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 alexdumanski on October 1, 2022, 04:44We are working on a large product site for a liquor store and are having an issue and hope you can assist. We have created a product page, separate from our current store page. We are using an Avada them. We have inserted the Woo Product Grid element as well as the woof search onto the page. Inside Woo Product Grid element we have filtered down to just the "wine" category.
We are having two issues. Here is the live URL: https://alsdelivers.com/wine/
- Even through the page is only showing wine, the filter on the left is not registering that. It's still giving all available products and categories. Beer, Liquor, etc.
- The second issue is, whenever a filter is applied, instead of staying on this page and refreshing the product grid, it redirects to the main store page to generate the filtered results: https://alsdelivers.com/store/
Please advise. Thank you!
We are working on a large product site for a liquor store and are having an issue and hope you can assist. We have created a product page, separate from our current store page. We are using an Avada them. We have inserted the Woo Product Grid element as well as the woof search onto the page. Inside Woo Product Grid element we have filtered down to just the"wine" category.
We are having two issues. Here is the live URL: https://alsdelivers.com/wine/
- Even through the page is only showing wine, the filter on the left is not registering that. It's still giving all available products and categories. Beer, Liquor, etc.
- The second issue is, whenever a filter is applied, instead of staying on this page and refreshing the product grid, it redirects to the main store page to generate the filtered results: https://alsdelivers.com/store/
Please advise. Thank you!
Quote from Pablo Borysenco on October 3, 2022, 11:49Hello
- Oh sure! My plugin does not have information about how you customize a third-party template. Please read docs - https://products-filter.com/shortcode/woof - To make the filter display items for a specific taxonomy, use the attribute: taxonomies
- This happens when the filter does not see template pages for displaying results. Please try to use [woof_products] - https://products-filter.com/shortcode/woof_products
Hello
- Oh sure! My plugin does not have information about how you customize a third-party template. Please read docs - https://products-filter.com/shortcode/woof - To make the filter display items for a specific taxonomy, use the attribute: taxonomies
- This happens when the filter does not see template pages for displaying results. Please try to use [woof_products] - https://products-filter.com/shortcode/woof_products
Quote from alexdumanski on October 4, 2022, 19:20So using the [woof_products] shortcode has fixed the original issues. Thank you! however it created another one. Can you please advise?
Now when we go to the page, the left hand column can be filtered down to Wine, and all the Products that are showing are Wine, and when we adjust the filter it all remains on the correct URL and displays correctly. Thank you!
The issue we have now is the sort no longer works. This is "Woo Sorting" element from Avada.
So here is the new page with the correct results/string: https://alsdelivers.com/wine/?swoof=1&product_cat=wine - The Sort By and Show isn't working with the [woof_products] shortcode. You can see it in action and working on this page when using the default Avada Woo Products Grid element - https://alsdelivers.com/store/
So using the [woof_products] shortcode has fixed the original issues. Thank you! however it created another one. Can you please advise?
Now when we go to the page, the left hand column can be filtered down to Wine, and all the Products that are showing are Wine, and when we adjust the filter it all remains on the correct URL and displays correctly. Thank you!
The issue we have now is the sort no longer works. This is"Woo Sorting" element from Avada.
So here is the new page with the correct results/string: https://alsdelivers.com/wine/?swoof=1&product_cat=wine - The Sort By and Show isn't working with the [woof_products] shortcode. You can see it in action and working on this page when using the default Avada Woo Products Grid element - https://alsdelivers.com/store/
Quote from Pablo Borysenco on October 5, 2022, 11:35Hello
About "sort by" - This is a new feature from Woocommerce - when there is a search query, sorting can only be by relevance
Pagination:
try in file - \wp-content\plugins\woocommerce-products-filter\index.php - add code - https://share.pluginus.net/image/i20221005093439.png
if (isset($_GET['product_count'])) {
$args['posts_per_page'] = $_GET['product_count'];
}
Hello
About"sort by" - This is a new feature from Woocommerce - when there is a search query, sorting can only be by relevance
Pagination:
try in file - \wp-content\plugins\woocommerce-products-filter\index.php - add code - https://share.pluginus.net/image/i20221005093439.png
if (isset($_GET['product_count'])) {
$args['posts_per_page'] = $_GET['product_count'];
}
Quote from alexdumanski on October 5, 2022, 19:25The code has been added but the sort is still not functioning. Please advise.
The code has been added but the sort is still not functioning. Please advise.
Quote from Pablo Borysenco on October 6, 2022, 10:24Hello
The code has been added but the sort is still not functioning - Of course! this is the code for per-page - https://c2n.me/4gNN9tj.jpg - https://share.pluginus.net/image/i20221006081713.png
About sorting - https://share.pluginus.net/image/i20221006081805.png You can in file - wp-content\plugins\woocommerce-products-filter\index.php - add this code - https://c2n.me/4gNNuw9.png
wc_set_loop_prop('is_search', false);
Hello
The code has been added but the sort is still not functioning - Of course! this is the code for per-page - https://c2n.me/4gNN9tj.jpg - https://share.pluginus.net/image/i20221006081713.png
About sorting - https://share.pluginus.net/image/i20221006081805.png You can in file - wp-content\plugins\woocommerce-products-filter\index.php - add this code - https://c2n.me/4gNNuw9.png
wc_set_loop_prop('is_search', false);