Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Chaning linked to duplicate

Chaning linked to duplicate

Locked

Views: 748

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
15 Jun 2010, 3:18 PM
#1
gtgderek avatar

gtgderek

New Zenner

Join Date:
Mar 2009
Posts:
36
Plugin Contributions:
0

Chaning linked to duplicate

Is there a way to do a mass change of all linked products in my catalog to just be duplicate listings and not linked listings?

I want to be able to do sales for a category, but if a product is linked, zencart will not let me apply a sale on items that linked in a category, unless i do link all the master categories / products. So I would like to just unlink all my products at once and make them duplicates.

I have about 700 products in my retail store and a good amount of them are linked. Would hate to unlink them all by hand.

Any advice would be great.

15 Jun 2010, 4:31 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Chaning linked to duplicate

No easy way to do this: linking products is done simply by adding entries in the products-to-categories table, while duplicating a product adds duplicate entries in the products, products-description and products-to-categories tables (and others if you have attributes on the products). It might be possible to write a custom script for the task, but that's the only way other than manually.