magento-multi-store

Configure Magento multi-website hierarchies with scoped configuration, nginx routing, and shared catalogs.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill magento-multi-store-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: magento-multi-store
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/platform-integrations-infrastructure/finsilabs/platform-magento/magento-multi-store
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill magento-multi-store-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running multiple brands, country storefronts, or B2B portals from a single Magento installation requires correctly setting up the Website → Store → Store View hierarchy, routing traffic per domain, and scoping configuration values — tasks that are error-prone when done manually through the admin UI. ## Core Features & Use Cases - Multi-Store Hierarchy Setup: Create websites, stores, and store views programmatically in PHP or via the admin, with correct root category assignment. - nginx Domain Routing: Map hostnames to MAGE_RUN_CODE and MAGE_RUN_TYPE so each domain serves the right store view or website without touching application code. - Scoped Configuration: Set base URLs, currencies, locales, and payment methods at website or store-view scope using bin/magento config:set or WriterInterface, with proper cache invalidation. - B2B Shared Catalogs: Assign companies to Adobe Commerce shared catalogs for per-company product and pricing visibility. - Use Case: Launch a UK storefront, a German storefront, and a wholesale B2B portal on one Magento instance, each with its own domain, currency, and customer base. ## Quick Start Ask the AI to configure a new Magento website with its own subdomain, currency, and locale, including the nginx routing and scoped config commands.

Frequently Asked Questions about magento-multi-store

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up multiple websites in Magento on one installation?▼

Create the Website → Store → Store View hierarchy via Admin → Stores → All Stores or programmatically in PHP using the Website, Group, and Store models. Core Magento does not ship store:website:create CLI commands, so use the admin or custom PHP code.

How to route multiple domains to Magento store views with nginx?▼

Use nginx map blocks to map $http_host to MAGE_RUN_CODE and MAGE_RUN_TYPE, then pass them via fastcgi_param inside the PHP location block. Use 'store' routing for language variants and 'website' routing for separate customer bases.

What is the difference between Magento website scope and store view scope?▼

A website has its own customer base, orders, and payment methods, while a store view typically represents a language or locale sharing the website's customers. Configuration set at website scope is overridden by store-view-scope values.

Why is my Magento website showing global prices instead of website prices?▼

Website-scoped pricing is disabled by default. Enable it with bin/magento config:set catalog/price/scope 1, then run bin/magento indexer:reindex catalog_product_price to rebuild the price index.

Why are scoped config changes not taking effect in Magento?▼

Configuration values are cached, so changes made via config:set or WriterInterface do not appear until the config cache is cleaned. Run bin/magento cache:clean config after every change and verify the scope code spelling matches exactly.

Does Adobe Commerce support per-company product visibility?▼

Yes, Adobe Commerce B2B provides Shared Catalogs that control product and pricing visibility per company. Assign companies to a custom shared catalog via the SharedCatalog API; guests and non-company customers see only the public catalog.