Support » Plugin: OnSale Page for WooCommerce » Exclude Specific Category?

  • Is there any way to exclude products from a specific category from showing up on the sale page? I have thousands of holiday products which are on sale, but I don’t want to display them on the sale page because they are currently out of season.

Viewing 1 replies (of 1 total)
  • Plugin Author wpgenie2

    (@wpgenie2)

    hi,
    can you try put this code in your theme functions.php and change array( 12 ) with ids of categories that you need to remove

    something prevents me to put code in post so here is link to pastebin

    https://pastebin.com/fqGbG3g1

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.