Tuesday , December 12 2017
Home >> All tutorial >> Update Product Status (ENABLED/DISABLED) In Magento Programmatically

Update Product Status (ENABLED/DISABLED) In Magento Programmatically

  1. $productid=10;// product id which you want to change status;
  2.  
  3. $storeid=1 // your store id 0 is for default store id
  4. Mage::getModel(‘catalog/product_status’)->updateProductStatus($productid, $storeid, Mage_Catalog_Model_Product_Status::STATUS_ENABLED);

We also contribute great content of Magento Download for FREE (all versions)

DON'T MISS THE CHANCE!

magento download

About Champ

Leave a Reply

Your email address will not be published. Required fields are marked *

Heap | Mobile and Web Analytics