Steps to Create Model, Resource Model, and Collection in Magento 2

Hello Everyone! Here in this blog we will learn how to create Model, Resource Model and Collection in Magento. Before moving towards Models firstly we have to create a table in database. For that we need to create db_schema.xml file inside etc folder. Step 1: Create a vendor folder inside app/code and inside Vendor's folder … Continue reading Steps to Create Model, Resource Model, and Collection in Magento 2

STEPS TO CREATE SIMPLE HELLOWORLD MODULE IN MAGENTO2

This Helloworld module will create a Controller that will open a page with content from a phtml file Step1: Create a vendor folder inside app/code (app is the core folder in magento) Folder :-app/code/Pravams (Vendor's name could be any) Step 2: Create a module folder inside app/code/Pravams Folder:- app/code/Pravams/Helloworld Step 3: Now inside Helloworld create … Continue reading STEPS TO CREATE SIMPLE HELLOWORLD MODULE IN MAGENTO2