HOW TO OVERRIDE MAGENTO EVENT OBSERVER

Share
Posted on December 17th, 2014 | Posted by admin

We will have to override the Magento observers, when dealing with the extension’s conflicts or may have to disable or modify a part of some extension’s functionality. Basically, there is no major difference between the observer’s overriding and overriding of any other regular model. But sometimes we may face with issues while working with simple override.

Let’s see the following step by step instructions for Magento observer’s overriding.

We should pay attention to the naming.

Assume that we have some third party extension. It is named Xyz_Extension, and this extension has the following observer:

How to configure Magento to work with a new domain

Share
Posted on December 15th, 2014 | Posted by admin

There are two things you should do in order to configure Magento to work with a new domain:

Go to your cPanel > phpMyAdmin. Select your Magento database from the  left menu, find the table called core_config_data and click on it. Click the Browse tab and edit the first two fields:

web/unsecure/base_urlweb/secure/base_url

by clicking the pen icon in front of each of them. Replace your old domain name with your new one and click the Go button to save the change.

  • Clear the Magento cache.

Clean up things before Magento site launch: demos orders, bestsellers statistics and most viewed statistics

Share
Posted on December 12th, 2014 | Posted by admin

After developed a Magento site , someone may forgot some clean-up tasks and they wanna take the site to be launch as production store as soon as possible.

In shorten, you may want to cleanup dusting files and folders, reseting files’ permissions to prevent security holes, remove all testing content including orders, customers, etc.

But It is such a pain with files and folders permission changing or deleting the testing orders either.

Fortunately, there is a tool call “Magento Cleanup” will help you reset files permissions. What you need to do:

  1. Download Magento Cleanup Tool
  2. Unzip the zip file, upload magento-cleanup.php to the root directory where Magento is installed.
  1. Browse to http://yourdomain.com/magento/magento-cleanup.php (Assume that you install Magento in directory /www/magento/ )

How to set up the Magento Enterprise RMA system

Share
Posted on November 21st, 2014 | Posted by admin

Since version 1.11, Magento Enterprise Edition releases have included a RMA feature to help manage this process. The system supports tracking requests from when they are first created by a customer, all the way through to resolution. This post will look at how to set up and administer RMA requests from the admin panel, and will also detail a few shortcomings that will hopefully be improved in future releases.

How to set up the Magento Enterprise RMA system

Firstly, you need to customise the System Configuration settings:

  • Sales → Sales → RMA Settings
    • Enable RMA on FrontendIf this is set to Yes, all of the RMA functionality is displayed in the frontend. This includes a link on the view order screen of the my account and also the entry in the main my account navigation menu

How to change the Magento Admin URL path

Share
Posted on November 14th, 2014 | Posted by admin

One of our clients wanted to protect his Magento back-end admin url path from www.hisdomain.com/admin to www.hisdomain.com/storehq.

To change this we choose the hard coding way by editing the local.xml located in app/etc/local.xml replacing:

<admin>
<routers>
<adminhtml>
<args>
<frontName><![CDATA[admin]]></frontName>
</args>
</adminhtml>
</routers>
</admin>
Page 4 of 95« First...«23456»102030...Last »