Follow the below steps to rewrite controller
Step 1 : Create di.xml file
You can rewrite controller using preference. Continue reading Magento 2 Rewrite Controller
Follow the below steps to rewrite controller
Step 1 : Create di.xml file
You can rewrite controller using preference. Continue reading Magento 2 Rewrite Controller
Follow the below steps to create Admin Access Control Lists.
Step 1: Create ACL rule
Step 2: Flush Magento cache
Step 3: Check ACL rule
Step 1: Create ACL rule Continue reading Magento 2 Admin ACL
Follow the below steps to create admin manu in Magento 2.
Step 1: Create menu.xml
Step 2: Add menu item
Step 3: Flush Magento cache Continue reading Magento 2 Create Admin Menu
Follow the below steps to create View.
Step 1: Create controller
Step 2: Create layout file .xml
Step 3: Create block Continue reading Magento 2 Create View
Follow the below steps to create CRUD Model in Magento 2
Step 1: Setup Script
Step 2: Create Model
Step 3: Create Resource Model
Step 4: Create Resource Model Collection Continue reading CRUD Models Magento 2
Modules name and its version are normally defined in etc/module.xml file.
These information will also be stored in the table setup_module.
The following command will enable all cache types
php bin/magento cache:enable
If you would like to enable specific cache type, you should type command line
php bin/magento cache:enable CACHE_TYPE
The following command will disable all cache types
php bin/magento cache:disable
If you would like to disable specific cache type, you should type command line
php bin/magento cache:disable CACHE_TYPE
Run the following command to see the cache status
php bin/magento cache:status
Current status:
config: 1
layout: 1
block_html: 1
collections: 1
reflection: 1
db_ddl: 1
eav: 1
customer_notification: 1
config_integration: 1
config_integration_api: 1
full_page: 1
translate: 1
config_webservice: 1
Follow the below steps to create controller in Magento 2
Step 1: Create routes.xml file.
File: app/code/PHPCodez/First/etc/frontend/routes.xml Continue reading Create Controller in Magento 2