KB Category: Start with Magento 2

  • How to exploit all commands in Magento 2 CLI (Part 5)

    In this article we going to discuss about how to exploit all commands in Magento 2 CLI(Part 5) Part 5: Produce sample data for performance testing Everyone knows Magento 2 has a powerful command-line interface tools (CLI). It permits you to complete task including installation, configuration, database backups, compiling LESS etc. Here I will show…

  • How to exploit all commands in Magento 2 CLI (Part 7)

    In this articles we discuss on Magento 2 Command lines (CLI) (Part 7): construct an Admin User Everyone knows Magento 2 have offered the influential command-line interface tool (CLI). It permits you to execute tasks containing installation, configuration, database backups, compiling LESS etc. Here I will show you how to construct admin use using commands…

  • How to allow Google analytics in Magento 2

    The following steps help you to allow Google Analytics in Magento 2 Step 1: build Google analytics account Step 2: get a tracking ID Step 3: construct the Google API in Magento 2 ┬áStep 1: build Google analytics account Navigate to the following link to create an account https://www.google.com/analytics/ Then choose sign in with Google…

  • How to add new widgets in Magento 2

    The following steps help you to add new widgets in Magento 2: Step 1: Create a new category attribute with install schema file. Step 2: Create an xml file. ┬áStep 1: Create a new category attribute with install schema file app/code/Magestore/CategoryAttribute/Setup/InstallData.php <?php namespace Magestore\CategoryAttribute\Setup; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use…