$product = Mage::getModel('catalog/product')->load(""""Here product ID"""");
echo $product->getStatus();
//1 = Enabled
//2 = Disabled
This is the blog for getting Idea regarding PHP, Magento, jQuery and JavaScript for Customization.
Copyright © 2016 PHP SOLUTIONS
No comments:
Post a Comment