If you want to configure the product images size you need to change some properties in the view.xml configuration file. Overwrite the view.xml file in your custom theme If you already have a custom theme (you can read more here about custom themes) you need to go to the app/design/frontend/YourVendorName/YourThemeName path and make an etc folder with […]
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 […]
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 can run into the following modes: – default – developer – production Magento 2 comes with the default mode activated. If you do a change in the view files, it cannot be seen until you clean the generated static view files. The developer mode should be used when you do customizations […]
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=”firstname.lastname@example.org” –admin-user=jane –admin-password=”yourpassword1″ Your password must include both numeric and alphabetic characters.
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=188.8.131.52 –ip=184.108.40.206 So everyone, except those 2 ips, will see the maintenance mode […]