Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Location
    France
    Posts
    158
    Plugin Contributions
    0

    help question Hidden restricted products

    Hello,

    I'd like some items to be found only by taping the complete title in the search box,..., or something similar...
    I did create a categorie that I did "disable" in which I did put some products that are "enable" ...in this way people who do not know about this items will not found them by searching through the categories since this categorie do not appear but if by any chance they tape part of the title of the item in the search box, they will foud it...
    help please ?!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hidden restricted products

    Do all of these Products that should not be found have the same master_categories_id ... if so, you could customize the code to exclude those products from the search based on the master_categories_id ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2009
    Location
    France
    Posts
    158
    Plugin Contributions
    0

    Default Re: Hidden restricted products

    Eeeeuuuhhhhh....and how do I do this ?

  4. #4
    Join Date
    Aug 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Hidden restricted products

    Hi, I would also like to know how to exclude a master category from the search results.

    I have an antique glass website, and I move products into a "SOLD" section once they have sold, so they can still be used for reference. I like people to be able to view them by browsing to the category, but it would be helpful if the sold items did not show up in search results.

    A simple bit of code excluding the products in the SOLD section would work perfectly.
    20th Century Glass - Antique & Collectable Glass Store

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Hidden restricted products

    You would need to customize the file:
    /includes/index_filters/default_filter.php

    and customize the SELECT statements to exclude the Products with that master_categories_id ...

    Or, you can exclude the Products with products_quantity < 1 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Products Restricted Zones Plugin
    By joeminer81 in forum Addon Shipping Modules
    Replies: 1
    Last Post: 27 Jan 2016, 05:41 PM
  2. v150 Different template for restricted products?
    By iaing in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 30 Jul 2012, 03:11 PM
  3. Coupon Not Applying To RESTRICTED Products
    By techiegirl in forum Setting Up Specials and SaleMaker
    Replies: 12
    Last Post: 19 Apr 2011, 11:43 PM
  4. Products Restricted to Certain Discount Group
    By impulse120 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 17 Mar 2011, 08:24 PM
  5. Products New Field/Restricted Access/Disable Payment
    By yakbuttertea in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 Mar 2009, 08:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR