Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / Products that are not in a category - can't find them to delete them

Products that are not in a category - can't find them to delete them

Started by ksr01 on 23 Mar 2014, 6:48 PM · Views: 2,002

Results 1 to 13 of 13
23 Mar 2014, 6:48 PM
#1
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0

Post #1 by ksr01

I have a new Zen-Cart set up, installed via Softaculous, no plugins or addons. It is set up with a Template Monster Template that came with some sample products. I went through the product/categories manager, and deleted their products and categories and made my own. I still have 4 products hovering around that aren't in any category. I can see them on the store, I can leave reviews for them, but I can't access them through the admin panel to delete them because they don't seem to be in any category - and I only have 14 items or so, it's not like I could miss them.

Please advise if there's an easy way to track down these 4 floating mysteries and delete them. Everything else is working fine, I'm just stuck with 4 fishing reels in a store that doesn't sell them.

Let me know if there's any more information you need, this is my first post, and I've only been working with ZenCart software for a few weeks.

23 Mar 2014, 6:59 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

If you can see the 4 Products on your site, what is their URL?

Sounds like they are either missing/using incorrect entries in the products_to_categories table or missing master_categories_id or something similar ...

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!

23 Mar 2014, 7:03 PM
#3
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0
23 Mar 2014, 7:10 PM
#4
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0

Post #4 by ksr01

Edit - I don't even care if I can delete them, per se - I'd happily settle for hiding them from customers.

23 Mar 2014, 7:11 PM
#5
ajeh avatar

ajeh

Oba-san

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

Post #5 by ajeh

Could you peek in your Zen Cart Admin in the Catalog ... Categories/Products and see if you have a Category with the ID of 7?

If it is hard to find that, you can go to phpMyAdmin and search the two tables:
categories
categories_description

for the:
categories_id

that is set to 7 ...

If so ...

Next, go to phpMyAdmin and search the table:
products_to_categories

for the:
products_id

that would be 25, 26, 27 and 28 and see what their value for:
categories_id

or if they do not exist at all ...

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!

23 Mar 2014, 7:21 PM
#6
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0

Post #6 by ksr01

Took me a second to work that out, but I browsed those tables(they're short, no searching necessary) and you're right, there's no categories id set to 7, and no products ids set to 25,26,27 or 28. Am I taking my life in my hands editing them in?

23 Mar 2014, 7:28 PM
#7
ajeh avatar

ajeh

Oba-san

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

Post #7 by ajeh

Did you find in the two tables:
categories
categories_description

a categories_id 7?

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!

23 Mar 2014, 7:31 PM
#8
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0

Post #8 by ksr01

Ajeh:

Did you find in the two tables:
categories
categories_description

a categories_id 7?

I found both tables, but no categories_id 7

23 Mar 2014, 7:35 PM
#9
ajeh avatar

ajeh

Oba-san

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

Post #9 by ajeh

Okay ... let's get tricky ...

Go to your Zen Cart Admin and make a new Category for Junk ...

What is its categories_id?

Let's say it is 98 ...

Go in phpMyAdmin to the table:
products_to_categories

and add each of these Products with their products_id and the categories_id 98 ...

Now go to the Category you just made called Junk ... are these Products now in there?

If so, you can delete that new Category Junk, and it will delete both that Category Junk and those 4 products correctly ...

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!

23 Mar 2014, 7:43 PM
#10
ksr01 avatar

ksr01

New Zenner

Join Date:
Mar 2014
Location:
Manchester, New Hampshire, United States
Posts:
11
Plugin Contributions:
0

Post #10 by ksr01

That did it! Quick fix, thanks a lot, that was a huge help.

23 Mar 2014, 7:44 PM
#11
ajeh avatar

ajeh

Oba-san

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

Post #11 by ajeh

Do not forget to get rid of Category X as it now shows on your site ... :blink:

Glad that this is now working for you ... :smile:

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!

16 Sep 2014, 6:10 PM
#12
aei_dan avatar

aei_dan

New Zenner

Join Date:
Aug 2009
Location:
Tempe, Arizona
Posts:
11
Plugin Contributions:
0

Post #12 by aei_dan

Thanks for posting Ajeh. Your comment resolved my problem! Thank you much!

16 Sep 2014, 6:20 PM
#13
ajeh avatar

ajeh

Oba-san

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

Post #13 by ajeh

Thanks for the update that this was able to help you ...

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!