• Resolved francisjansen

    (@francisjansen)


    Hi,

    I created a filter for categories and attributes in the sidebar widget in our webshop. The category filter is working, but the attribute filter is not. The layout looks great, however, it doesn’t work when an attribute is selected. It still shows all products.

    Later, I tried using the plugin ‘Filter Everything — WooCoomerce Product & WordPress Filter’, which is now visible in the sidebar. But still, it gives the same effect. When an attribute is selected, the filter still shows all products.

    How can I make it work? The site is build with DIVI

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Roxy

    (@roxannestoltz)

    Hi @francisjansen ,

    Thanks for reaching out!

    I understand that when filtering products by attribute, it displays all products.

    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 tables

    If 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 problem

    If 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:

    – System Status: navigate to WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’.
    – Fatal errors: Share a copy of any fatal error log found under WooCommerce > Status > Logs

    Once 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
    
    Roxy

    (@roxannestoltz)

    Hi @foradsbg ,

    I understand that you are facing a similar issue.

    Kindly share your update and System Status report on your topic thread created here:

    https://wordpress.org/support/topic/product-filter-by-attribute-do-not-work/

    Please do not share any admin access credentials, as this is not allowed on the forums. This could pose a safety risk to your site, and it goes against the forums guidelines.

    Support will be continued for you on there 🙂

    Thanks!

    Hello. The same issue here. Clean install of WP 6.0.1 and WooCommerce 6.6.1.
    When I add the Filter block to the Sidebar, it shows all the filters in all the Product Categories 🙁

    Roxy

    (@roxannestoltz)

    Hi @laurpm ,

    Thanks for reaching out!

    I understand that you are facing a similar issue to the one reported in this thread?

    Since you’re not the person who originally started this topic, kindly start your own topic here. Support will be provided further there.

    Thank you 🙂

    Thread Starter francisjansen

    (@francisjansen)

    Thanks Roxanne for your response! I will try working on the steps you gave me. Hopefully there will be any success and the filters on http://www.eigenstroomopslaan.nl/shop can finally work

    Roxy

    (@roxannestoltz)

    Hi @francisjansen ,

    You are most welcome!

    Please let me know how this goes and if the issue is still present after performing the conflict test, please do share the System status report and any fatal error logs, as mentioned above.

    Thanks 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Filter for attributes in sidebar not working’ is closed to new replies.