Follow by Email

Tuesday, August 31, 2010

Create module in magento

Magento have a wonderful extension which can help you to create a module it is "magento-community/Netz98_ModuleCreator"
link :-

Monday, August 30, 2010

Configure your Contact Us page

If you wan to configure your contact us page then go to the your admin-> system -> configuration
Now change default store view from “Current Configuration Scope:” drop down.
And then general-> contacts
Now change your “Send Emails To” .
after doing this configure all mail will send your selected mail if any one want to contact you by your site

Tuesday, August 17, 2010

Change Magento database information

If you want to change the MySQL database connection details such as hostname, database name, username etc of a Magento Store, you need to edit the following file for that. If its in a web server, connect using a FTP software and download the file, edit it and upload back.




<username><![CDATA[DB username]]></username>

<password><![CDATA[DB pwd]]></password>

<dbname><![CDATA[DB name]]></dbname>



Monday, August 16, 2010

Install magento in wamp server

Put your magento folder into www directory in wamp server, run it from your browser, after the installation when you see two button to go back end and front end. Then go to the "app\code\core\Mage\Core\Model\Session\Abstract\Varien.php"
Comment as follow
// session cookie params
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath()/*,
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()*/

/*if (!$cookieParams['httponly']) {
if (!$cookieParams['secure']) {
if (!$cookieParams['domain']) {

if (isset($cookieParams['domain'])) {
$cookieParams['domain'] = $cookie->getDomain();

Now click on back end. then it will work.

Saturday, August 14, 2010

Delete your Newsletter Template,Queue

If you want to delete Newsletter Template,Queue then go to the database where you install your magento database open this table "newsletter_problem", "newsletter_queue", "newsletter_queue_link", "newsletter_queue_store_link", "newsletter_template". Delete all the record from this table. now you can see from your admin panel your all Template and all queue have gone.

Setting Newsletter in Your Magento Store

If you want to create a newsletter and want to send it to your all subscriber then you have to follow some basic stapes
  1. Go to your admin -> Newsletter -> Newsletter Templates -> Add new templates
  2. Now fill up your newsletter form and make it save by clicking Save Template
  3. Now you can see your template in tabulate form, now select Queue newsletter from action drop down
  4. Now set the date and time from "Queue Date Start" and save newsletter
  5. Now go to the Magento Admin -> System -> Configuration -> Customers -> Newsletter. You need to make enable for only those customers who are agreeing to receive newsletter
  6. Unsubscription Email Sender -> Customer support
  7. Unsubscription Email Template -> default Template from local
  8. Success Email Template -> default Template from local
  9. Success Email Sender -> general contact
  10. Confirmation Email Sender -> Customer support
  11. Confirmation Email Template -> default Template from local
  12. Now from here, Expand the Subscription Options area and change the Need to Confirm field value to Yes.
  13. click on save config
  14. Now go to the Admin => system => configuration => system => ‘Cron (Scheduled Tasks)’ tab.
  15. Generate schedules every -> 60, Schedule ahead for -> 1, Missed if not run within -> 60, History cleanup every -> 120, Success history lifetime -> 120, Failure history lifetime -> 120
  16. click on save config
  17. Now open this file "app\code\core\Mage\Newsletter\etc\config.xml"
  18. <crontab>
    <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
    <schedule><cron_expr>0,15,30,45 * * * *</cron_expr></schedule>
  19. Now type in the address bar of your browser ""