How can I get only those categories which has products on sale?

This topic has 2 replies, 2 voices, and was last updated 1 year, 5 months ago ago by Rose Tyler

  • Avatar: Farcela
    Farcela
    Participant
    September 15, 2022 at 13:16

    Hello,

    I’ve created a product category “sale” and every product that is on_sale
    is automatically assigned to the sale category. The problem is that on the sales page all categories are shown instead of only those that are on sale:
    https://prnt.sc/-CFa_4RCv5E_

    The filter section does show the correct values. My question is:How can I get only those categories which has products on sale?
    Home > Shop>Sale>[product category]

    Regards.

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 15, 2022 at 15:54

    Hello,

    Our theme or WooCommerce plugin does not have filter by category widget. There is only the Product categories list widget. If you need filter by categories you need to look for the third-party filter plugin that has such filer widget.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.