Tricks

Magento Smart Trick of The Day: Dynamic Home Page

Today there we were discussing one of the project specific functionality. Customer wants to show different homepage for logged in and logged out users. And the were a lot of ideas on rewriting controller, helper or model. However, in the end, the smartest idea was to realize all this logic without any rewrite. Idea So as all of you know, the identifier of the home page is stored in configuration...

Read More

if (false) ? to be || ! to be.

Go to http://svn.magentocommerce.com/source/branches/1.4/app/design/frontend/base/default/template/checkout/onepage/shipping.phtml and search <?php if(false): ?> <div> <label for="shipping:email"><em>*</em><?php echo $this->__('Email Address') ?></label> <div> <input type="text" name="shipping[email]"...

Read More