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