Im making a module to import products from another system, but I cant find a way to actually save the product. This is what i have tried:
$new_product = Mage::getModel('catalog/product'); $productInfoData['sku'] = 'mySKU'; $productInfoData['price'] = '10'; $productInfoData['name'] = 'The name'; $productInfoData['status'] = 1; // then set product's general info to update $new_product->setData($productInfoData); // call save() method to save your product with updated data $new_product->save();
But this does not seem to work 🙁
Could anybody help me on the right track?