Magento product Programatically update

<?php
umask(0);
require 'app/Mage.php';
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
$product = Mage::getModel('catalog/product')->load(7864);
echo $product->getName();
$product->setName("New pro");
$product->save();

Share this

Related Posts

Previous
Next Post »

Pageviews from the past week