Timeline for How to display getPayableTo() outside of checkmo.phtml
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 21, 2015 at 21:12 | history | edited | Fabian Blechschmidt | CC BY-SA 3.0 |
formatting
|
Nov 12, 2014 at 20:02 | history | edited | DomainSoil | CC BY-SA 3.0 |
cleaned up code, added information
|
Nov 12, 2014 at 16:31 | answer | added | David Manners | timeline score: 1 | |
Nov 12, 2014 at 16:25 | history | edited | DomainSoil | CC BY-SA 3.0 |
added information
|
Nov 12, 2014 at 16:18 | comment | added | DomainSoil |
I realize that I wasn't as clear as I should have been.. When I said in my initial post that adding the code "breaks the site" - what I should have said is that the html renders to the point of that code - then stops. So everything above that code renders. Now, trying the code above from @AmitBera does actually BREAK the site. Here is the top line from the report: a:5:{i:0;s:46:"Cannot retrieve the payment info model object.";i:1;s:6172:"#0 /var/www/html/dev.website/app/code/core/Mage/Payment/Block/Info.php(55): Mage::throwException('Cannot retrieve...')
|
|
Nov 12, 2014 at 1:59 | comment | added | Amit Bera♦ | $this->getLayout()->createBlock('payment/info_checkmo')->getPayableTo(); | |
Nov 11, 2014 at 23:32 | comment | added | Toon Van Dooren | Check your logs and add the error to your question please. | |
Nov 11, 2014 at 23:05 | history | asked | DomainSoil | CC BY-SA 3.0 |