Magento Redirect customer to last visit page

**Step 1.** *System > Configuration > Customers > Customer Configuration > Login Options* And turn “*Redirect Customer to Account Dashboard after Logging in*” to “**No**”. Magento will start to listen to that referrer parameter and put your customers back to the page they were on before they clicked “Login”. **Step 2.** In header.phtml if(!Mage::helper(‘customer’)->isLoggedIn() and 

Continue Reading…

PHP (Hypertext Preprocessor)

If you want to learn the basics of PHP, then you’ve come to the right place. The goal of this tutorial is to teach you the basics of PHP so that you can: Customize PHP scripts that you download, so that they better fit your needs. Begin to understand the working model of PHP, so 

Continue Reading…