How to create beautiful image upload in configuration of Magento 2
To create beautiful image upload in configuration of Magento 2, add the following code in system.xml: 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 .
If you don’t have any exact strategy for deploying your new Magento 2 website to production, then you’ve come to the right place. Below, we provide general guidelines which will be helpful for everyone who wants to deploy Magento 2 to production. Please note that each Magento 2 store has its unique features and requirements, so it is recommended to deal with a specialist who can help you choose what additional steps are vital for your particular case. Continue Reading
In the following article, we shed light on proper Magento 2 cron configuration. Below, you will find general advices about configuring and running cron, section related to component manager and system upgrade with cron, and a short troubleshooting guide. Continue Reading
In this Magento 2 Composer guide, we will explain how to use the application-level package manager with the most popular ecommerce platform. Being inspired by Node.js npm, Composer provides a unified format that simplifies dependency management of PHP software. The usage of Composer in various Magento 2 projects is inevitable, because it is a part of the platform. You can run the package manager through the command line, installing dependencies for your modules. Besides, Composer provides the ability to install Magento 2 extensions available on Packagist (the repo is described below). Another important feature introduced in Composer is a set of autoload capabilities for libraries that essentially simplifies the usage of third-party software solutions. Continue Reading
In Magento 2, they are situated in the vendor directory, while custom code is still in app/code/. All modules require composer.json, registration.php, as well as etc/modules.xml: Continue Reading
To use the new repo.mangento.com, enhance your auth.json file with the following code: Continue Reading
To set up a form popup-modal in Magento 2, use Magento_Ui/js/modal/modal widget as follows: Continue Reading
To load custom mini-libraries with short popular global functions in Magento 2, run the following code: Continue Reading