Magento 2 Tutorials

Magento 2 Blog

Search our tutorials or browse by category

Blog (76)

  • Magento 2 eBook Development Cookbook

    CREDITS
    Read more

  • The Best Marketing Strategy 2016 Affiliate Marketing

    For online stores, marketing solutions always bring the positive change of boosting sales. Thus, it is necessary to follow new marketing trend in order to prepare adequately for the next business cycle. Now, we are in the first months of 2016, ensure that almost eCommerce merchants will put particular attention on predicting that “What is Hot Trend?” and “What is Next ?”. And the best answer is Affiliate Marketing, which is highly appreciated by the experts and businesses, with the convincing proof is that the Affiliate Budget is expected to increase by 72%, according to CJ Advertisement Co., a full-service ad agency that exclusively serves personal injury brands.
    Read more

  • Why is Shopping Online a significant threat

    In the past, when the internet did not develop as now, almost exchanges of human are dealt together directly. For example, going to a physical shop to buy clothes or going to the airport to book ticket… By this way, they trust in goods they bought.
    Read more

  • How to Setup an Affiliate Program

    In general, the final purpose of all eCommerce store as you are growing revenue by the maximum as well as focusing on driving more traffic to your site. One of the best strategies you will be excited is starting with an Affiliate program. It is great chance to manage the Affiliate network, a precious and powerful asset in your business. The Affiliates take responsibility of referring and promoting your products while you will pay commissions for them if they make profits for you. There are many ways to assist you to increase your sales, but Affiliate program will help you achieve your dream in the shortest and quickest way.
    Read more

  • Common Mistakes to Avoid in Affiliate Program

    Regardless of products or services you are selling, starting up an Affiliate program will help you develop a new stream of income. Why do I say that? Affiliate program allows you to seek to a potential sales team who have a long-term cooperation with you basing on the beneficial relationship. That helps you possibly achieve the higher profits while the sales people can make money when referred visitor creates an order.
    Read more

  • Magento themes, extensions by EM, MD, SmartWave have SQL injection vulnerability

    We recently learned that an SQL injection vulnerability has been found in several third-party themes and extensions. Extensions with the vulnerability include:
    Read more

  • Best Magento 2 Extensions 2017 FREE & PAID

    The best must have Magento 2 extensions in 2017 now in one place, no need to google alot. In this post, we will list the best Magento 2 extensions you need. It covers Magento categories: Marketing, SEO, Checkout, Gifting, Search & Navigation, Social media, Site Management, Integration and Performance. All extensions listed here are tested and fully compatible with Magento version. The most important things of Best Magento 2 Extensions 2017 FREE & PAID are high quality extensions and reliable vendor in Magento marketplace.
    Read more

  • Why Affiliate Marketing is Important

    Affiliate marketing, an appropriate marketing solution for every eCommerce store? It may be the common question each business like you concern when they have known about Affiliate marketing and needed to find a way to improve their work.
    Read more

  • Magento 2 Support Services
  • Magento 2 Development Services - Magento 2 Agency

    Becoming the leading Magento 2 agency in Magento 2 Development services, Mageplaza is focusing on satisfying the customers via the perfect development service.
    Read more

  • Magento 2 Developers - Magento 2 Agency

    Are you looking for Magento 2 Developers / Magento 2 Agency? You are at the right place! Hire Magento 2 Expert Developer team from Mageplaza has a special passion for coding and building a web application and they are well-trained in using PHP, JavaScript, MySQL, Oracle, and Perl. For over four years, Mageplaza Developer team not only has helped thousands of clients improve their website but also gives board guidance in their business e-commerce.
    Read more

  • Magento 2 Hosting - Web hosting

    Whenever starting a Magento 2 Store, merchants need a reliable Magento 2 Web Hosting solution to ensure the stable performance. Actually, Magento system can process on most of the web hosting plans. However, One system can not cover all the jobs every time. Hence, letting Magento system runs by itself is not a good way to keep your business stay strong. Furthermore, there are always risks from every corner on the internet which are stalking to attack your hosting server. For all these reasons, to strengthen the performance of a Magento store, you totally need a Magento 2 web hosting optimization.
    Read more

  • Magento 2 Consulting Services

    Magento 2 Consulting Services by Mageplaza is provided by skillful and qualified Magento professionals who have over four years experience in cooperating with more Enterprise and Community merchants around the world. We have supported many problems related to technicals, re-platforming, RFPs, and more, which the merchants dealt with in the eCommerce business.
    Read more

  • Magento 2 Template, Themes

    Magento 2 Themes / Templates is designed especially for e-commerce stores based on Magento 2 platform. The themes can be said as the face of your brand, it will make your website more professional and closer to customers. From Mageplaza, the best provider of website layouts, you are comfortable to choose Magento 2 themes/ templates as you expect.
    Read more

  • Magento 2 Performance Optimization

    For Magento 2 stores, Magento 2 Performance Optimizing is one of the important factors to lead your work more successful. Remember that if you want to keep customers stay longer with you if you bring the great experience during the time they spent on your site. Thus, a fast online store is the ideal one that is more friendly with many visitors as you expect instead of a bad performance of the website. Only when your store is closer to the consumers, increasing conversion rate as well as optimizing the revenue become easier and easier.
    Read more

  • Magento 2 Migration - Magento 2 Data Migration

    Magento 2 Migration Data is a hot topic nowsaday. Magento 2 Migration is the worthy thing to do since Magento 2 is released. Magento 2 Migration will brings better code with bug fixes, many features and functionalities to the user. Starting with Magento 2 upgrade, your store is easy to fit with every device in the best performance and improve the shopping experience at the same time.
    Read more

  • Magento 2 Performance Toolkit

    Previous topic, we discussed about Magento 2 Performance Optimization, in this topic, let me introduce Performance toolkit which test Magento 2 store. The toolkit is Jmeter
    Read more

  • Magento 2 Translation

    Magento 2 translation will be now much easier to configure than ever. With the latest and continuously updated dictionaries, the localization and customization of Magento instances are effectively enhanced. Moreover, code coupling and duplication are minimized to ensure the performance of the translation. From now on, you can totally adjust your store with multiple languages for various regions and markets.
    Read more

  • Magento 2 Module Creator

    Magento 2 Module Creator is a helpful tool for Newbies who start learning Magento 2 module development or those who are desired to create module templates effectively. As keeping your eyes on Magento 2 Module Creator by Mageplaza, you can achieve the module prototype based on the company name and the module name. That main data for the creation of the module is handled on a tab with a simple table on which you possibly create and even edit any value if need.
    Read more

  • Reduce abandonment cart by optimizing Shopping Cart Page in Magento 2

    In shopping online, there are a thousand of reasons customers give to leave you even buy the same goods at another shop. Have you spent enough time to find the root of this abandonment? Do you know if you can create a dollar, the value of the abandonment rate is about three times as more as your revenue? So, in this topic, let’s learn why the shopping cart page has a big influence on your business? and how to restrict those negative effects?
    Read more

