Posts

Showing posts from August, 2015

Magento Cookbook - Teaching Old Dogs New Tricks, Easy Hacks to Make Magento Work Right

Magento Tricks and Hacks For Developers In this posting, we will show you some cool and interesting hacks for developers.  These all require SSH access and R/W access to the Magento PHP code.  We have been developing custom templates and shopping carts and this is how we do it.    Magento pricing for standard carts is available here. 1) Dump Session Variables into your Magento 1column view (Magento 1.9 Trick) Put this into your 1-column phtml template file. ... <div class="col-main">       <pre> <?php var_dump($_SESSION); ?> </pre>       <?php echo $this->getChildHtml('global_messages') ?>       <?php echo $this->getChildHtml('content') ?> </div> ... ... <pre> <?php var_dump($_SESSION["checkout"]); ?> </pre> <hr> <pre> <?php var_dump($_SESSION["core"]["messages"]); ?> </pre> <hr> <pre...