Post by fastuning » Mon Nov 05, 2012 11:06 pm

Hi,

I have create some products only for test and i dont want to show to anyone.

The product isnt in any category, but if you search some terms, can be appear.

I want to disable that products for the search, maybe creating some product black list for the open cart search engine.

its possible?

Newbie

Posts

Joined
Mon Nov 05, 2012 5:09 pm

Post by ecgod.com » Tue Nov 06, 2012 1:37 am

Just make some changes in the search SQL script

Please click here to donate us if my solutions help.
ECGOD Development Center
http://www.ecgod.com
sale@ecgod.com
Robert


User avatar
Active Member

Posts

Joined
Wed Sep 05, 2012 8:36 pm

Post by Avvici » Tue Nov 06, 2012 2:52 am

fastuning wrote:Hi,

I have create some products only for test and i dont want to show to anyone.

The product isnt in any category, but if you search some terms, can be appear.

I want to disable that products for the search, maybe creating some product black list for the open cart search engine.

its possible?
If it is just ONE product then just set up a != in the control. No need to touch the model query.

Something like :

Code: Select all

if($product_id != "56"){
Results will show all products "but" that product.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by fastuning » Thu Nov 08, 2012 12:44 am

how can we do to all product of a specific category? For example create a category called: HIDDEN ITEMS and insert there many products that are activate but i dont want to appear in the search

Newbie

Posts

Joined
Mon Nov 05, 2012 5:09 pm

Post by Avvici » Thu Nov 08, 2012 2:03 am

Why not just NOT assign those products to that category in the ADMIN? Seems much easier lol.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC
Who is online

Users browsing this forum: No registered users and 18 guests