How to load customer by email in magento2?

Today I am going to show you how we can get customer by email in Magento 2 If you need to get customer in Controller, Block, Helper or Observer then please follow the code If you wan’t to get customer in .phtml file then follow the code

How to create custom knockout js component in Magento 2.x

Knockout js is javascript library. Magento use knockout js most of pages. Magento 2.x checkout all section developed using knockout js. Today we create a simple knockout js module in Magento 2. We display a simple message using the custom knockout js component. Let’s start by creating a simple knockout module. Step1. Create module directory… Continue reading How to create custom knockout js component in Magento 2.x

How to create product attribute in Magento 2.x using InstallData.php

Today we create a module for creating product attribute in Magento 2. This blog is for Magento 2.x product attribute. How we can create attribute using our custom module. Let’s start by creating a custom attribute module. Go to the Magento app/code directory and create a directory with your vendor name. My vendor name is… Continue reading How to create product attribute in Magento 2.x using InstallData.php