Zen Cart Logo
Forums / General Questions / Can purchase item that has had category disabled....

Can purchase item that has had category disabled....

Views: 876

Results 1 to 10 of 10
3 Jul 2013, 7:30 PM
#1
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Can purchase item that has had category disabled....

If an item has been created recently and the category that the item is in is disabled.... you can still purchase that item through the "New Products" tab....

3 Jul 2013, 7:35 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can purchase item that has had category disabled....

Right.

If the product is not disabled, you can still purchase it.

The ability to add-to-cart is product-based, not category-based.

3 Jul 2013, 7:36 PM
#3
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

To specify.... I created the items first.... then disabled the categories afterward.... not certain if it makes a difference... I caught this because I disabled all categories for testing purposes...

3 Jul 2013, 7:37 PM
#4
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

Ok, sorry, used to older version where you disable category and all items got disabled... so this doesn't happen now?

Thank you!

3 Jul 2013, 7:39 PM
#5
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

Ok, one more thing.... I ONLY see the new products then after I have disabled all categories? Is that working correctly? When I do a search it will not pull up the items coming up in the "New products" ... nothing comes up in searches... I am unable to see the products that are not new...

3 Jul 2013, 7:43 PM
#6
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

When I look at the "Categories" menu "Products - Top" all categories quantities show 0 of XXX

3 Jul 2013, 7:57 PM
#7
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

Ok, there may be another issue here.... these particular items I have on existing live site but cannot find them in the master category.... so there is a different problem I don't know what it is...

The items are active on live and on dev site....

3 Jul 2013, 8:05 PM
#8
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

Can you give me idea why not showing in master category (cannot find in admin search either) and I will look to see if I can fix? I can pull up by putting the products_id number into html of regular item.... save but still cannot get to come up...

3 Jul 2013, 9:59 PM
#9
mwray avatar

mwray

New Zenner

Join Date:
May 2005
Posts:
10
Plugin Contributions:
0

Re: Can purchase item that has had category disabled....

Okay, this issue goes back to the problem I first mentioned (in previous post).... these items do not have a row in the "products_to_categories" table...

4 Jul 2013, 1:16 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can purchase item that has had category disabled....

How exactly did you manage to get no record in the products_to_categories table?

Are you using some external service/plugin to inject your products/categories?

In fact, please go back to step 1: Explain ALL the ways in which your site differs from original Zen Cart code. Plugins, code changes, customizations, external services, PHP version, everything. (That's why we ask for it in the Posting Tips that shows up above the Reply box when you click Reply)

EDIT: Moving this out of the Bug Reports area, because this doesn't appear to be a ZC bug. More likely it's a result of data tampering or using external tools with bad data.*