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.
以下のコードについては、magentoでエラーメッセージセッションの設定を解除する必要があります。
Mage::getSingleton('core/session')->addError($message);
誰か助けてもらえますか?
次のコードを使用できるはずですが、すべてのメッセージが返され (エコーされません)、クリアされます。
Mage::getSingleton('core/session')->getMessages(true); // The true is for clearing them after loading them
これがあなたの質問に答えることを願っています。^_^