WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Show result excerpt of layered navigation filtering (3 posts)

  1. katootje
    Member
    Posted 1 year ago #

    hi,
    On my woocommerce website I like to add a top-line to my page to show a kind of excerpt of the layered navigation filtering.
    We have a lot of product and sometimes it's not clear that something is happening when using the layered navigation filtering.
    So I like to add a line just above the products which says how many products are within the filtering results and on which term of the attribute you are filtering. I have 3 attributes (theme, genre, age) which all containes several terms.
    So I like a line like:
    Found 46 products. You are filtering on X, Y, Z
    So I want to find out how I can display the number of products within this filtering and how to display the names of the terms the visitor is filtering with.

    Thanks in advance

    Karin

    http://wordpress.org/extend/plugins/woocommerce/

  2. katootje
    Member
    Posted 1 year ago #

    Okay, and then you dive into the code of the class-wc-widget-layered-nav.php and find code to show the active choses....to find out there is a widget that shows your choices... live can be far more easy than you think .

    So problem solved :)

  3. codenegar
    Member
    Posted 10 months ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic