I want to duplicate configurable Products with their associated products programmatically in Magento. Can anyone help regarding this.
Magento-1.9 Configurable Product – Duplicate Configurable Products Programmatically
configurable-productduplicatemagento-1.9
Best Answer
You can try this code.
But after duplication of product, new product will be disabled and without SKU. You can enable it and generate SKU for new product added this code:
EDIT
Try this code for copying attributes (it save attributes):
And after all operations with new product add this code:
Hope this helps