Magento 2 uses RequireJS for its JavaScript library. To add custom JavaScript to Magento 2, you must create a RequireJS-compatible JavaScript file, and then add it to the page via the layout XML.
Magento 2 uses RequireJS for its JavaScript library. To add custom JavaScript to Magento 2, you must create a RequireJS-compatible JavaScript file, and then add it to the page via the layout XML.
We can use more than one command at a time in magento 2 by using “&&” sign in between the commands. For Example: If we have to run setup upgrade and deploy static content in SSH. Instead of running two commands separately, we can run it simultaneously. By hitting php bin/magento setup:upgrade && php bin/magento […]
When we are adding product on that time we have to choose the attribute set for the product. In Magento 2 you an attribute set is default created named as Default in which commonly attribute is assigned with the related group. So before we creating product we have to create attribute and attribute set. To […]
This tutorial describes how to create multiple websites, stores and store views in the admin of Magento 2. A.) Create websites: To create websites go to Stores > Settings > All Stores. From the store, page click on Create website. Name: Enter the name which identifies the websites. Code: Add a unique code in the field. E.g. if you […]
When we install magento then we have to add some basic configuration in the admin. In this tutorial we get some knowledge about basic configuration i.e. how to set default country where your business located, how to allow country which you accept order etc. For this basic configuration you can follow the below instructions: * […]
To complete magento 2 project it’s really important to have command line understanding. This is not a blog which going to teach you command line from scratch but we’ll cover important commands which we use in magento2 and how you can use in your projects. Check command log history log With the help of this […]