项目作者: earlelnar

项目描述 :
Magento 2 Custom Category Image Alt
高级语言: PHP
项目地址: git://github.com/earlelnar/m2-category-image-alt.git
创建时间: 2019-10-04T06:17:32Z
项目社区:https://github.com/earlelnar/m2-category-image-alt

开源协议:

下载


SEO Magento 2 Category Image Alt Tag

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.

search_engine_optimization

Installation

  1. Download the extension .zip file and extract the files.
  2. Copy the extension files folder to the {magento2-root-dir}/app/code
  3. Run the following series of command from SSH console of your server:

    1. php bin/magento maintenance:enable
    2. rm -rf var/cache/; rm -rf var/di/; rm -rf generated/; rm -rf var/view_preprocessed/; rm -rf pub/static/*;
    3. php bin/magento setup:upgrade
    4. php bin/magento setup:static-content:deploy -f
    5. php bin/magento cache:flush
    6. php bin/magento setup:clean
    7. php bin/magento maintenance:disable
  4. Go to Admin > Catalog > Categories > Select any category which you like to specify a category image alt text.

category_image_alt


Example

sample_earl


Requirements

Magento 2.4.x Community


Changelog

[Version 2.0.0] (2019-10-4)

[Version 2.0.1] - (2022-20-5)

Improved

  • Refactored the custom module for Magento 2.4.x