deal with 'non-admin area' warn
摘要:
We usually use the follow code to delete product in Magento$product = Mage::getSingleton('catalog/product')->load($productId);$product->delete();Of course, you are given a warn from magento. To solve this problem, you should add the follow code before and after delete Mage::register( 阅读全文
posted @ 2014-04-12 19:53 冯亮 阅读(167) 评论(0) 推荐(0) 编辑