The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
626 Ready
464 Need Help
🏆 Leaderboard
Actively Maintained v4.4.3

GDW AddCodeStore for Magento 2

gdw/addcodestore

Adds the current store and website code as classes on the HTML body tag, making it easy to target store- or website-specific styling and behavior in multi-store Magento 2 setups.

25
Downloads
Below average
0
GitHub Stars
28d ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 36 warnings
PHPStan Level 9

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v4.4.3 on Magento 2.4.9
Jun 7, 2026
v1.0.6 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

GDW AddCodeStore for Magento 2 Magento compatibility status badge

README

Loaded from GitHub

GDW AddCodeStore para Magento 2

Este módulo tiene la finalidad de agregar el código de tienda y sitio web a la etiqueta BODY, el objetivo es poder diferenciar las tiendas.

Compatibilidad

  • Rama 4.4.x: Magento 2.4.4+ con PHP 8.1+
  • Rama 4.x: Magento 2.4.0 a 2.4.3 con PHP 7.4
  • Rama 3.x: Magento 2.3.x con PHP 7.4
Ejecuta los siguientes comandos en la ruta base de Magento.

Instalación

composer require gdw/addcodestore

php bin/magento module:enable GDW_AddCodeStore
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Actualización

composer update gdw/addcodestore

php bin/magento module:enable GDW_AddCodeStore
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Eliminación

php bin/magento module:disable GDW_AddCodeStore
composer remove gdw/addcodestore
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Expresiones de gratitud

Otros enlaces

Documentación

Changelog

Consulta el changelog del módulo en:

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.