Magento 2: upload file in frontend

Add menu in Dashboard customer_account.xml in this route_nam_controller_name_action_name.xml layout file call this phtml file ADD this HTML to your .phml file which one used for file upload now user select file and upload here and when user submits button click then ACTION PATH controller call.put this code into your this controller file.

SQL Issue on the server

Job for mysqld.service failed See “systemctl status mysqld.service” This message came after deploying the mysql service and we will not be able to run the service. use the terminal to route to the following commands This will resolve the issues on the server and will be able to run the MySQL services on the local… Continue reading SQL Issue on the server

Add Custom Currency to Magento 2

As we all know Magento 2 does not support CryptoCurrency yet, so here we are going to learn how we can add a new currency. The very first step to start with is to modify your module’s registration.php file Here is the code for the CurrencyBundle.php file, keep this fine in app/code/Vendor/Module/Override/CurrencyBundle.php Now we will… Continue reading Add Custom Currency to Magento 2