Copying Products


https://forum.kartris.com/Topic2620.aspx
Print Topic | Close Window

By Roosker - Fri 29 Nov 2013
Hi,

I was wondering if there's a way to copy products? I'm developing a clothing shop and many of the products are similar - shoes, dresses and so on. Pretty much all of them are options products so I don't think I can create more versions. It would be great if I could just copy a product and then make some changes. I could write a DB routine to copy a product but would this also copy item options, attributes and so on?
By Paul - Fri 29 Nov 2013
It's possible to 'clone' a version - this can be used to create multiple versions under the same parent. Basically what it does is pre-fills the form for a new version with the values from an existing one.

We've considered this for products, but the difficulty as you mentioned is the number of records which make up a product. Attributes and options are not such an issue, since two products can share the same ones. But versions are more problematic - if you duplicated a product with 5 versions, we'd have to create those versions but they cannot have the same SKU (version codes) as these must be unique, so you'd have to either auto generate new ones give the user the opportunity to enter some. And then to set up this product, you'd have to edit the product and the versions.

It's worth looking at the Data Tool instead for populating your site. You can put your data onto a spreadsheet, easily copy and paste and change rows to create new similar products. Then run everything in in one go.
By Roosker - Wed 4 Dec 2013
Hi Paul, thanks for taking the time to answer. I've used shopping carts in the past where they generate a temporary SKU, copy-25 or similar and then I can change them myself. The version thing is new to me but I'll have a look and see if I can set up a routine to copy an item, it really would save a lot of time.