Tutorials (227)

  • Change Store Email Addresses

    You can have up to five different email addresses to represent distinct functions or departments for each store or view. In addition to the following predefined email identities, there are two custom identities that you can set up according to your needs.
    Read more

  • Change Welcome Message

    Welcome message is shown in the top right of the header that include the customer’s name when they logged in. However, if not login, by Magento 2 Default message, the welcome message is set to “Default welcome msg”. If you want to change the message, it is possible to do that. Remember that changing the “Default welcome msg” text as you desire to be more attracted and friendly before you launch your store.
    Read more

  • Configure Contact Us form and contact email address

    The Contact Us link in the footer of the store is an easy way for customers to keep in touch with you. Customers can complete the form to send a message to your store.
    Read more

  • How to Install Magento 2 with Sample Data

    How To Install Magento 2 - Magento is an ecommerce platform built on open source technology which provides online merchants with a flexible shopping cart system, as well as control over the look, content and functionality of their online store. Magento offers powerful marketing, search engine optimization, and catalog-management tools. Ref. Wikipedia.
    Read more

  • How To Stop Brute Force Attacks

    Brute-force attacks are becoming very common these days. Most websites are by default vulnerable to such attacks. If you use Magento, there are by default located at /admin and /downloader and can be abused in several ways. Hackers can easily find them and launch a brute-force attack. In such an attack, random passwords are tried automatically, until one succeeds.
    Read more

  • Setup Locale, State, Country

    This tutorial will cover all topics related to: how to set default country, how to set locale in Magento 2 store. Locale Options in Magento 2 provides more details about your store. Setup your store information on Locale Options that determines the timezone, your language and the days of the work week in your area. Besides, others can identify your country, tax rate and guest some needed information related to your locale.
    Read more

  • Setup store information: phone number, address, VAT number

    Setup store information in order to provides the basic information that will be used on sale documents and in other communications. The Store Information you need to add includes phone number, country, region/state, Zip code, VAT number, etc. Especially, all of these information are flexible to edit whenever you need.
    Read more

  • Magento 2 404 Error Page Not Found in Admin

    After Installing Magento 2 Extensions, you may get error Magento 2 404 Error Page Not Found. No worry, that is because of permission in your current session. Let’s follow this guide, we will show you how to resolve 404 Error Page Not Found step by step.
    Read more

  • Magento 2 Block Template Ultimate Guides

    Carrying on from our previous overviews of the main changes for front-end developers in Magento 2, we’ll now look specifically at the revisions to the templating system. While the changes aren’t too drastic, developers will want to become familiar with the new system - particularly those upgrading sites from Magento 1.x to Magento 2. This guide will take developers through the changes to layout XML and the new overall project structure of Magento 2
    Read more

  • How to create Magento Connect Account

    Magento Connect supports you create a free Magento account from Magento Connect website. Your Magento account can be accessed from either the Magento website or from your store’s Admin. With own Magento account you can view, track your order or find any information that is related to the products or services you have purchased. Remember that, the email address that is used to open a Magento account can be associated with only one account.
    Read more

  • Enable Single Store Mode

    Single-Store Mode is disabled as setup default that leads to show a scope indicator whenever each configuration setting. Therefore, let enable single-store mode to simplify the display by turning off all Store View options and scope indicators if your Magento Community 2.0 installation has only a single store and view.
    Read more

  • Remove / manage message inbox

    Learn how to manage inbox in Magento 2 is must-have because of the major importance of message. You may lose or later access many important information such as system updates, patches, new releases, scheduled maintenance, upcoming events, and more from Magento if you don’t know how to manage inbox in Magento 2.
    Read more

  • Reset admin password

    User Name and Password are the required fields if you want to login Magento admin. And it is the huge trouble if you forget one of them. Therefore, resetting admin password is very essential to every store. With Magento 2, “Forgot your password” link is available to click, then a temporary password can be sent to the email address that is associated with the account immediately. Let do the following steps to reset your admin password in Magento 2.
    Read more

  • Upload Images Product

    In this topic, I will show you how to upload images product step by step. You know that, high-quality images is the strength to make your website more beautiful and have a professional look of your shoppers. If each your product has a collection of images in the catalog, it is hardly surprising to manage a hundreds or thousands of images. Thus, let establish a naming convention for your image files right now, that will makes your track easier even if you want to find the originals.
    Read more

  • How to Upload Product Videos

    To help your products be more attractive and lively, Magento 2 allows uploading individual video for any product you need. Watching Magento product video will bring a truly overview of your product to customers before purchasing. The more visual product, the more sales is created by the clients.
    Read more

  • How to Change Favicon

    Change Favicon Magento 2 - Favicon is short for “favorite icon”, and refers to the little icon on the tab of each browser page. Depending on the browser, the favicon also appears in address bar, just before the URL. Favicons are generally 16 x 16 pixels or 32 x 32 pixels in size. Magento accepts ICO, PNG, JPG, and SVG file types, although not all browsers support these formats. The most widely supported file format to use for a favicon is ICO. There are many free tools available online that you can use to generate an ICO image or convert an exiting image to the format.
    Read more

  • How to Change Logo

    As soon as applying Magento 2 platform for your store, one of the first things you’ll want to do is to change the Magento 2 default logo in the header, and upload a favicon for the browser. Uploading your own logo will make the store more professional and more reliable in the customer’s mind. Especially, the business logo will help you increase the awareness of your brand significantly.
    Read more

  • How to create Configurable Product

    You can create a Configurable Product in Magento 2 through many variations and the Configurable Product differs from a Single product by a drop-down list of option for each variation. That means it is simple for you to track inventory for the product variation because an option is actually a simple product with a unique SKU. This advance is the thing you could have if creating a simple product with custom options, however, it is impossible to track inventory for each variation by that way. Although it take much time to set up a configurable product, you can save time in the long term of your business’s growing. Therefore, the configurable product type is a good choice for products with multiple options.
    Read more

  • How to create Simple Products

    A simple product, the popular product type in Magento, is the foundation of Grouped Products, Bundle Products, Downloadable Products, Configurable Products and Virtual Products and it is used the most frequently on Magento stores. Thus, Magento store owner can sell the Simple Product separately or sell it as a part of the grouped, bundle or configurable product.
    Read more

  • How to create Bundle Products

    A bundle product includes customizable product that you can build for your own. Each item in the bundle product can be based on one of the product types: Simple Product and Virtual Product. Since then you can be set either dynamic or fixed value for a bundle. You can see an example for the bundle product in the following image:
    Read more

