Magento 2 Tutorial Posts

How to Configure Product Attributes in Magento 2: Quick Tutorial

The assortment of any web marketplace is built on specific products with related attributes.

How to Configure Product Attributes in Magento 2: Quick Tutorial

In our foregoing user guide, we explained how to compose configurable products in Magento 2. Nevertheless, for the sensible arrangement of such product type, one should preliminary take care of the conforming product attributes. This issue will be reviewed in our today’s article.

Product Attributes Configuration

Besides featuring product’s specific info, product attributes designate the input types, say, sliders, dropdowns, swatches, and the like, of product options picked by shoppers when filtering products in a catalog.

To embark the configuration, click Stores in the Magento 2 dashboard and choose Product underneath Attributes.

Next, click Add New Attribute.

Creating Configurable Products in Magento 2: Quick Tutorial

Configurable products give online merchants new opportunities for organizing product assortments in their stores as well as improving the inventory of the management process.

Creating Configurable Products in Magento 2: Quick Tutorial

Here, we will tell you how to create configurable products in a Magento 2 based store. But first, let’s consider the major advantages of these products compared to the simple ones.

Which Product Type is More Effective?

Configurable products include various options, such as sizes, colors, and the like. Each option represents a simple product with a unique stock keeping unit (SKU). Meanwhile, for the simple products with custom options, every option is just a variation of the same product with the universal SKU.

Both types serve for creating products with customizable characteristics. Still, there are several notable differences between them.

Inventory Management

The inventory of individual custom options of simple products cannot be managed, while for the configurable ones, each product variation, including SKU, pricing, and the like, is completely manageable.


In the case of simple products with custom options, merchants cannot sell each product variation separately. However, this is possible for those merchants who create configurable products in their stores.

How to Configure the Admin Security in Magento 2: Quick Tutorial

The Magento platform is well-known for its comprehensive security approach, and Magento store owners should take advantage of its effective solutions to fully protect their stores against hacker attacks.

How to Configure the Admin Security in Magento 2: Quick Tutorial

In this article, we will describe how to completely configure the admin security in a Magento 2 web store to timely prevent any potentially dangerous activity in its backend. So, let’s start.

Magento 2 Admin Security Configuration

With the Magento 2 admin security configuration, you can add a secret key to URLs, create case-sensitive passwords, limit the duration of admin sessions as well as the password validation period and the number of login attempts that can be made before an admin account is locked, and so on. Let’s consider the whole configuration process in more detail.

First, click Stores on the left sidebar of the Magento 2 Admin Panel. Then, choose Configuration in the Settings section.

Next, expand the Advanced section on the left panel of the Configuration window opened and choose Admin. In the Admin menu, expand the Security section.

Magento 2 Update and Upgrade Tutorial

Previously we’ve already touched the point related to upgrading from Magento 1 to Magento 2.

Magento 2 Update and Upgrade Tutorial

Although, this issue is still in great demand among Magento users the number of existing Magento 2 versions and stores makes it necessary to pay attention to the new question of updating existing Magento 2 stores to the latest available versions.

And since recently we witnessed the next Magento 2.2, the topic is going to become in high demand just soon. One more reason for an upgrade may appear when you need to enhance your store with the facilities of Magento 2 Commerce and need to migrate your Magento Open Source store to it. Thus, we have two general points to be discussed in this article: Magento 2 update and Magento 2 upgrade.

Magento 2 Update

The whole process consists of several separate stages and affects several Magento 2 entities. First of all, you need to update the very Magento application, while additionally, it may also require updating the included modules (e.g. third-party functionality extensions), themes, and language packs, if necessary.

How to Install and Manage the Extensions Obtained from Magento Marketplace

Magento is undoubtedly a powerful platform that provides broad opportunities for online merchants, still, its basic functionality can be further extended through third-party solutions.

How to Install and Manage Magento Marketplace Extensions in Magento 2: Quick Tutorial

In this article, we will introduce you Magento Marketplace and describe how the extensions can be installed from it and further configured for your Magento 2 web store.

Introducing Magento Marketplace

Magento Marketplace is the official source of themes and extensions that sells effective solutions for Magento 2 store owners. To start the acquaintance with Magento Marketplace, first, create an account on the Marketplace site.

Next, log in to your newly created account. On the Marketplace main page, scroll down to the Most Popular section. As you can see, the section is divided into three groups: Extensions, Themes, and Partners.

Magento 2 Tutorial for Beginners. Part 1: Installation

In our Magento 2 tutorial, we will tell you about the things you should know to start working with the platform successfully.

Magento 2 Tutorial for Beginners. Part 1: Installation

The tutorial embraces the overview, installation, configuration, and updating stages, Magento themes, marketing promotions, and so on.

So, what is Magento?

The “CMS” abbreviation works for Magento only partially. Yes, it is primarily a content management system, but the capabilities of its engine also allow developing applications. This makes Magento a content management framework and development environment.

The first version of the platform was released in 2008. For many years, Magento has ranked among the top e-commerce products, and today is used by multiple online stores with a worldwide reputation. The Magento team constantly develops the project, so the latest Magento 2 combines high performance with powerful functionality.

Magento 2 for Developers

Magento 2 Coding Standards

