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 / mixed catagories mix products because of LINKed?

mixed catagories mix products because of LINKed?

Started by looper on 21 Oct 2015, 4:16 PM · Views: 1,435

Results 1 to 5 of 5
21 Oct 2015, 4:16 PM
#1
looper avatar

looper

New Zenner

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

Post #1 by looper

ok, my head hurts on this one. i can not get these products separated. somewhere i must have linkled them or used subcatagories. clicking on the X does not delete. using EP4.0 and 1.54 vs. See pic attached
thanks!!

MBP loaded
Zen Cart 1.5.6
XAMPP 7.3.1 Includes: Apache 2.4.37, MariaDB 10.1.37, PHP 7.3.1, phpMyAdmin 4.8.4,

21 Oct 2015, 5:33 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,911
Plugin Contributions:
23

Post #2 by dbltoe

First of all, edit the product you are trying to delete and see if the Product Master Category drop down has a valid entry.

If deleting...
If the products are linked, you should get a menu on the right that lets you know the Product Master Category and and other categories the product is linked to. It's best to delete from the Product Master Category if you are trying to delete the entire item.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Oct 2015, 5:43 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,151
Plugin Contributions:
56

Post #3 by lat9

You could also try installing the Linked Products Report (https://www.zen-cart.com/downloads.php?do=file&id=1896%29; that will tell you in one report where any/all of your products with invalid master_categories_id values live.

21 Oct 2015, 6:48 PM
#4
looper avatar

looper

New Zenner

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

Post #4 by looper

dbltoe:

First of all, edit the product you are trying to delete and see if the Product Master Category drop down has a valid entry.

If deleting...
If the products are linked, you should get a menu on the right that lets you know the Product Master Category and and other categories the product is linked to. It's best to delete from the Product Master Category if you are trying to delete the entire item.

ok thanks, i ended up just deleting. but after using EP4.0 it uploads in duplicate. It doubles my products that i upload?

Scratch that. Figured it out

MBP loaded
Zen Cart 1.5.6
XAMPP 7.3.1 Includes: Apache 2.4.37, MariaDB 10.1.37, PHP 7.3.1, phpMyAdmin 4.8.4,

21 Oct 2015, 6:54 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #5 by mc12345678

Looper:

ok, my head hurts on this one. i can not get these products separated. somewhere i must have linkled them or used subcatagories. clicking on the X does not delete. using EP4.0 and 1.54 vs. See pic attached
thanks!!

Well, looks like others stepped in before I had an opportunity to provide this post... Anyways....

Yes by the image provided it does appear that the items have been linked (assigned to more than one category with a master_categories_id of one of the multiple categories to which assigned.)

EP4 can cause product to be linked if the category is changed for a product being uploaded. Version 4.0.31 (still awaiting anyone else's feedback on its operation before setting as the active version) available from http://github.com/mc12345678 has a product status of 7 available to move a product from it's currently assigned master category to the category identified in the data row. While this can take a few iterations (rows of data) to clean up a series of linked items, it is one method that can be used to remove the linking.

Prod 1: in Category 3 and category 4, master category is set to 3, but only want product to exist in category 4.

import a row of data where category 4 is the product's category, assign a status of 7 and the primary category of the product will be reassigned to category 4 and the entry for category 3 of that product will be removed...

Now assuming Prod 2 is setup the same, but the outcome is desired to be different: in Category 3 and category 4, master category is set to 3, but only want product to exist in category 3 then:
import 2 rows of data: first is where category 4 is the product's category, assign a status of 7 and the primary category of the product will be reassigned to category 4 and the entry for category 3 of that product will be removed.
The second row of data should be set where category 3 is the product's category, assign a status of 7 and the primary category of the product will be reassigned to category 3 and the entry for category 4 of that product will be removed.

This process leaves only one category assigned to the product and that category is the master category...

As to the X not doing anything, would need further information as the x (delete) should offer options about deletion.

Another thing that can help is to use the multiple category tool which can be accessed when clicking on the copy button for the product. Look at the bottom of the right side window for a related button. Once clicked a window should appear that shows all of the categories to which the product is assigned and a dropdown menu to switch to another product to perform the same type of revision. In doing this modification the product must still be assigned to a master category, so removal of the product from one category may be removing it from its master category requiring reassignment of the product to an alternate master category....

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...