• Resolved rudigitaldesign

    (@rudigitaldesign)


    Hi,

    I am setting up an online shop with 2 different shop pages. My aim to create filters for both these pages.

    Is it possible to conditionally show the product count based on the products shown on a certain page. At the moment both filters shows both product counts for both pages which I do not want.

    Any insight on this would be greatly appreciated.

    Thanks.

    Resolved – Explanation:

    This has now been solved.

    For anyone that would like to replicate this:

    Use this shortcode for 1 page: [woof is_ajax=1 taxonomies=product_cat:X].
    Replace X with your category ID.

    You can go ahead and use the same shortcode on your second page, again replacing the X with your second category ID.

    Ensure that both your product listings on each page have their appropriate category selected so the filters can work cleanly with your product listings.

    Finally, to enable the dynamic count for your products for each page please ensure that the ‘Dynamic reount’ option is selected as ‘Yes’ within Woocommerce > Product Filter > Options.

    Great product!

    • This topic was modified 5 years, 8 months ago by rudigitaldesign. Reason: Self resolved with explanation
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘2 Filters for 2 Pages’ is closed to new replies.