Guest User

Untitled

a guest
Jan 24th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <?php echo $this->getMessagesBlock()->toHtml() ?>
  2.  
  3. <?php
  4. $debugObject = Mage::getSingleton('checkout/session')->getMessages();
  5.  
  6. echo "Last added message: '" . $debugObject->getLastAddedMessage() . "' <br><br>";
  7. echo "getErrors: " . var_dump($debugObject->getErrors()) . " <br><br>";
  8.  
  9. Last added message: ''
  10.  
  11. array(0) { } getErrors:
  12.  
  13. array(1) { [0]=> object(Mage_Core_Model_Message_Error)#137 (6) { ["_type":protected]=> string(5) "error" ["_code":protected]=> string(39) "Ungültiger Benutzername oder Passwort." ["_class":protected]=> string(0) "" ["_method":protected]=> string(0) "" ["_identifier":protected]=> NULL ["_isSticky":protected]=> bool(false) } } getErrors:
Add Comment
Please, Sign In to add comment