Support » Plugin: WooCommerce » Problem with Filter by Attributes widget
Problem with Filter by Attributes widget
-
Hi everyone,
I’m using WooCommerce “Filter by Attributes” widget for a shop page and it seems the filter doesn’t work. The result shows the whole product again. I use Divi theme (blog post module, shows “Products”) to build the shop page. Is there a way to ‘connect’ the filter function with Divi so that the widget could work?
Thanks in advance.
-
Hello,
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Thank you for replying! Here’s the system report you mentioned.
### WordPress Environment ### WordPress address (URL): https://biblioteca.virtualtidbits.com Site address (URL): https://biblioteca.virtualtidbits.com WC Version: 5.2.2 REST API Version: ✔ 5.2.2 WC Blocks Version: ✔ 5.0.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 2.1.5 Log Directory Writable: ✔ WP Version: 5.7.1 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.16 PHP Post Max Size: 1 GB PHP Time Limit: 180 PHP Max Input Vars: 3000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 10.3.28-MariaDB-cll-lve Max Upload Size: 1 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.2.2 WC Database Prefix: wpbh_ Total Database Size: 8.24MB Database Data Size: 6.64MB Database Index Size: 1.60MB wpbh_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpbh_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpbh_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wpbh_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_aws_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_aws_index: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wpbh_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpbh_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_options: Data: 2.03MB + Index: 0.06MB + Engine InnoDB wpbh_postmeta: Data: 0.25MB + Index: 0.14MB + Engine InnoDB wpbh_posts: Data: 3.38MB + Index: 0.06MB + Engine InnoDB wpbh_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wpbh_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_um_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpbh_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpbh_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpbh_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpbh_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpbh_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpbh_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpbh_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpbh_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 33 cpt_staff_lst_item: 2 custom_css: 1 customize_changeset: 3 et_body_layout: 6 et_footer_layout: 1 et_header_layout: 1 et_pb_layout: 6 et_template: 19 et_theme_builder: 5 nav_menu_item: 52 page: 31 post: 4 product: 7 revision: 274 um_directory: 1 um_form: 3 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (9) ### Advanced Woo Search: by ILLID – 2.26 PublishPress Authors: by PublishPress – 3.13.1 Staff List: by abcFolio – 1.4.8 Themify - WooCommerce Product Filter: by Themify – 1.3.4 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.56 WooCommerce Blocks: by Automattic – 5.0.0 WooCommerce: by Automattic – 5.2.2 WP-PageNavi: by Lester 'GaMerZ' Chan – 2.93.4 WP User Avatar: by ProfilePress – 2.2.16 ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 4.1.9 Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.26 ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left 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: – ### WC Pages ### Shop base: #249 - /publicaciones/ Cart: #239 - /cart/ Checkout: #240 - /checkout/ My account: #241 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Divi Child Theme Version: 1.0.0 Author URL: https://divilife.com Child Theme: ✔ Parent Theme Name: Divi Parent Theme Version: 4.9.4 Parent Theme Author URL: http://www.elegantthemes.com WooCommerce Support: ✔ ### Templates ### Overrides: – ### Action Scheduler ### Complete: 12 Oldest: 2021-04-30 05:24:05 +0000 Newest: 2021-05-03 06:26:29 +0000 Pending: 1 Oldest: 2021-05-03 15:50:56 +0000 Newest: 2021-05-03 15:50:56 +0000 ### Status report information ### Generated at: 2021-05-03 14:31:53 +00:00
Hi again,
Could you also send me an example page URL that uses the “Filter by Attributes” widget?
Hi,
Please find the example page URL below.
https://biblioteca.virtualtidbits.com/publicaciones/The “Filter by Attributes” widget that I use is for “Published Year” and “Autores”
Hi,
Thank you for your reply. Can you please make sure that you have created global attributes under Products > Attributes, and that global attributes are added to products. If you manually add attributes to product individually, the Filter by attributes won’t work properly: https://docs.woocommerce.com/document/managing-product-taxonomies/#section-8
Hi,
I have the global attribute listed on Products > Attributes page and that I have added the attributes to the product.
Hi,
OK, let’s rule out any conflicts. Can you please temporarily switch your theme back to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict. You can find a more detailed explanation on how to do a conflict test here.
Hi,
Thank you for your help! The widget has been working smoothly.
Hi,
Thank you for the update. Glad to hear that the widget is working now. I’m marking this thread as resolved. If you have any further questions, please feel free to open a new topic.
- The topic ‘Problem with Filter by Attributes widget’ is closed to new replies.