Search by

yireo / magento2-store-view-commands

yireo

N/A

Package info

github.com/yireo/Yireo_StoreViewCommands

Type:magento2-module

pkg:composer/yireo/magento2-store-view-commands

Fund package maintenance!

yireo

www.paypal.me/yireo

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-10-28 11:02 UTC

This package is auto-updated.

Last update: 2026-11-24 15:07:35 UTC


README

Magento version PHP version License Latest Version

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>

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation