Magento 2

  1. How to Reindex from admin in Magento 2

    Backend Reindex Indexing from the Admin Panel is not allowed by default in Magento 2, we can only do that from the Command line or using some custom Magento 2 Module. We have developed a free Indexer Magento 2 extension which can be used. Please follow the below steps in order to install and use it. Reindex extension purpose Reindex extension by Read more...
  2. How Indexing works in Magento 2 admin panel

    Overview To enhance the performance of your storefront, indexing is how Magento transforms data like products and categories. When data changes, then the data must be updated or reindexed. Magento architecture is very sophisticated that stores merchant data like catalog data, prices, users and stores etc. So the Magento use indexers to enhance the Read more...
  3. How to Indexing and Reindex in Magento 2 programmatically

    Follow the following steps to create a custom indexer in Magento 2: Create the Indexer configuration file Create Mview configuration file Create Indexer class Create the Indexer Configuration file The indexer will be defined in the indexer.xml file. Directory app/code/VendorName/ModuleName/etc/indexer.xml Content of indexer.xml <? Read more...
  4. How to Create System.xml Configuration in Magento 2

    Steps To Create System.xml Configuration in Magento 2 Create System.xml Directory app/code/VendorName/ModuleName/etc/adminhtml/system.xml Content for this file <?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"> Read more...
  5. How To Add Mass Actions In Magento 2

    Steps to add Mass Actions in Magento 2 Create Adminhtml Layout File <body>   <referenceContainer name="content">       <uiComponent name="modulename_examplerate_listing"/>   </referenceContainer> </body> Insert A MassAction Tag In UI Component Xml File Read more...
  6. How To Add Custom Tab In Customer Account In Magento 2

    Steps to add custom Tab in the customer account Create Customer Account Layout Directory VendorName/ModuleName/view/frontend/layout/customer_account.xml Content for customer_account.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> Read more...
  7. How to Run Compile Command Line in Magento 2

    In this tutorial, we will discuss How to Run Compile Command Line in Command Line Series. They include multiple commands in bin/Magento. Run Compile Command Line Go to Magento admin root folder and show usage: php bin/magento setup:di:compile --help Usage:  setup:di:compileOptions:  -h, --help Display this Read more...
  8. How To Create A Custom Widget In Magento 2

    Steps to create a custom widget in Magento 2 Create widget.xml Directory VendorName/ModuleName/etc/widget.xml Content For widget.xml <?xml version="1.0" ?> <widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:helloworld:Magento_Widget:etc/widget.xsd"> <widget class=" Read more...
  9. How To Create Events In Magento 2

    Steps to create events in Magento 2 Create Dispatch event Directory app/code/VendorName/ModuleName/Controller/Index/Example.php Content for Example.php <?php namespace VendorName\ModuleName\Controller\Index; class Example extends \Magento\Framework\App\Action\Action { public function execute() { $textDisplay = new \Magento\ Read more...
  10. Magento 2 Create API with samples - Snippet

    Magento 2 Create API involves helping online retailers create an Application Programming Interface for personal usage. The API is a collection of protocols, routines, and other tools to design software applications. Therefore, API is a necessary element to connect the data if you request every program or service from other websites. With the Read more...

Items 1-10 of 110

Page
Show per page