Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
すべての製品コレクションを取得するため に以下のコードを使用しているアクティブな製品のみを移行する必要があります
Mage::getModel('catalog/product')->getCollection();
コードの上のstatus = enabledフォームのみをフィルタリングする方法を教えてください
試す
Mage::getModel('catalog/product')->getCollection()->addAttributeToFilter('status', 1)