As any sophisticated and complex platform, Magento has its own coding standards to be adhered by the Magento team and all the contributors. The standards include the next main sections:

  • Code demarcation standards are mainly established to dissociate the visual CSS layer, functional JavaScript, HTML markup, and PHP classes.
  • PHP Coding Standards. These coding standards are entitled by PHP itself, and currently, Magento recommends to follow the PSR-1 Basic Coding Standard and PSR-2 Coding Style Guide. In order to force the use of the above standards the team also suggests to use PHP Code Sniffer.
  • DocBlock Standard. Following the DocBlock standards is also desirable for code comments in order to create a consistent environment for all types of code, including third-party extensions.
  • JavaScript Standards. The scope of JavaScript Standards involves coding and DocBlock standards.
  • jQuery Widget Coding Standard includes some naming conventions, development, and architecture standards for building all jQuery widgets.
  • LESS Coding Standard. The same as the other standards, LESS and CSS coding is required to be provided with conventional formatting, including indentations, braces, quotes, property line breaks, etc.

Illegitimate Customer Payment Protection in Magento 2: Quick Tutorial

Starting to operate in the e-commerce field, businesses should be ready for any threats that can go with their online presence.

Internet fraud is the issue that must not be underestimated, as any illegitimate action can seriously affect the well-being of any business.

Illegitimate Customer Payments Protection in Magento 2: Quick Tutorial

In general, there are two types of internet fraud: illegitimate actions causing security breaches and suspicious transactions related to the use of credit cards by defrauders pretending to be honest buyers. In this article, we will describe the major forms of customer payment fraud and then consider how Magento 2 store owners can protect their sites from fraudulent transactions.

Major Forms of Customer Payment Fraud

Credit Card Fraud

This form of customer payment fraud implies making online purchases with stolen credit cards. However, defrauders might not necessarily steal cards physically, sometimes, they digitally obtain required credit card details. The main challenge for merchants here, as well as in the case of any other form of payment fraud, is to determine the identity of a buyer to find out whether the purchase was truly legitimate.

Refund Fraud

In the case of refund frauds, a defrauder using a stolen credit card deliberately overpays money for an order made in a store. Then, this person contacts the store and claims a reimbursement due to accidental overpayment. Moreover, the defrauder might ask to pay the refund by a method alternative to card transaction. In this case, the swindler claims that the card from which the overpayment was made is closed, so the card transaction is not possible.

How to Manage Stock Inventory in Magento 2: Quick Tutorial

To operate efficiently in the e-commerce field, store owners should rationally manage their stock inventories.

Quantity of goods in a store should always be under control, and the Magento 2 sites are not the exception to the rule. In this article, we will describe how to manage stock inventory of a web store that runs on Magento 2.

How to Manage Stock Inventory in Magento 2: Quick Tutorial

In general, Magento 2 provides users with two options of inventory management: controlling the whole stock through the General Inventory Settings and configuring each product in a store individually through the Advanced Inventory Settings. Let’s consider each type of the settings in more detail.

General Inventory Settings

To configure General Inventory Settings, go to Stores in the Magento 2 Admin Panel and click on Configuration in the Settings section. Here, you should expand the Catalog tab and open the Inventory menu. Having done this, you will see two sections – Stock Options and Product Stock Options. To configure any of the options, expand its section. We will start with the Stock Options.

How To Configure Online Payment Methods in Magento 2: Quick Tutorial

In addition to basic payment methods, Magento 2 helps you set up online payment methods offered by third-party companies. In this article, we will consider each method individually.

How To Configure Online Payment Methods in Magento 2: Quick Guide

The same as in the case with the configuration of basic payment methods, the configuration of every 3-d party payment method starts with choosing the Merchant Location option of your web store, in the Merchant Country field.

1. PayPal Express Checkout

PayPal Express Checkout is the payment option that suggests paying by a credit card or to make payments from a secure PayPal account. During the checkout process, a customer is redirected to the PayPal site to specify the payment information. Then, he is returned to the web store to complete the checkout process.

Before setting up PayPal for your Magento 2 web store, make sure that you have a PayPal account. When configuring this payment option, you will need your PayPal authorization data.

How To Configure Basic Payment Methods in Magento 2: Quick Tutorial

In this article, we’ll consider the basic payment methods supported by Magento 2 and describe how to configure them for a web store.

How To Configure Basic Payment Methods in Magento 2: Quick Tutorial

Initially, Magento 2 supports several basic payment methods that do not require the services of third-party payment processing companies.

To configure any of the methods, first, you should go to Stores in your Admin Panel and then open the Configuration section. From this section, you can start to set up the required method.

The configuration of every payment method starts with choosing the Merchant Location of the store, for which the settings should be applied. To do this, expand the box next to the Merchant Country field.

Merchant Location for Magento Payments

Merchant Location for Magento Payments

If you leave this field blank, the country you specified in the General Config section will be selected automatically.

So, let’s consider each method individually.

1. Cash On Delivery Payment

The Cash On Delivery Payment method can be set as the default payment option for a web store. If needed, this method can be chosen for some particular countries.

First, in the Configuration menu, expand Sales and click on the Payment methods tab in the panel under Sales.

Here, you will see the list of payment methods. Find the Cash On Delivery Payment section and click on it to expand. The panel with all the required settings will be opened.