Magento 2.1.8 has been released

#Magento 2.1.8 has been released

There was no big fanfare, just couple tweets.
#Highlights:
Magento 2.1.8 contains over 100 functional fixes and enhancements as well as pull requests from the community. Look for the following highlights in this release:
- multiple enhancements to static content deployment and -
generation
- improvements to the indexing of large catalogs, cache tuning, and URL re-writes
- reduction in the amount of memory that mass actions require, and performance optimization
- faster deployments for multi-language sites

Read More

Magento 2 Tutorial videos

How to Add a New Table to a Database

Magento 2 has a special mechanism which allows you to create database tables, modify existing ones,and even add some data into them(like setup data, which has to be added when a module is installed). This mechanism allows those changes to be transferable between different installations.

The key concept is that,instead of doing manual SQL operations that you have to do again and again when reinstalling the system, developers create an install (or upgrade) script that contains the data. The script will be executed every time a module is installed.

Magento 2 has four types of such scripts: InstallSchema, InstallData, UpgradeSchema and UpgradeData. The install scripts are executed only once, while the upgrade scripts are executed every time the module’s version get changed.

Read More

Magento 2 Tutorial videos

How to Add a JavaScript Module

Magento 2 uses requireJS as a tool to define the module structure. However, in addition to requireJS, Magento 2 also has its own unique way to execute JavaScript code. You’ll see this in the example we’re using.

We will develop a very simple JavaScript module that only provides the greeting “HELLO WORLD!”. It will illustrate how Magento 2 works with JavaScript files, executing the code and passing parameters inside a script. 

Read More

Magento 2 Tutorial videos

How to Add a New Product Attribute

Adding a product attribute is one of the most popular operations in both Magento 1 and Magento 2. Attributes are a powerful way to solve many practical tasks related to a product.

This is quite a broad topic, but in this video we will discuss the simple process of adding a dropdown-type attribute to a product.

Read More

Magento 2 Tutorial videos

M2 create new page

To add a new page in Magento 2, you need to create a new controller. In Magento 2, a controller is a file located at a specific place which responds to a specific route. A route in Magento 2 is a standard URL that consists of three parts:

  • frontName
  • controllerName
  • actionName
Read More