by Shashi Dhar Kumar | Dec 1, 2014 | Magento, Programming
Go to customer accountcontroller find _welcomeCustomer method. file location must be like app/code/core/Mage/Customer/controllers/AccountController.php Search for protected function _successProcessRegistration(Mage_Customer_Model_Customer $customer) function at...
by Shashi Dhar Kumar | Nov 25, 2014 | Magento, Programming
In one of my Magento projects, on development environment everything was working fine but when the site was live “Invoice” print in magento admin[Admin>>Sales>>Orders>>Invoice>>Open Invoice>>Click print button] was giving Fatal error: Declaration of...
by Shashi Dhar Kumar | Sep 28, 2014 | Magento, Programming
I have problem to show the EMI price for particular product in bundled product in Magento. So I have tried to go through the google and found some interesting forum post to get the bundle product’s price. <?php $product_id = YOUR_PRODUCT_ID; $bundled_product...
by Shashi Dhar Kumar | Jun 9, 2014 | Magento, MySQL, Open-Source, PhpMyAdmin, Programming
Moving magento site from subdomain to main domain (and vice-versa) is quite easy. And you can do it by two different way and you will feel it is more easy when you go through how to do it. Process I: You need to do as per following steps to achieve this: STEP 1: Go to...
by Shashi Dhar Kumar | Jun 3, 2014 | Magento, Programming
Please find the template file that is responsible for displaying a list of products on the page. This file can be here: app/design/frontend/base/default/template/catalog/product/list.phtml or app/design/frontend/default/[your theme]/template/catalog/product/list.phtml...
by Shashi Dhar Kumar | May 30, 2014 | MySQL, Programming
It is possible to reset the auto increment value of a MySQL auto incremental primary key to a new value, either higher or lower than what it would otherwise next be. This post looks at how to do this using a MySQL query and also with phpMyAdmin. The following example...