Removes specified fields from billing and shipping checkout forms.
- Download the plugin from the GitHub repository.
- Extract the downloaded archive.
- Copy the extracted folder to the
app/code
directory of your Magento installation.
Alternatively, you can install the plugin using Composer:
- Add the plugin repository to your
composer.json
file:{ "repositories": [ { "type": "vcs", "url": "git@github.com:drazulay/magento2-remove-checkout-fields.git" } ] }
- Require the plugin by running the following command from the root of your Magento installation:
composer require drazulay/magento2-remove-checkout-fields
- Install the plugin by running:
composer install
- Enable the plugin by running the following commands from the root of your Magento installation:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy
- Flush the Magento cache by running:
php bin/magento cache:flush
- That's it! The plugin is now installed and enabled.
To configure the plugin, navigate to Stores > Configuration > Sales > Checkout > Remove Checkout Fields
in the Magento Admin Panel.
- Select the fields you want to remove from the billing and shipping checkout forms.
- Save the configuration.
- The selected fields will no longer be displayed in the checkout forms.
- If you want to revert the changes, simply unselect the fields you want to display again and save the configuration.
- The selected fields will now be displayed in the checkout forms again.
- Enjoy!
If you have any questions or need help, feel free to contact me at daniel@danielazulay.eu.
If you like the plugin, please consider leaving a review on the GitHub repository.