Magento Tips: How To Set Up Order Status Tracking For Non-Logged-In Users In Magento

February 28, 2013 Aleksander Tretjak Tips&Tricks
Magento Tips: How To Set Up Order Status Tracking For Non-Logged-In Users In Magento

Default Magento settings allow users to track their order status only directly from their user account.  But sometimes it is required to allow users to get updated information about the location and status of the order without the necessity to log into the account, just by entering the order reference number and email address on a website.

To implement this, it is possible to extend the standard helper Mage_Shipping_Helper_Data and add the verification of the following conditions:

In addition create a separate page with this functionality.

github-logo1 (1)

Download Order Tracking from GitHub



20 comments

  1. i got this
    There has been an error processing your request
    Module “Belvg_Ordertracking” requires module “Belvg_All”.

    Trace:
    #0 E:\xampp\htdocs\indisgn\Package\Quickstart\app\code\core\Mage\Core\Model\Config.php(849): Mage::throwException(‘Module “Belvg_O…’)
    #1 E:\xampp\htdocs\indisgn\Package\Quickstart\app\code\core\Mage\Core\Model\Config.php(812): Mage_Core_Model_Config->_sortModuleDepends(Array)
    #2 E:\xampp\htdocs\indisgn\Package\Quickstart\app\code\core\Mage\Core\Model\Config.php(315): Mage_Core_Model_Config->_loadDeclaredModules()
    #3 E:\xampp\htdocs\indisgn\Package\Quickstart\app\code\core\Mage\Core\Model\App.php(414): Mage_Core_Model_Config->loadModules()
    #4 E:\xampp\htdocs\indisgn\Package\Quickstart\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
    #5 E:\xampp\htdocs\indisgn\Package\Quickstart\app\Mage.php(684): Mage_Core_Model_App->run(Array)
    #6 E:\xampp\htdocs\indisgn\Package\Quickstart\index.php(87): Mage::run(”, ‘store’)
    #7 {main}

  2. johnson,

    I have updated the archive, please download it one more time the error should be solved.

  3. Hi please help me! I tried installing this, then I couldn’t access the admin configuration, I removed the files now I can’t access the admin panel, I get following error:

    Warning: include(Belvg/All/Model/Observer.php) [function.include]: failed to open stream: No such file or directory in /home/domain/public_html/lib/Varien/Autoload.php on line 93
    Trace:
    #0 /home/domain/public_html/lib/Varien/Autoload.php(93): mageCoreErrorHandler(2, ‘include(Belvg/A…’, ‘/home/domain/p…’, 93, Array)
    #1 /home/domain/public_html/lib/Varien/Autoload.php(93): Varien_Autoload::autoload()
    #2 [internal function]: Varien_Autoload->autoload(‘Belvg_All_Model…’)
    #3 [internal function]: spl_autoload_call(‘Belvg_All_Model…’)
    #4 /home/domain/public_html/app/code/core/Mage/Core/Model/Config.php(1084): class_exists(‘Belvg_All_Model…’)
    #5 /home/domain/public_html/app/Mage.php(319): Mage_Core_Model_Config->getModelInstance(‘belvgall/observ…’, Array)
    #6 /home/domain/public_html/app/Mage.php(333): Mage::getModel(‘belvgall/observ…’, Array)
    #7 /home/domain/public_html/app/code/core/Mage/Core/Model/App.php(1238): Mage::getSingleton(‘belvgall/observ…’)
    #8 /home/domain/public_html/app/Mage.php(303): Mage_Core_Model_App->dispatchEvent(‘controller_acti…’, Array)
    #9 /home/domain/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(454): Mage::dispatchEvent(‘controller_acti…’, Array)
    #10 /home/domain/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(130): Mage_Core_Controller_Varien_Action->preDispatch()
    #11 /home/domain/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(365): Mage_Adminhtml_Controller_Action->preDispatch()
    #12 /home/domain/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(‘index’)
    #13 /home/domain/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
    #14 /home/domain/public_html/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
    #15 /home/domain/public_html/index.php(76): Mage::run(‘domain’, ‘website’)
    #16 {main}

    Please help me!!

  4. JD,

    Maybe you need to clean the cache via FTP access. You can also rename the cache folder into cache_old. It is also possible that the code compilation is turned on in this case you need to access via ssh to upgrade compiled files to the shell folder in the root of the site.

  5. I uploaded the files from Github to the app folder on my Magento CE v1.9.1.0 site. My question is what is the url to the page that would have the order tracking? I tried going to
    http://mydomain.com/ordertracking/tracking/index/ however that brings me to a 404 ?
    I am using a theme (not sure if that matters). But I copied the files that where in the app/design/frontend/base/default into my app/design/frontend/My_Theme/default/ directory.
    Not sure if that makes a difference.

    Any suggestions?
    thanks!!

  6. Jason,

    You also need to enable the module in Configuration in Magento admin panel.

  7. Hi,
    I tried to install this module but its not getting activated. When i try to enable this module, its giving me an error of 404.

  8. Vineet,

    You need to log out and log in again into the admin panel after the installation.

  9. Hi,

    I given a correct order number and email id but showing this message only

    Tracking Number(s) Not Found!
    Tracking number not found.

    how to fix this one .. please share to me

  10. hi

    i given a correct order number and email ,but showing the error message how to fix that issues please share me ….@Aleksander Tretjak

  11. Hi,

    I given a correct order number and email id but showing this message only

    Tracking Number(s) Not Found!
    Tracking number not found.

    how to fix this one .. please share to me

  12. I given a correct order number and email id but showing this message only

    Tracking Number(s) Not Found!
    Tracking number not found.

Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *