We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    • Magento 1.9 set “Use default value” for product images in admin using script

      In magento 1.9 multiple store product images are not showing the default base image.  You can check when going into a specific store view in the image settings Use default value is not checked. Here I give you script for set that settings for all product:…

      READ MORE
    • How to create System.xml configuration in Magento 2?

      Today, we are going to see how to create system.xml, step-by-step. Step 1: Create System.xml We can do it by creating a system.xml file in the app/code/MageMonkeys/HelloWorld/etc/adminhtml/ directory. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <tab id="magemonkeys" translate="label" sortOrder="10"> <label>MageMonkeys</label> </tab> <section id="helloworld"…

      READ MORE
    • How to create admin menu in Magento 2?

      To create admin menu in Magento 2, you need to create  a menu.xml file in the app/code/MageMonkeys/HelloWorld/etc/adminhtml/ directory. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="MageMonkeys_HelloWorld::helloworld" title="Hello World" module="MageMonkeys_HelloWorld" sortOrder="51" resource="MageMonkeys_HelloWorld::helloworld"/> <add id="MageMonkeys_HelloWorld::post" title="Manage Posts" module="MageMonkeys_HelloWorld" sortOrder="10" action="magemonkeys_helloworld/post" resource="MageMonkeys_HelloWorld::post" parent="MageMonkeys_HelloWorld::helloworld"/> <add id="MageMonkeys_HelloWorld::hello_configuration" title="Configuration" module="MageMonkeys_HelloWorld"…

      READ MORE
    • How to set/modify quote object in Magento?

      There are two ways by which you can achieve this. 1. Using observer concept. class Vendor_Namespace_Model_Observer { public function customfunction($observer){ try { $item = $observer->getEvent()->getQuoteItem(); $item->setData(‘customvariable’, ‘somevaue’); $item->save(); return $this; } catch (Exception $e) { echo $e->getMessage(); } } } 2. Another…

      READ MORE
    • Magento 2 is not allowing special characters like ä in eMail subject

      While doing a code in Magento, you might have met with the problem where special characters like ä were not properly displayed. Today we are going to talk about this problem and it's solution. We faced same situation as shown in screen shot.…

      READ MORE
    • Add Custom Category Attribute Programmatically – Magento 2

      Step 1 ) Create file InstallData.php creating a  InstallData.php file in the app/code/MageMonkeys/HelloWorld/Setup/ directory. <?php namespace MageMonkeysHelloWorldSetup; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoEavSetupEavSetupFactory; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $eavSetupFactory) { $this->eavSetupFactory = $eavSetupFactory; } public function install(…

      READ MORE
    • Magento Bugs open – 300K commerce sites to card-skimming attacks

      On Friday (29th March 2019), an attack code was published that showed the vulnerability in the Magento eCommerce platform, all but assuring that it will be used to plant payment card skimmers on sites that have yet to install a recently released…

      READ MORE
    • How to add custom field in sales rule action section in magento 1.9?

      First of all, you have to create a new module. After that, you have to put the code in config.xml <adminhtml> <events> <adminhtml_block_salesrule_actions_prepareform> <observers> <magemonkeys_custofield> <type>model</type> <class>Magemonkeys_Custofield_Model_Observer</class> <method>adminhtmlBlockSalesruleActionsPrepareform</method> </magemonkeys_custofield> </observers> </adminhtml_block_salesrule_actions_prepareform> </events> </adminhtml> in Model/Observer.php file you have to put this method…

      READ MORE
    • How to uncheck the default shipping method in Magento 2?

      Magento 2 comes with default shipping methods. But, if that's not suitable to site owner then he/she can uncheck it. Let's see, how? If you ever want to unchecked default shipping method at checkout or cart estimated shipping block, then it's not necessary…

      READ MORE
    • Fatal error: Product Export problem & solution in Magento 1.9.3.9

      If you're into Magento migration then you might face with many errors & solution. Dropping other errors aside, today, we're going to talk about a Fatal error that can be faced while product/data migration. The error is known as Fatal error. It's as…

      READ MORE
    Recent Articles
    Get a Free Quote