I have a situation where I need to insert (duplicate) 50 different products in an e-commerce site and it seems to make more sense doing it this way than doing through the Virtuemart interface. I have a client that wants to show 50 stone sizes and instead of just putting in all the stones in once and using an option to choose one of the four sizes to order, he wants to show 50 stones in a 7mm category, 50 stones in a 8mm category, 50 stones in a 10mm category, 50 stones in a 12mm category. I advised against it but he is insistent. So now since I do not want to enter 150 stones (I have already entered the 50) back into the database using the VM admin, I figured there is some way to insert a copy each of the stones back into the database using a query. So basically there will be four of each kind and then I will go back and add 7mm, 8mm, 10mm, and 12mm to the end of the names to show the difference.
I am not a database guy and my sql knowledge is very limited. Perhaps I am asking too much her ebut I am looking for the exact code i would need to put into the sql query box in phpMySQL
Cheers,
Houston