Devdocs (102)

  • How To Create Magento 2 Theme Ultimate Guide

    There are number of improvements to the way themes are managed and set up in Magento 2. The use of the theme.xml definition file, introduced in Magento 1.9, and a new fallback system, are two of the most significant improvements. The fallback system in Magento 2 works in a similar way to Magento 1.x, but has the added advantage that you can select unlimited parent themes to inherit from / fallback to all via the theme.xml file in your theme.
    Read more

  • How to Create Module in Magento 2

    We will discuss the topic of how to create Hello World module in Magento 2 in order to help you have the clearest and easiest way to create now. Remember that the concept of local/ community/ core/ folders only existed in Magento 1 and you will don’t use them for Magento 2.
    Read more

  • Create Controllers

    Controller specially is one of the important thing in Magento 2 module development, and PHP MVC Framework in general. It functionarity is that received request, process and render page.
    Read more

  • Indexing

    In this article we will learn how to create an Indexer Reindex in Magento 2. Indexer is an important feature in Magento 2 Indexing. To understand how to create a Hello World module, you can read it here
    Read more

  • Add command line

    In this article, we will find how to add a command line into magento 2 console CLI. Magento 2 add command line use a interface to quick change some features like enable/disable cache, setup sample data… Before we start, please take some minutes to know about the naming in Magento 2 CLI.
    Read more

  • Command Line Interface CLI

    In this tutorial, we will talk about Command Line Inteface (CLI) in Magento 2. As you know, from Magento 2, they add many commands in bin/magento. This may difficult to get approach this , but let me explain more detail in this tutorial.
    Read more

  • Events

    In this example we will should you How to create a event in Magento 2, we only catch the event to show the word Mageplaza on the frontend so we should create an events.xml file in etc/frontend folder.
    Read more

  • CRUD Models

    CRUD Models in Magento 2 can manage data in database easily, you don’t need to write many line of code to create a CRUD. CRUD is stand for Create, Read, Update and Delete. We will learn about some main contents: How to setup Database, Model, Resource Model and Resource Magento 2 Get Collection and do database related operations. In previous post, we discussed about Creating Hello World Module
    Read more

  • View: Block, Layouts and templates

    In this topic Magento 2 Create: Block, Layouts, Templates we will learn about View in Magento 2 including Block, Layouts and Templates. In previous topic, we discussed about CRUD Models . As you know, a View will be use to output representation of the page. In Magento 2, View is built by three path: block, layout and template. We will find how it work by building the simple module Hello World using View path.
    Read more

  • Configuration - System.xml

    The system.xml is a configuration file which is used to create configuration fields in Magento 2 System Configuration. You will need this if your module has some settings which the admin needs to set. You can go to Store -> Setting -> Configuration to check how it look like.
    Read more

  • Admin Menu

    In this article, we will find how to add a link to Magento 2 Admin Menu, which shown on the left site of Admin Menu pages of Magento 2.
    Read more

  • Admin ACL

    Magento 2 Admin ACL panel use an authentication system and a robust system for create Access Control List Rules (ACL) which allows a store owner to create fine grained roles for each and every user in their system. In this article, we will find how it work and how to add ACL for our custom module.
    Read more

  • Rewrite Controller

    To rewrite controller, you can do it by using preference. It mean that you need to put a rule in your router config using before attribute.
    Read more

  • Admin Grid

    In this article, we will find how to create an Admin Grid in Magento 2 backend. As you know, Magento 2 Grid is a kind of table which listing the items in your database table and provide you some features like: sort, filter, delete, update item, etc. The helloWorld for this is the grid of products, grid of customer.
    Read more

  • Install Upgrade SQL script

    In this article, we will find out how to install and upgrade sql script for module in Magento 2. When you install or upgrade a module, you may need to change the database structure or add some new data for current table. To do this, Magento 2 provide you some classes which you can do all of them.
    Read more

  • Create Model

    Create Model in Magento 2 is a huge path of MVC architecture. In Magento 2 CRUD, models have many different functions such as manage data, install or upgrade module. In this tutorial, I only talk about data management CRUD. We have to create Model, Resource Model, Resource Model Conllection to manage data in table: mageplaza_topic as I mentioned above.
    Read more

  • Resource Model - Model Collection

    In this topic, we will discuss about Create resource model in Magento 2. In previous topic, we have discussed about CRUD and models. As you know, the model file contain overall database logic, it do not execute sql queries. The resource model will do that. Now we will create the Resource Model for this table: Mageplaza\HelloWorld\Model\ResourceModel\Topic
    Read more

  • Factory Object

    In this part, we will talk about Factory Object for model in Magento 2. As you know in OOP, a factory method will be used to instantiate an object. In Magento 2, the Magento 2 Factory Object do the same thing.
    Read more

  • Events

    This article will talk about Events List in Magento 2. As you know, Magento 2 is using the events driven architecture which will help too much to extend the Magento functionality. We can understand this event as a kind of flag that rises when a specific situation happens. We will use an example module Mageplaza_HelloWorld to exercise this lesson.
    Read more

  • Routing

    In this article, we will talk about an important part in Magento 2 Routing. The Route will define name for a module which we can use in the url to find the module and execute the controller action.
    Read more

