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('checkout / cart')-> getQuote()-> getItemsCount()のように。
私にお知らせください。
ありがとうございました。
処理状態の注文数のみを取得するには…
$processingOrdersCount = Mage::getModel('sales/order')->getCollection() ->addFilter('status', Mage_Sales_Model_Order::STATE_PROCESSING) ->getSize() ;
これは、あなたが探している「ステータス」フィールドで注文コレクションをロードする同様の質問です。
Magentoでstatus='Complete'の注文IDを取得する