Forums / Templates, Stylesheets, Page Layout / problem searching products in Admin

problem searching products in Admin

Locked

Views: 4,679

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
24 Dec 2006, 2:08 PM
#21
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

problem searching products in Admin

I am having the same problem, it seem to be everyone that has EP installed, The products that i uploaded with EP doesn't show up when i use the search in admin. I tried what AJ suguested and the search brings back products not related to the word i use. for example i use the word "smart" and the resulst where: RCA DRC8295 DVD Recorder/VCR Combo and Samsung SPP2040 Photo Color Printer

Those where the only two items that came up. Anyone have a fix yet?

I have another problem not sure if it is related or not when i did the upgrade from 1.3.5 to 1.3.6 per the Doc instructions i still get the message that there is a updated version 1.3.6 download here. when i first login to admin. That is fine i have it set to tell me that so i know when there are bug fixes and update. But at the footer in admin just below the zencart logo i have this message :"E-Commerce Engine Copyright © 2003 Zen Cart™ Zen Cart v1.3.5/v1.3.6"

I am nto sure why i followed the instructions correctly. Any ideas?

Lextechs.com Powered By ZenCart

24 Dec 2006, 2:28 PM
#22
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: problem searching products in Admin

If you are able, check and see that all of your products have a products_id in the products_description and products_to_categories tables ...

Then see that the categories_id that they are matched to are in the categories and categories_description table ...

You can check this in phpMyAdmin ...

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!]
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!

28 Dec 2006, 12:40 AM
#23
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

Re: problem searching products in Admin

Ajeh:

If you are able, check and see that all of your products have a products_id in the products_description and products_to_categories tables ...

Then see that the categories_id that they are matched to are in the categories and categories_description table ...

You can check this in phpMyAdmin ...

Every thing checks out ok, in those table you said to look in

Lextechs.com Powered By ZenCart

28 Dec 2006, 3:47 AM
#24
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: problem searching products in Admin

In the Admin on the Categories/Products this is the main criteria for the search on Products:

                                and (
                                pd.products_name like '%" . zen_db_input($_GET['search']) . "%'
                                or pd.products_description like '%" . zen_db_input($_GET['search']) . "%'
                                or p.products_model like '%" . zen_db_input($_GET['search']) . "%')" .
                                $order_by);

If you were to go into phpMyAdmin and search the products_name and products_description using the Like%...% you should pull up the same products (excluding the products_model located in the products table) ...

Try a search on something in your Zen Cart Admin that is a products_name ... now do the same in phpMyAdmin ... how many records come up in each?

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!]
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!

20 Jan 2007, 4:33 PM
#25
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: problem searching products in Admin

Thorght I'd jump in on this one, as I'm having the same problem too! :(

The strange thing is, I think this all occured after the 1.3.7 upgrade. I started out on 1.3.0.2 then upgraded the 1.3.6 and then 1.3.7.

All products were added to my database using Easy Populate (when I was running 1.3.0.2. Everything (the search from admin and so on) was working fine until the 1.3.7 upgrade.

Like other users, I can search for products manually created, but not those imported using EP. However, the problem did not exist in 1.3.0.2 or 1.3.6.

Has anyone found a solution for this yet?

My Contributions: Zen Lightbox | Best Sellers Reloaded

20 Jan 2007, 4:57 PM
#26
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: problem searching products in Admin

You are missing the field:
master_categories_id

in the products table ...

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!]
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!

20 Jan 2007, 5:02 PM
#27
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: problem searching products in Admin

Ajeh,

I've just gone to Admin | Store Manager and run Reset ALL Products Master Categories ID.

It appears to have sorted the problem. Maybe it added the missing field?

Is this a 'safe' fix? Just want to be sure before running on my live store.

My Contributions: Zen Lightbox | Best Sellers Reloaded

20 Jan 2007, 5:06 PM
#28
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: problem searching products in Admin

The master_categories_id is maintained throught the admin regardless of adding, editing, moving, copying products etc. by the Zen Cart Admin ...

Unfortunately, many import programs do not address this field nor the products_price_sorter ... so they are not current and up to date ...

If you do not use Linked Products, you can just run the Update in the Tools ... Store Manager for:

1 Master Categories ID

2 Products Price Sorter

in that order ...

If you do have Linked Products ... be aware that what this does is select the first categories_id in the products_to_categories table and assign it as the master_categories_id ...

Usually this is correct ... but should be checked ...

NOTE: Always backup your database before running these types of changes as well as on a regular basis ...

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!]
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!

20 Jan 2007, 5:07 PM
#29
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: problem searching products in Admin

Excellent... thanks for the help! :)

My Contributions: Zen Lightbox | Best Sellers Reloaded

24 Jan 2007, 9:37 PM
#30
cfe avatar

cfe

New Zenner

Join Date:
Jun 2006
Posts:
86
Plugin Contributions:
0

Re: problem searching products in Admin

Also worked for me, much thanks!

31 Jan 2007, 8:52 AM
#31
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: problem searching products in Admin

Hi I just want to say excellent!! This worked for me too. I upgraded an OSCommerce site to latest Zencart. I wrote some SQL scripts to copy the products info and many other tables over. Then the Search didn't work.

So this was the reason and now it is working.

Thanks

1 Feb 2007, 5:10 PM
#32
llamagod avatar

llamagod

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: problem searching products in Admin

Alex and Ajeh,

thanks - i ran into this same issue. this fix, well, fixed it!

1 Feb 2007, 7:12 PM
#33
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: problem searching products in Admin

Thanks for the update that the missing master_categories_id was the problem ... :smile:

Gotta watch those import programs and make sure that all of your data gets added/edited correctly ... :cool:

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!]
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!