Home » Archive

Articles Archive for July 2016

Magento, Magento 2, Magento Extension »

[25 Jul 2016 | One Comment]

Auto Currency Switcher 2 is a currency switcher extension for Magento 2 which automatically switches store currency based on visitor’s IP address.
Auto Currency Switcher 2 extension tracks visitor’s IP address and automatically changes the store currency to the visitor’s location currency. Visitor can switch to his/her desired currency at any time.

Magento, Magento 2 »

[18 Jul 2016 | 3 Comments]

This article shows how you can create event observer in a custom module in Magento 2.
In Magento 2, there is a separate xml file where you can define your event observer. For frontend events, you need to write your code in app/code/YourCompany/YourModule/etc/frontend/events.xml and for admin events, you need to write event observer code in app/code/YourCompany/YourModule/etc/adminhtml/events.xml.
Remember that, you need to place your Observer class in app/code/YourCompany/YourModule/Observer/ directory.

Magento, Magento 2 »

[14 Jul 2016 | One Comment]

I am getting the following error while adding a new module to my Magento 2 installation and running the command on terminal php bin/magento setup:upgrade.
[InvalidArgumentException] There are no commands defined in the “setup” namespace

Magento »

[7 Jul 2016 | Comments Off on [SOLVED] Magento Fatal error: Call to a member function toOptionArray() on boolean includes/src/Mage_Adminhtml_Block_System_Config_Form.php]

This article provides a solution to the error occurred while accessing Payment methods section in Magento admin panel.
Problem: