WooCommerce - excelling eCommerce
Restrict search from displaying products in a category (1 post)

  1. daledude
    Posted 2 years ago #

    Is there a way to restrict the WooCommerce search from showing products in a category?

    I have a category called 'Specials', and I have modified my templates to, instead of handling products in the category the usual way (go to category, click on product thumbnail, be taken to product's single page), display the product thumbnail, title, and price on the category's page, with no single page links for each. (We don't use the shopping cart functions, it's only a catalog)

    We don't want the Specials products to show up in search, because they are limited time featured, and when you type in the product name in search and click on the result, it takes you to it's single product page... which we aren't using for that category. Basically we don't ever want our Specials products to be displayed in the single-product.php template, only archive-template-specials.php. I hope I've explained this well enough. :)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.