Posted on 2 Comments

Magento Actions

The Magento E-commerce system is an exciting open source alternative to systems like OS Commerce. The learning curve isn’t really a curve at all. The learning curve is more like a sheer, glassy. polished mountain face shooting straight up into the heavens. However, plenty of documentation exists, Google overfloweth with links to blog post, and IRC support is available on Freenode #magento (although I believe most questions go to /dev/null so expect to feel a little like you are talking to yourself but like your $200/hr psychologist will explain, sometimes that’s all we need).

As I work through understanding how Magento handles layouts, I struggle to find a simple list of actions and perhaps I’m trying to hard. So far the is this:

addJs
addCss
addLink
addItemRender
unsetChild
setHeaderTitle
setTemplate

Ah! I found a reference! See page 7 of Magento Layout Files Reference (see also same document, different format).

Update: The Magento wiki has this defined under Designing for Magento.

2 thoughts on “Magento Actions

  1. Yea, there is a designer guide (although it will not help you with programming work). There is also a PDF version of it, just google it 🙂

    Lack of official developer documentation is Magento’s biggest problem.

  2. Absolutely! It feels a little like walking through the jungle with maps scribbled on napkins by other people you’ve passed in the woods.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.