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 2: Magento 2.2.6 “Clear Shopping Cart” button not working on cart page

      I have encountered that in Magento 2.2.6 "Clear Shopping Cart" button is not working on cart page. I have found out that in vendor/magento/module-checkout/view/frontend/templates/cart/form.phtml -line 27, Magento Team seems missed to put a dot for the 'action' classname. <table id="shopping-cart-table" class="cart items…

      READ MORE
    • Magento 2: Change Default Logo Of Admin Panel

      In Magento, there is no setting to change Magento's backend logo. For that, first, you need to create a custom admin theme and then change the logo. Steps are listed below: app/code/[VendorName]/[ModuleName]/registration.php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, '[VendorName]_[ModuleName]', __DIR__ ); app/code/[VendorName]/[ModuleName]/etc/module.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module…

      READ MORE
    • Add new attribute in the category in Magento 1.X

      First of all, we have to create a module for adding custom category attribute. Step 1. Create a new module. We should let Magento know about our new module. The initial configuration file is located at 'app/etc/modules/Namespace_Modulename.xml'. Namespace_Modulename.xml <?xml version="1.0"?> <config> <modules> <Namespace_Modulename> <active>true</active>…

      READ MORE
    • Magento remove out of stock items from shopping cart through observer

      Magento automatically removes items from the shopping cart page which are out of stock. What happens if  the product goes out of stock and that product is already in other customer’s cart who have not yet checked it out? With this script, Magento…

      READ MORE
    • Magento 2 Install / Uninstall Sample Data via Command Line

      In this tutorial, we will talk about how to Install/Uninstall Sample Data via Command Line . As you know, Magento 2 have many commands in bin/magento folder. But it may be difficult to get approach with this, so let me explain about it in more…

      READ MORE
    • Magento 2 How to Add Admin User via Command Line

      In this tutorial, we will talk about How to Add Admin User via Command Line. As you know, from Magento 2, they add many commands in bin/magento. It may be difficult to get approach with this, so let me explain about 'How to Add…

      READ MORE
    • Overriding controller in Magento 1.9

      Your controller rewrite XML part should look like this: <frontend> <routers> <contacts> <args> <modules> <Namespace_Modulename before="Mage_Contacts">Namespace_Modulename</Namespace_Modulename> </modules> </args> </contacts> </routers> </frontend> As you can see instead of using <contactsmodule> node we are here using <contacts> node. <contacts> is the router node which…

      READ MORE
    • How to show CMS static block in Magento 2

      Are you wondering, how to show CMS Static Block in Magento 2? Here, you will find effective instruction about this topic. Call from Phtml File: echo $this->getLayout() ->createBlock('MagentoCmsBlockBlock') ->setBlockId('your_block_identifier') ->toHtml(); Call from CMS page or block: {{block class="MagentoCmsBlockBlock" block_id="your_block_identifier"}} Call from XML File: <referenceContainer name="content">…

      READ MORE
    • How to Override a Helper File in Magento 2

      To override Magento 2 Helper file, follow below steps. First, you need to create a di.xml file at below desired location. Go to Vendor/Extension/etc/di.xml And add the following code into di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoBundleHelperData" type="VendorExtensionHelperBundle"/> </config> Next step is to create bundle.php file at…

      READ MORE
    • Magento 2: Creating and Calling Custom Popup using Modal

      Here we are discussing how to create and call custom popup using Magento 2's Popup Modal Library. You should create a module first, then after create a requirejs-config.js file at app/code/CustomVendor/CustomModule/view/frontend/ var config = { paths: { 'myjs': "CustomVendor_CustomModule/js/customfile" }, shim: { 'myjs': {…

      READ MORE
    Recent Articles
    Get a Free Quote