Declarative Schema in Magento 2.3
Database, Magento2

Declarative Schema in Magento 2.3

What is declarative schema in Magento 2?Declarative Schema aims to simplify the Magento installation and upgrade processes. Previously, developers had to write database scripts in PHP for each new version of Magento. Various scripts were required for Installing and upgrading the database schema Installing and upgrading data Invoking other operations that are required each time Magento was installed or upgraded…

Continue Reading

Validate a custom form in Magento 2
Magento2

Validate a custom form in Magento 2

In this article you will learn custom validation rule in Magento 2 form. In order to demonstrate how to get the forms to be validated, let’s create a validation-free form with some fields. Here is the simple form which consist email text field and submit button. There are three different ways to use form validation in magento 2 Way One…

Continue Reading

/home/owner/Downloads/How to create Custom Magento2 less theme_ .jpg
Magento2

How to create Custom Magento2 less theme?

In this blog We will discuss how to create custom less theme in Magento2 ? Step 01 : Create Directory Structure in Magento 2 Theme Development Magento 2 themes are located in the /app/design/frontend folder. First, It’s necessary to create a Vendor folder and then create a theme folder inside of it. For example: /app/design/frontend/V4U/Samplelesstheme. V4U is a vendor, Samplelesstheme…

Continue Reading

/home/owner/Downloads/How to create Custom Magento2 theme_.jpg
Magento2

How to create Custom Magento2 theme?

In this blog We will discuss how to create custom theme in Magento2 ? Step 01 : Create Directory Structure in Magento 2 Theme Development Magento 2 themes are located in the /app/design/frontend folder. First, It’s necessary to create a Vendor folder and then create a theme folder inside of it. For example: /app/design/frontend/V4U/sampletheme. V4U is a vendor, sampletheme is…

Continue Reading

use cookie in magento2
jQuery, Magento2

How to use Cookie in Magento2?

In this blog We will discuss the topic of how to use Cookie in Magento2? Cookies are the most used technology for storing data on the client side. You can add below code in your phtml file or convert that code for js file also. Set cookie : To both create and retrieve a cookie, jquery.cookie uses the same method, cookie(),…

Continue Reading

Commands, Errors, Magento2, Magento2 Commands

Magento 2.4.0 – Getting Error Could not validate a connection to Elasticsearch. No alive nodes found in your cluster

Magento Open Source 2.4.0 support for PHP 7.4, Elasticsearch 7.6.x, and MySQL 8.0. So It’s essential to install Elasticsearch. You must install Elasticsearch before installing Magento Commerce or Magento Open Source 2.4.0. See Elasticsearch for details. Run the below command to Install Elasticsearch In locally. Download and install the public signing key : wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key…

Continue Reading

How to setup existing Magento 2 Project ?
Magento2

How to setup existing Magento 2 Project?

In this tutorial you’ll learn how to setup existing magento 2 project in new domain or locally. Follow below steps to setup existing magento 2 project. Import Database : Import the database by using this command. mysql -u [username] -p newdatabase < [database name].sql; Clone/Extract the Source code. Clone or extract the source code of magento 2. Run Composer Install…

Continue Reading

Magento 2 Modes_ Default, Developer, Production and Maintenance
Commands, Magento2, Magento2 Commands

Magento 2 Modes: Default, Developer, Production and Maintenance

In this tutorial you’ll learn different Magento 2 Modes. Earlier, Magento 1 was operated with a single mode for development as well as production. However, the Magento 2 came with below modes. Magento 2 Modes : Default, Developer Production and Maintenance. Let’s review through each of them in detail. (01) Default : As the name suggests, the default mode is…

Continue Reading