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.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardShare This Module's Status
README
Loaded from GitHubGDW 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
- 📢 Comenta a otros sobre este proyecto.
- 👨🏽💻 Da las gracias públicamente.
- 🍺 Invítame una cerveza.
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.