Product filter by attribute do not work
-
Hello,
Every time when i try to filter my products by attribute i get the following message: “No products were found matching your selection.” , you can see and check the issue on the following page https://new6.yoursitebg.com/shop/ .
Can someone help me?
Thank you in advance!
The page I need help with: [log in to see the link]
-
Hi @foradsbg ,
Thanks for reaching out!
I understand that when filtering products by attribute, you receive the following message: “No products were found matching your selection.”
I have gone to your site and am able to replicate the issue, as the message display regardless of my criteria selection for items that have those attributes, as seen in the screenshot below:
https://snipboard.io/iMLX4P.jpg
As a first step, please could you navigate to WooCommerce > Status > Tools and do the following to see if it makes any difference:
– Clear WooCommerce transients
– Clear expired transients
– Recount terms
– Regenerate Product lookup tablesIf that makes no difference, I would recommend performing a full conflict test to rule out any theme/plugin conflicts. The best way to determine this is to:
– Temporarily switch your theme to Storefront
– Disable all plugins except for WooCommerce
– Repeat the action that is causing the problemIf you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.
Please see the below documentation for a more detailed explanation of how to do a conflict test here:
https://docs.woocommerce.com/document/how-to-test-for-conflicts
If the issue is still present after performing the conflict test, please could you share a copy of the following:
1. System Status: navigate to WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’.
2. Fatal errors: Share a copy of any fatal error log found under WooCommerce > Status > LogsOnce you have these, you can share them in your response here.
Thanks!
Hello,
I tried everything mentioned above, but unfortunately without success.
The needed logs are below, i couldn’t find fatal error logs.
If needed i also can prove admin access to the WordPress?
### WordPress Environment ### WordPress address (URL): https://new6.yoursitebg.com Site address (URL): https://new6.yoursitebg.com WC Version: 6.7.0 REST API Version: ✔ 6.7.0 WC Blocks Version: ✔ 7.8.3 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.33 PHP Post Max Size: 256 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.84.0 OpenSSL/1.1.1q SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.25-MariaDB Max Upload Size: 200 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.6.1 WC Database Prefix: wpdv_ Total Database Size: 3.61MB Database Data Size: 3.35MB Database Index Size: 0.26MB wpdv_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_actionscheduler_actions: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wpdv_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpdv_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_options: Data: 2.78MB + Index: 0.04MB + Engine MyISAM wpdv_postmeta: Data: 0.12MB + Index: 0.03MB + Engine MyISAM wpdv_posts: Data: 0.34MB + Index: 0.02MB + Engine MyISAM wpdv_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpdv_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpdv_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpdv_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpdv_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 47 custom_css: 2 customize_changeset: 8 nav_menu_item: 11 page: 17 post: 2 product: 6 revision: 15 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (4) ### Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 2.4.12 Kadence Starter Templates: by Kadence WP – 1.2.14 WooCommerce: by Automattic – 6.7.0 WordPress Importer: by wordpressdotorg – 0.7 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: BGN (лв.) Currency Position: right_space Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ✔ ### WC Pages ### Shop base: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 4.1.1 Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ✔ Next scheduled: 2022-07-13 18:46:29 +00:00 Options: ✔ Notes: 37 Onboarding: completed ### Action Scheduler ### Complete: 140 Oldest: 2022-07-12 18:51:35 +0000 Newest: 2022-07-13 16:11:34 +0000 Pending: 2 Oldest: 2022-07-13 18:46:40 +0000 Newest: 2022-07-19 18:46:37 +0000 ### Status report information ### Generated at: 2022-07-13 16:15:34 +00:00
Hi @foradsbg ,
Thanks for providing the System status report!
WC Database Version: 6.6.1
Firstly, I am able to see that your WC Database does not match the WC core version. As a next step, please update your WooCommerce Database to match the core version. This can be done via WooCommerce > Status > Tools > Update database. Below is more detail documentation on this:
https://woocommerce.com/document/how-to-update-woocommerce/#woocommerce-data-update-notice
PHP Version: 7.3.33
Next, I can see that your WordPress site does not meet the minimum requirements, which could cause plugins (possibly the core WooCommerce plugin) to not function as expected. The minimum requirement for PHP Version is 7.4 and above.
Please refer to the WooCommerce server recommendations below.
https://woocommerce.com/document/server-requirements/Please ensure that you have a good backup of your full site and database in place before doing the updates, so that, should something go wrong, you are able to easily restore your site to a functioning state. Most hosting providers have this included in the subscription however, you may also consider using a service such as Jetpack, or a plugin like UpdraftPlus.
Please check to see if the update makes any difference to the issue you are experiencing. If not, please could you clear all site and browser cache and see if the issue still persists, as this may be caused by caching:
https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress
Please let me know how this goes!
Hello Roxanne,
Thank you for your help, but the issue still persist, the new log is attached bellow.
What else can I try?
### WordPress Environment ### WordPress address (URL): https://new6.yoursitebg.com Site address (URL): https://new6.yoursitebg.com WC Version: 6.7.0 REST API Version: ✔ 6.7.0 WC Blocks Version: ✔ 7.8.3 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 256 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.84.0 OpenSSL/1.1.1q SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.25-MariaDB Max Upload Size: 200 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.7.0 WC Database Prefix: wpdv_ Total Database Size: 3.61MB Database Data Size: 3.35MB Database Index Size: 0.26MB wpdv_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_actionscheduler_actions: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wpdv_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wpdv_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_options: Data: 2.78MB + Index: 0.04MB + Engine MyISAM wpdv_postmeta: Data: 0.12MB + Index: 0.03MB + Engine MyISAM wpdv_posts: Data: 0.34MB + Index: 0.02MB + Engine MyISAM wpdv_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpdv_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wpdv_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_usermeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wpdv_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wpdv_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_customer_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_product_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wpdv_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wpdv_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 47 custom_css: 2 customize_changeset: 8 nav_menu_item: 11 page: 17 post: 2 product: 6 revision: 15 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (4) ### Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 2.4.12 Kadence Starter Templates: by Kadence WP – 1.2.14 WooCommerce: by Automattic – 6.7.0 WordPress Importer: by wordpressdotorg – 0.7 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: BGN (лв.) Currency Position: right_space Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ✔ ### WC Pages ### Shop base: #6 - /shop/ Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 4.1.1 Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ✔ Next scheduled: 2022-07-14 18:46:29 +00:00 Options: ✔ Notes: 41 Onboarding: completed ### Action Scheduler ### Complete: 145 Oldest: 2022-07-12 18:51:35 +0000 Newest: 2022-07-14 16:42:55 +0000 Pending: 2 Oldest: 2022-07-14 19:24:30 +0000 Newest: 2022-07-19 18:46:37 +0000 ### Status report information ### Generated at: 2022-07-14 16:43:54 +00:00
Hey @foradsbg
Thank you for sharing your updated status report.
However, I noticed that you still have some active plugins. Often this kind of problem is usually caused by a conflict with another plugin; could you confirm that you did a complete conflict test.
The best way to determine this is to:- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.`
Thanks!
I tried also without plugins…
Having similar issues.
Install Classic Widgets https://wordpress.org/plugins/classic-widgets/ as a temporary solution and activate the filters from the Widgets menu.
The thing is that in Woo 6.5.1 the filters work..- This reply was modified 1 year, 9 months ago by laurlau.
Hi @foradsbg
Could you go back to WooCommerce > Status > Tools, and try regenerating the product attributes lookup table to see if that helps?
Link to image: https://snipboard.io/Cj4ufM.jpg
@laurpm – please create a new ticket so we can take a look at your issue separately: https://wordpress.org/support/plugin/woocommerce/#new-topic-0
MayKato woo-hc, i tried this a lot of time, but there is no difference ….
Hi @foradsbg,
Can you confirm the attributes actually show the correct product count in Products > Attributes > [Attribute name]?
We recommend using https://snipboard.io to share a screenshot of that page – please follow the instructions, then paste the URL in this thread. It works with Chrome, Firefox, Safari, and Edge browsers.
@laurpm thank you for opening a new topic – we’ll be helping you there 🙂
Thanks.
Yes, everything seems fine.
Hello,
Thank you for sending over the screenshot.
Hmm…I don’t see anything that could be causing your issue…except that your site still seems to be using the Kedance theme, yet your system status indicates that the Storefront theme is in use.At this point, creating a staging/clone site may be a good idea. If your host doesn’t offer that functionality, you can create a staging site using a plugin called WP Staging: https://wordpress.org/plugins/wp-staging/
You can then have only WooCommerce and the Storefront theme active, and double-check if the issue persists.
Yesterday I tried with Storefront theme also and the result was the same.
Hey @foradsbg
Do you have any custom code added to your site? Could you try disabling them or moving them to the code snippet plugin for the purpose of testing any conflicts?
Hope this helps!
- The topic ‘Product filter by attribute do not work’ is closed to new replies.