Extension Docs (47)

  • Price Slider for Layered Navigation

    Price Slider, a special design from Magento 2 Layered Navigation extension, allows your customers filter the price range that is reasonable for them.
    Read more

  • Insert Blog Post List in Homepage

    In this guide, we will show you how to insert post list in home page, this guide is applied for Magento 2 Blog , for Magento 1 Blog read this guide
    Read more

  • Sistel Redsys Payment method

    We are happy to announce that Magento 2 One Step Checkout by Mageplaza is now fully compatible with Sistel_Redsys payment method.
    Read more

  • Compatibility

    With over years of comprehensive experience in Magento Module Development and especially for the development and support of One Page Checkout Magento 2, you are comfortable that our module is well compatible out-of-box with nearly 100% of the third extensions such as shipping/ payment providers or loyalty extensions or credit module, etc. In case our extension is not compatible directly, we will work with the third-provider to fix it in the perfect way without any extra fee.
    Read more

  • Google Address Suggestion

    Google Maps Suggestion Integration allows showing all relevant suggestions with full of address information basing on the entered characters before.
    Read more

  • Release Notes
  • Reviews

    Customers say
    Read more

  • Sitelinks Search Box

    With Google Sitelinks search box, from search results. Search users sometimes use navigational queries, typing in the brand name or URL of a known site or app, only to do a more detailed search once they reach their destination. For example, users searching for pizza pins on Pinterest would type Pinterest or pinterest.com into Google Search–either from the Google App or from their web browser–then load the site or Android app, and finally search for pizza.
    Read more

  • Checkout Fields

    The Magento 2 Custom Checkout Fields management with the drag and drops feature will surely make it more effective for the store admin to configure the Mageplaza One Step Checkout. The checkout field management section will appear separately with the configuration of One Step Checkout module. Hence, you can freely drag and drop the available fields for the arrangement.
    Read more

  • Checkout Login

    The One Step Checkout extension for Magento 2 provide your shoppers with 2 options to log in or sign up for a new account right on the checkout page. Indeed, your shopper can choose to use default login or social login.
    Read more

  • Gift Wrap

    The Magento 2 Gift Wrap feature in One Step Checkout has been upgraded to a whole new level. For more detail, store owners can decide to count the gift wrap fee by the item of setting for the whole order. According to what your products are, the gift wrap fee can be adjusted for your need.
    Read more

  • Auto Detect Customer Email

    Magento 2 One Step Checkout module is designed with Auto Detect Customer Email feature. When your shoppers type their email in the field, One Step Checkout will automatically verify the email if it already exists or not.
    Read more

  • Validate Zip/Postal Code

    In case you may not know, Zip code or Postal code refers to a system of postal codes used by the United States Postal Service since 1963. Zip code is widely used in the whole world nowadays and store owners will need the zip code information from their shoppers for the management. In fact, each nation has their own model of zip code. For example, the United States of America a zip code is five or nine numbers while in some countries such as the United Kingdom and Canada, postal code is comprised of number and letters.
    Read more

  • Multi-filter

    The Multi-filter or Multi-select attributes feature is an essential function which every Magento store should have on their site.
    Read more

  • Order Comment

    The comment feature in One Step Checkout plays the role as a note from shoppers for store owners. The Order Comment in Magento 2 is designed to display right under the order review. Hence, your customers can write down their extra requirement for the store. Moreover, order comment is also created to have the possibility to display in the order, invoice, pdf, email in both frontend and backend.
    Read more

  • Terms and Conditions

    The important role of showing Terms and Conditions to your shoppers should be unforgettable. It is not only how you generate all the rule for your shoppers, the appearance of Terms and Conditions also needs to be obvious to avoid legal disputes as well as raise your shopper’s truth to your store. Hence, before an order is submitted, terms and conditions must be read and One Step Checkout allows store admin to freely design the terms and conditions in the checkout page.
    Read more

  • Checkout Layout

    Mageplaza support 1, 2, 3 columns and 3 columns with Colspan Magento 2 checkout layout in One Step Checkout extension for store owners to configure their frontend. Moreover, you can also design the checkout page style with the default style, flat design, and material design which is coming soon in the next version.
    Read more

  • Gift Message

    After using One Step Checkout extension and seeing not only the sales are boosted but also the customers are happy than ever with the convenience, you think it’s enough? No, you can satisfy your customers even more with Gift Message extension for Magento 2.
    Read more

  • Delivery Time

    Magento 2 Delivery Time feature from Mageplaza 2 One Step Checkout is an advanced function which can productively improve user-experience on your store site.
    Read more

  • Optimized Checkout Page

    One Step Checkout extension for Magento 2 is generated for the most optimized checkout page then ever before. Although Magento 2 was released with a better checkout process which contains 2 steps instead of six compared with Magento 1, the checkout page is still long and hard to track. Hence, One Step Checkout has gathered all needed information in one page only with the smart arrangement and clearly, interface for your shoppers to view.
    Read more