Set Custom Category Image Alt to catalog category images for SEO purpose.
By default Magento 2 has only these category attributes under Search Engine Optimization.
- Download the extension .zip file and extract the files.
- Copy the extension files folder to the {magento2-root-dir}/app/code
- Run the following series of command from SSH console of your server:
php bin/magento maintenance:enable
rm -rf var/cache/; rm -rf var/di/; rm -rf generated/; rm -rf var/view_preprocessed/; rm -rf pub/static/*;
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento setup:clean
php bin/magento maintenance:disable
- Go to Admin > Catalog > Categories > Select any category which you like to specify a category image alt text.
Magento 2.4.x Community
- Refactored the custom module for Magento 2.4.x