• Resolved nicobach1

    (@nicobach1)


    When I use the WooCommerce Layered Nav Filter, it displays the wrong count.

    If you take a look at my site, the Mazda filter show’s a count of 1, but when you click on the filter, there are actually 3.

    I have tried clearing the transients cache and the recount terms options, but no luck. any help is greatly appreciated

    https://wordpress.org/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am having the same problem.

    Did you found a solution?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    WC > Tools > System status to flush the counts. 2.6 will have an improved widget to prevent the need for this.

    Thanks for the help.

    This helped somewhat. The counts for the visible atributes are correct now, but some of the attributes are not shown in the navigation.

    Eg – http://bit.ly/1U3cwwO
    On the page you can see the two shoe models available, but the count in the navigation is 0.
    Any ideas on this?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    If thats the brands extension, raise a ticket with support.

    No the problem was with the default WordPress Layered nav filter.

    I found that the cached product_ids were not updated.
    I deleted all rows with meta_key LIKE ‘product_ids’ from my wp_woocommerce_termmeta and the problem was solved.

    By the way. My solution was just a workaround to fix the situation for that one time, the cached values are not updated.

    $_products_in_term = wc_get_term_product_ids( $term->term_id, $taxonomy );
    in class-wc-widget-layered-nav.php will always return the same values.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce Layered Nav Filter Displays wrong count’ is closed to new replies.