How to create a custom module in Magento 2

preview_player
Показать описание
After creating all the necessary files run the below CLI commands:
1. php bin/magento setup:upgrade
2. php bin/magento cache:clean
3. php bin/magento indexer:reindex

If you found that the CSS and JS files are missing after running the upgrade kindly run :
4. php bin/magento setup:static-content:deploy

In certain version of Magento 2 it will throw some error if the action tag is left empty. So simply add a default controller in it e.g action="catalog/product/" which will take you to the product grid when you click on any of the sub-menu.

Follow me -
Twitter : @routbiplab93
Рекомендации по теме
Комментарии
Автор

Nice explanatiom please make more vedios it will help us

himabindhu
Автор

very good explanation and informative, thanks for your effort!

johnnguyen
Автор

Very well explained. Thankyou so much. !!!

awadhesh
Автор

"Without further ado, let's start" - Monty Python's favourite ;)

poppyseed-games
Автор

Thanks in advance Please do vedio for layout, block, template

bodipudivenkatarao
Автор

I have done the same process as given by you in this video.but my new custom model(menu)is not showing in Magento dashboard (menus)

geetanatani
Автор

can I create brand image slider without using any magento extensions?

mohitlandge
Автор

you have not told that whats the naming convention of "nameSpace" and "ModuleName" ?
Because the error that I have mentioned in below comment is solved by fallowing naming convention of yours project as mentioned in this tutorial.

ammarkhan
Автор

hy can you share how to create custom payment gateway in magento 2.3

pankajwalletdoc
Автор

if you are using docker (dockergento ) use commands like
dockergento magento setup:upgrade
dockergento magento cache:clean
dockergento magento indexer:reindex

gigatodadze
Автор

after trying this ... my magento siteshowing 404 not found

mohammadmithlajkn
Автор

whenever i check the module status in command prompt it showing the module name but not displaying on admin panel, iam using Magento2.2.9

bhargaviquad
Автор

Hi, I have created the custom menu. But submenus are not showing. Can you help me to solve the issue?
And please add a video for adding custom fields for products

leoelsakoshy
Автор

how to override js and css file in Magento 2 as its not reflecting after upgrade.

Satish-Facts
Автор

I have done everything correctly but when I logged in to my Magento Admin Panel, this error arises:
Param resource doesn't pass validation: does not match against pattern How to solve this problem ?

ammarkhan
Автор

share the xml code code in the description...it will be helpfull

mohammadmithlajkn
Автор

Very nicely explained.. Pls send your email, wll reach out if need a module to be created for my website. Thanks, Anand

khatricreations
join shbcf.ru