Author: Jerin
How to create a custom field in the table.?
create a XML file Vendor/Module/etc/db_schema.xml mention the table tame and the field.
How to solve maintenance down time or capacity Errors ?
Error Service Temporarily Unavailable in Magento 1 You should check if there is a file maintenance.flag in the Magento root folder. Solution Delete the file maintenance.flag in Magento root folder. Service Temporarily Unavailable in Magento 2 Delete a file called var/.maintenance.flag in the Magento root folder Remove Magento cache if there is any: php bin/magento… Continue reading How to solve maintenance down time or capacity Errors ?
How Preconnect speeds up your Magento 2 Store
How to Install Phpmyadmin at linux system
Disable Onepage Checkout using magento backend.
On the Admin sidebar, go to Stores > Settings > Configuration. On the left panel, expand Sales and choose Checkout. Expand the Checkout Options section. If the setting is for a specific store view where the configuration applies. When prompted, click OK to continue. Set Enable Onepage Checkout to No. If necessary, clear the Use system… Continue reading Disable Onepage Checkout using magento backend.
How to disable the Check/money order payment method in frontend-only and enable it in backend in Magento2?
Clone the project from git and setup it in local.
Create a custom filed on the customers section
Create setup file InstallData.php Firstly, we will create theĀ InstallData. File: app/code/<vendorname>/<foldername>/Setup/InstallData.php Define the install() method After that, we have to define the install() method and create eav setup model: Create custom attribute Finally, we need to set the forms in which the attributes will be used. In this step, we need define the eavConfig object which allow us… Continue reading Create a custom filed on the customers section