Categories


Recent Posts


Archives


April, 2012 8

Can’t echo a Child Block?

If you’re having trouble with a call like echo $this->getChildHtml('foo'); returning an empty string, add the following debug code to your template var_dump(array_keys($this->_children)); This will print out all the children of the current block. If you don’t see the block you’re trying to echo above, that means [...]

astorm

The Magento API

I've been wanting to write about the Magento API for a long time, but it's one of those slippery topics that has no clean entry point. It's easy to talk about small slices of the API, or provide tricks for using the API methods

astorm