Back to Top

Update Product Status (ENABLED/DISABLED) In Magento Programmatically

Updated 29 February 2024

$productid=10;// product id which you want to change status;

$storeid=1 // your store id 0 is for default store id
Mage::getModel('catalog/product_status')->updateProductStatus($productid, $storeid, Mage_Catalog_Model_Product_Status::STATUS_ENABLED);

Searching for an experienced
Magento Company ?
Find out More
. . .

Leave a Comment

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


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home