Hervé Guétin, Magento specialist

  • Agile Flow

    Version Control for agile teams. Read more...
  • Manage admin fields display with the "Form element dependencies mapper"

    It is sometimes required to show or hide some fields in admin forms based on the state of other fields. One may wish, for instance, to show the "B" field only if the "A" field is set to "Yes". One may also like to show "C" if "B" is set to "Yes" and "B" is set to "No". Magento gives us a tool to do that easily : the "Form element dependencies mapper" Read more...
  • Allow customers to cancel their orders

    Some businesses (or nice merchands) may want to let their customers cancel their orders directly from their account area. But this features always come with limitations and rules (leadtime since order date, some shipments that happened...). Here is a tutorial (with its sample module) that shows how to do such a thing. Read more...
  • Another way to add a color picker in Magento system configuration

    Whereas one may find on the web some other ways to add a color picker in Magento system configuration, I would like to share another idea which is, in my opinion, more complete as it allows the use of a more beautiful color picker and teaches how to create a custom input type and how to define additional form validations. Read more...
  • Add a button to admin product edit page thanks to a good-trick observer

    It is sometimes required to add buttons at the top of admin forms. The easy-but-not-so-good solution is to make a rewrite. The easy-and-good-trick elegant solution is to use an observer. Here is an example for the product edit page. Read more...
  • Make mass operations on collections thanks to Mage_Core_Model_Resource_Iterator

    Make mass operations on collections almost always means foreach, models loading and other stuff that make our code heavier and often resources consuming. Magento gives us a class that allows better code. Read more...
  • Top Links revealed

    Links in the Magento header (topLinks) are often little used or used the wrong way and numerous developers prefer creating a template file. While this causes more blocks to generate for Magento, it may lower code readibility and ease of maintenance. Whereas topLinks have some wonderful hidden features. Read more...
  • Change totals design in cart and checkout

    Totals in Magento are rather basic and on several projects it is required to change their design, sometimes even their data. Here is how to do that. Read more...
  • Varnish, Magento and Turpentine. Optimization.

    Turpentine is an extension developed by the hosting company Nexcess. It enables the use of Varnish with Magento in a very efficient way. But I think that it may need some little improvement... Read more...
  • Use specific method in Source Models

    While using select inputs in system.xml modules' files, it is required to define the "source_model" node. Magento will then search, by default, the "toOptionArray()" method of the class defined in "source_model". But it is possible to tell Magento to use another method. Read more...