Magento 2 Tutorials

Magento 2: Placing Billing Address Right Under Shipping Address In Checkout

No comments

In order to increase customer experience in Magento 2 websites, many store owners want to change the order of the billing address in the checkout page. To be more specific, they want to move/ place the billing address right under the shipping address in the first step of checkout. As a result, the buyer can

TobyMagento 2: Placing Billing Address Right Under Shipping Address In Checkout
read more

How To Configure & Install Elasticsearch In Magento 2?

No comments

What Is Elasticsearch? We guess that most of us have heard about the Elasticsearch, but not everyone thoroughly understands what Elasticsearch is. Elasticsearch is a powerful open-source search and analytics engine using Apache Lucene. It is able to handle a large number of use cases, support multiple tenancies and full-text search on HTTP web interface.

TobyHow To Configure & Install Elasticsearch In Magento 2?
read more

How To Add Custom Validate Field In Magento 2 Form?

No comments

In today blog post, we will show you three easy-to-follow steps to add a custom validate field in your Magento 2 form. Let’s get started! Step 1: Add Custom Validate Method First, in the data-mage-init attribute, you must add a custom method named tigrenValidateMethod. <form class=”form contact” action=”<?= $block->escapeUrl($block->getFormAction()) ?>” id=”contact-form” method=”post” data-hasrequired=”<?= $block->escapeHtmlAttr(__(‘* Required

April LeeHow To Add Custom Validate Field In Magento 2 Form?
read more

How To Display Order Information In Checkout Success Page In Magento 2?

No comments

In Magento 2, you will be able to add more order information to the checkout success page. In order to declare a new theme, let’s create the following files: 1. Create the file app/design/frontend/Tigren/tigren/registration.php: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::THEME, ‘frontend/Tigren/tigren’, __DIR__ ); 2.

April LeeHow To Display Order Information In Checkout Success Page In Magento 2?
read more

How To Add Extension Attribute To Order In Magento 2?

No comments

There are six simple steps to add the extension attribute to order in Magento 2: Step 1: Let’s create the extension_attributes.xml file First and foremost, you need to declare your extension attributes in one XML file: <!– etc/extension_attributes.xml –> <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Api/etc/extension_attributes.xsd”> <extension_attributes for=”Magento\Sales\Api\Data\OrderInterface”> <attribute code=”tigren_attribute” type=”Tigren\Example\Api\Data\TigrenAttributeInterface” /> </extension_attributes> </config> By this way, you are

TobyHow To Add Extension Attribute To Order In Magento 2?
read more

How To Configure SMTP In Magento 2? [5 minutes]

No comments

If you are a Magento store owner/ developer, we guess that you have already known about the Simple Mail Transfer Protocol (SMTP) and how it works. Simple Mail Transfer Protocol (SMTP) is an Internet standard for electronic e-mail transmission. In this tutorial, we will show you 3 simple steps to configure the default SMTP mode on Magento 2 backend.

April LeeHow To Configure SMTP In Magento 2? [5 minutes]
read more

How To Set Up Multi Magento 2 Cash On Delivery Options?

No comments

There are a large number of Magento e-commerce stores are providing the cash on delivery payment method. As you might know, Magento 2 cash on delivery function is very basic, which allows us to create a COD option in the checkout process. However, many store owners now want more than that, for example, they might want

April LeeHow To Set Up Multi Magento 2 Cash On Delivery Options?
read more

How To Upload And Optimize Images And Videos In Magento 2?

No comments

To begin with, it’s fundamental to know how to upload as well as optimize images and videos for products in Magento 2. Most of Magento 2 stores have a wide range of products and related images and videos; if they don’t know how to use their resources effectively, the site performance will be negatively affected. As

April LeeHow To Upload And Optimize Images And Videos In Magento 2?
read more

How To Add Sale Price for Products In Magento 2? (5 minutes)

No comments

As you might know, providing discount and promotions are immensely effective for boosting sales in Magento ecommerce stores. Fortunately, Magento 2 allows us to easily set the sale price/ special price for any products from the backend. In this tutorial, we will show you 5 simple steps to add and apply discount price for your items.

April LeeHow To Add Sale Price for Products In Magento 2? (5 minutes)
read more