How to adjust Apache web server to run Magento 2 in a subdirectory

To adjust Apache web server to run Magento 2 in a subdirectory utilize the following .htaccess files: Continue Reading

To adjust Apache web server to run Magento 2 in a subdirectory utilize the following .htaccess files: Continue Reading

To get a page url from a *.phtml template in Magento 2, you can call the method: Continue Reading

Creating a language package in Magento 2 requires the following steps: Continue Reading

To change default font Icon in menu admin for a custom module in Magento 2, you should: Continue Reading

To add Google Fonts in Magento 2, use an ordinary external css. Check this official documentation: , . Continue Reading

In Magento 2, you should add a constructor with order factory: Continue Reading

In Magento 2, to check if customer is logged in, use the following code: Continue Reading

To create beautiful image upload in configuration of Magento 2, add the following code in system.xml: Continue Reading

To get most viewed products and bestsellers on homepage in Magento 2, create a block in __construct get instance of
\Magento\Sales\Model\ResourceModel\Report\Bestsellers\CollectionFactory $collectionFactory, Continue Reading

In this post, we’ve gathered all the necessary information about Magento 2 installation. The new version of the platform has been finally released, so don’t hesitate to find out how to install the Magento 2 software. Below, we discuss different approaches to the Magento 2 installation from the use of the Setup Wizard to more complicated procedures based on Composer and the command line. To get more information about Magento 2 check our main Magento 2 Overview .