Magento 2 – How to remove the autocomplete on forms on checkout

If you need to remove the autocomplete on any form on checkout you need to overwrite the file that contains the form html and add the autocomplete=”off” attribute.   For example for the shipping address form you need to overwrite this file: vendor/magento/module-checkout/view/frontend/web/template/shipping-address/form.html   And add the autocomplete=”off” attribute like this:   <form autocomplete=”off” class=”form […]

Magento 2 – How to create a new theme

The first thing that you should know when you start a Magento 2 project is that you shouldn’t modify the out of the box Magento files. These are located in the “vendor” folder. If you use git, the “vendor” folder is included in .gitignore file. So if we cannot modify the vendor files, we need to […]

Magento 2 : How to create a new admin user from terminal

If you want to create a new admin user from terminal in Magento 2 you need to run this command into your Magento 2 directory. php bin/magento admin:user:create –admin-firstname=Jane –admin-lastname=”Doe” –admin-email=”janedoe@email.com” –admin-user=jane –admin-password=”yourpassword1″ Your password must include both numeric and alphabetic characters.

How to enable/disable maintenance mode on Magento 2

You can enable the maintenance mode by going to your Magento’s directory and run this command:         php bin/magento maintenance:enable   If you want to set the maintenance flag for everyone, except one ip/ips, you need to run the command: magento maintenance:enable –ip= –ip= So everyone, except those 2 ips, will see the maintenance mode […]