Monthly Archives: June 2009

  • Magento Onepage Checkout, Quick But Not Dirty

    The Magento Onepage Checkout is a very special feature in Magento. Beyond the regular Model-Controller-View structure, the Onepage MCV is quite a hybrid of PHP and JavaScript.

    The first place to look is of course the Mage_Checkout_OnepageController, this is pretty much the bread and butter of many nice little tricks.

    The index action together with the corresponding block and template file are indeed very important here.  Indeed, our first treat today lies in the block file (Checkout/Block/Onepage.php):

    $stepCodes = array('billing', 'shipping', 'shipping_method', 'payment',  'review');
    [/codesyntax]

    Continue reading

1 Item(s)

Back to top