Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Product Search – excluding a product

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Product Search – excluding a product

Tagged: results, search

  • This topic has 4 replies, 2 voices, and was last updated 13 years, 1 month ago by jonnys.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 31, 2012 at 4:04 pm #5974
    jonnys
    Member

    Hi – is it possible to exclude a product from product search results other than deleting the product.

    I have some products that I want to stop selling for a bit, but don’t want to delete the products and then have to re-load all the details. Just a way to stop them showing in the search results.

    Is that possible?

    Many thanks

    Jonathan

    http://www.yopo.co.uk

    April 1, 2012 at 4:30 am #43584
    admin
    Keymaster

    You can use the category to apply filter and achieve a similar result. For following example will give you a good idea of what I mean:

    1) Create a category called “Active Products” (lets say the ID of this category is 1)

    2) Edit your product(s) and add this category to all of your products that you are currently selling. You can add as many category as you want to a particular product

    3) Now, use the following search shortcode for your product search option. It will exclude any products that are not in the “Active Products” category (category ID 1):

    [wp_eStore_product_search category_id=1]

    This way when you want to stop a product from appearing in the search result, you simply take it out of the “Active Products” category (no need to delete the product).

    April 1, 2012 at 9:19 am #43585
    jonnys
    Member

    Hi – great got that working- thank you – just had to download your latest version of the extra shortcodes plug.

    I don’t suppose there is a way to batch edit the category membership of products – I have 300 to do…

    One last thing is there a way to edit the name “Product Search” to “Music Search”?

    Thanks again,

    Joanthan

    April 2, 2012 at 12:41 am #43586
    admin
    Keymaster

    No, there is no batch edit option. Open the “eStore-extra-shortcodes.php” field and search for the following:

    Product Search

    Once you find it change it with the following:

    Music Searc

    April 2, 2012 at 7:39 am #43587
    jonnys
    Member

    Great

    Thank you

    J

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