• Resolved efquintana

    (@efquintana)


    Hello

    I’m creating a store with a fairly extensive and varied catalog and I’m encountering a problem when configuring filters by attribute.

    To start, filters are displayed on all store screens, whether they show products or not. Regardless of whether they can be applied or not.

    For example, on a category page, where there is only a list of subcategories, the filters continue to be displayed. To me, that doesn’t make sense.

    It also doesn’t make sense for a certain filter to be displayed in a product category where it is not used.

    For example, I sell bicycle wheels and saddles.
    On the wheels I have a diameter attribute that I use as a filter because it is useful for users.
    Why show that filter in the saddles category if they don’t use the diameter attribute?

    On the other hand, and more worrying. The filters show absolutely all the options in the store even if they do not exist among the products displayed.

    For example, in the store I have 12 brands of products in total. But in a specific product category, only 3 of them are used. The filter still shows the store’s 12 brands.

    The same happens with any other attribute, so instead of facilitating navigation what is achieved is a disastrous user experience where using any filter is more of a lottery than a tool to reduce options.

    I know I’m doing something wrong, because I remember stores where this is not how it works. But I can’t find the solution although I’m sure it’s right under my nose.

    In the filter block I don’t see any configuration that modifies this behavior and neither do I see any in the WooCommerce settings.

    How can I get the filters to work consistently and not the way they are?

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @efquintana!

    Thank you for reaching out.

    I understand you have an issue with filters; they are not working as you expected, correct?

    To know the issue better, kindly provide a URL to your site so we can further check. If you aren’t comfortable posting it here, you can use an online service like Pastebin.

    Also, we would like to know more about your setup; for that, kindly provide us your?System Status;?you can find it via WooCommerce > Status. Select ‘Get system report’, then ‘Copy for support’, and paste your response here.?

    Looking forward to your response.

    Cheers!

    Thread Starter efquintana

    (@efquintana)

    It’s not that I don’t feel comfortable, it’s that the website is not accessible because it is under construction.

    In any case, you have the domain in the State itself:

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://sp-gymnastics.com
    Site address (URL): https://sp-gymnastics.com
    WC Version: 8.6.1
    REST API Version: ? 8.6.1
    WC Blocks Version: ? 11.8.0-dev
    Action Scheduler Version: ? 3.7.1
    Log Directory Writable: ?
    WP Version: 6.4.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 8.1.27
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.87.0
    OpenSSL/1.1.1w
    
    SUHOSIN Installed: –
    MySQL Version: 10.11.7-MariaDB-cll-lve
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 8.6.1
    WC Database Prefix: XXX_
    Tama?o total de la base de datos: 27.38MB
    Tama?o de los datos de la base de datos: 24.45MB
    Tama?o del índice de la base de datos: 2.93MB
    XXX_woocommerce_sessions: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_woocommerce_api_keys: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_woocommerce_attribute_taxonomies: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_woocommerce_downloadable_product_permissions: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
    XXX_woocommerce_order_items: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_woocommerce_order_itemmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_woocommerce_tax_rates: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
    XXX_woocommerce_tax_rate_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_woocommerce_shipping_zones: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_woocommerce_shipping_zone_locations: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_woocommerce_shipping_zone_methods: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_woocommerce_payment_tokens: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_woocommerce_payment_tokenmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_woocommerce_log: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_actionscheduler_actions: Datos: 0.22MB + índice: 0.22MB + Motor InnoDB
    XXX_actionscheduler_claims: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_actionscheduler_groups: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_actionscheduler_logs: Datos: 0.17MB + índice: 0.13MB + Motor InnoDB
    XXX_commentmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_comments: Datos: 0.02MB + índice: 0.09MB + Motor InnoDB
    XXX_duplicator_packages: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_links: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_options: Datos: 2.41MB + índice: 0.08MB + Motor InnoDB
    XXX_postmeta: Datos: 0.34MB + índice: 0.30MB + Motor InnoDB
    XXX_posts: Datos: 0.19MB + índice: 0.06MB + Motor InnoDB
    XXX_post_smtp_logmeta: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_post_smtp_logs: Datos: 1.52MB + índice: 0.00MB + Motor InnoDB
    XXX_termmeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_terms: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_term_relationships: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_term_taxonomy: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_usermeta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_users: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
    XXX_wcpdf_invoice_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wcpdf_invoice_number_2023: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wcpdf_packing_slip_number: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wc_admin_notes: Datos: 0.08MB + índice: 0.00MB + Motor InnoDB
    XXX_wc_admin_note_actions: Datos: 0.06MB + índice: 0.02MB + Motor InnoDB
    XXX_wc_category_lookup: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wc_customer_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_download_log: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_orders: Datos: 0.02MB + índice: 0.13MB + Motor InnoDB
    XXX_wc_orders_meta: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_order_addresses: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
    XXX_wc_order_coupon_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_order_operational_data: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_order_product_lookup: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
    XXX_wc_order_stats: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
    XXX_wc_order_tax_lookup: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_wc_product_attributes_lookup: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wc_product_download_directories: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wc_product_meta_lookup: Datos: 0.08MB + índice: 0.09MB + Motor InnoDB
    XXX_wc_rate_limits: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wc_reserved_stock: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wc_tax_rate_classes: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wc_webhooks: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wfblockediplog: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfblocks7: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
    XXX_wfconfig: Datos: 0.52MB + índice: 0.00MB + Motor InnoDB
    XXX_wfcrawlers: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wffilechanges: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wffilemods: Datos: 11.52MB + índice: 0.00MB + Motor InnoDB
    XXX_wfhits: Datos: 0.13MB + índice: 0.05MB + Motor InnoDB
    XXX_wfhoover: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wfissues: Datos: 0.06MB + índice: 0.06MB + Motor InnoDB
    XXX_wfknownfilelist: Datos: 5.52MB + índice: 0.00MB + Motor InnoDB
    XXX_wflivetraffichuman: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wflocs: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wflogins: Datos: 0.05MB + índice: 0.03MB + Motor InnoDB
    XXX_wfls_2fa_secrets: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_wfls_role_counts: Datos: 0.00MB + índice: 0.00MB + Motor MEMORY
    XXX_wfls_settings: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfnotifications: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfpendingissues: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
    XXX_wfreversecache: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfsecurityevents: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfsnipcache: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
    XXX_wfstatus: Datos: 0.16MB + índice: 0.11MB + Motor InnoDB
    XXX_wftrafficrates: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_wfwaffailures: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
    XXX_yoast_indexable: Datos: 0.08MB + índice: 0.09MB + Motor InnoDB
    XXX_yoast_indexable_hierarchy: Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
    XXX_yoast_migrations: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
    XXX_yoast_primary_term: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    XXX_yoast_seo_links: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
    
    ### Post Type Counts ###
    
    attachment: 21
    custom_css: 1
    customize_changeset: 9
    nav_menu_item: 48
    page: 14
    post: 2
    product: 17
    product_variation: 153
    revision: 22
    wp_global_styles: 1
    wp_template: 2
    wp_template_part: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (14) ###
    
    Contact Form 7: por Takayuki Miyoshi – 5.9
    Cookies and Content Security Policy: por Jonk @ Follow me Darling – 2.23
    DTWTL Snippets: por Eva F. Quintana – 2.0
    Duplicator: por Duplicator – 1.5.8.1
    Maintenance: por WebFactory Ltd – 4.08
    Post SMTP: por Post SMTP – 2.8.11
    Scriptless Social Sharing: por Robin Cornett – 3.2.4
    Simple Lightbox: por Archetyped – 2.9.3
    UpdraftPlus - Backup/Restore: por UpdraftPlus.Com
    DavidAnderson – 1.24.1
    
    Cumplimiento del IVA de la UE/Reino Unido para WooCommerce (gratis): por David Anderson – 1.29.11
    PDF Invoices & Packing Slips for WooCommerce: por WP Overnight – 3.7.7
    WooCommerce: por Automattic – 8.6.1
    Wordfence Security: por Wordfence – 7.11.3
    Yoast SEO: por Equipo Yoast – 22.2
    
    ### Inactive Plugins (8) ###
    
    Broken Link Checker: por WPMU DEV – 2.2.4
    CAPTCHA 4WP: por Melapress – 7.4.1
    Payment Plugins for PayPal WooCommerce: por Payment Plugins
    [email protected] – 1.0.45
    
    Payment Plugins for Stripe WooCommerce: por Payment Plugins
    [email protected] – 3.3.59
    
    Site Kit by Google: por Google – 1.121.0
    WP-Optimize - Clean, Compress, Cache: por David Anderson
    Ruhani Rabin
    Team Updraft – 3.3.0
    
    WP Fastest Cache: por Emre Vona – 1.2.3
    Yet Another Related Posts Plugin (YARPP): por YARPP – 5.30.10
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    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 Woo.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Base de la tienda: #44 - /tienda-gimnasia-ritmica/
    Carrito: #45 - /tienda-gimnasia-ritmica/carrito/
    Finalizar compra: #46 - /tienda-gimnasia-ritmica/finalizar-compra/
    Mi cuenta: #47 - /tienda-gimnasia-ritmica/mi-cuenta/
    Términos y condiciones: #54 - /legal/condiciones-generales-de-contratacion/
    
    ### Theme ###
    
    Name: Dololo
    Version: 1.1.5
    Author URL: https://anarieldesign.com/
    Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
    te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    product-linked
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: customize-store
    minified-js
    new-product-management-experience
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-03-07 18:05:06 +01:00
    Options: ?
    Notes: 127
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Completo: 583
    Oldest: 2024-02-05 23:00:34 +0100
    Newest: 2024-03-06 21:05:59 +0100
    
    Fallida: 9
    Oldest: 2023-02-20 08:24:10 +0100
    Newest: 2023-12-13 07:05:09 +0100
    
    Pendiente: 3
    Oldest: 2024-03-07 20:56:06 +0100
    Newest: 2025-01-01 00:00:01 +0100
    
    
    ### Status report information ###
    
    Generated at: 2024-03-06 21:12:08 +01:00
    
    • This reply was modified 1 year ago by efquintana.

    Hi @efquintana!

    Thank you for sending the system report status. I can’t find anything related to the issue in it, unfortunately.

    I want to know the source of this filter behavior; this could be a conflict between your theme or a plugin. As a next step, let’s try the following:

    Please perform a conflict test by temporarily switching your theme back to Storefront, deactivating all plugins except WooCommerce, and then checking if the filters are working as expected.

    If that solves it, reactivate the theme first and check again. Then, reactivate your other plugins, testing after each until you find the one causing conflict.

    If you cannot perform a conflict test on your live site, we recommend creating a staging site using the WP Staging plugin.

    You can find a more detailed explanation of how to do a conflict test here: https://woo.com/document/how-to-test-for-conflicts/

    Let us know how that goes for you!

    Thread Starter efquintana

    (@efquintana)

    With all plugins disabled (except WooCommerce, of course) and Storefront enabled, the behavior is exactly the same ???♀?

    Filters that display on categories where that attribute does not apply.

    Filters that show options that have products in other categories but not in the current one.

    As I said, a lottery more than a tool ??

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @efquintana,

    I was able to replicate this issue, and I see filters being shown even when they are not applicable. In this case, though I can recommend working with a third-party solution that could work dynamically and show only applicable filters depending on the content you’re seeing, you can do a quick search here: https://www.ads-software.com/plugins/search/woocommerce+product+filter/, there are great options you can consider to filter everything!

    I hope this helps so far!
    -OP

    Thread Starter efquintana

    (@efquintana)

    In other words, instead of getting better, it gets worse.

    Now it’s necessary to install an additional plugin for something that could previously be done with an already integrated widget. ???♀?

    Hey, @efquintana!

    I understand how having this options by default could be beneficial.

    We appreciate your suggestions and are always looking for ways to improve our products and services, and input from users like you is invaluable.

    We have a website where you can submit feature requests and upvote the ones other people submitted and you like. You can check that out here.

    Please let us know if there’s anything else we can do to help or if you have further questions.

    Have a wonderful day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Filters that always show with all options’ is closed to new replies.