yireo / magento2-store-view-commands
N/A
Package info
github.com/yireo/Yireo_StoreViewCommands
Type:magento2-module
pkg:composer/yireo/magento2-store-view-commands
1.0.0
2026-10-28 11:02 UTC
Requires
- php: >=8.2 <8.6
- magento/framework: ^103.0
- magento/module-store: ^101.1
- symfony/console: ^5.0 | ^6.0 | ^7.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-24 15:07:35 UTC
README
This Magento 2 module adds a couple of CLI commands for managing Store Views
Installation
composer require yireo/magento2-store-view-commands bin/magento module:enable Yireo_StoreViewCommands
Usage
Create a new StoreView:
bin/magento store:view:create <code> <name> <website_id> [--group-id=<id>] [--inactive]
Without --group-id, the store view is added to the default store group of the website.
Update an existing StoreView (by ID or code):
bin/magento store:view:update <id_or_code> <new_code> <new_name> <website_id> [--force]
Changing the code of the default store view of a store group requires --force.
Show the details of a StoreView:
bin/magento store:view:detail <code>