Skip to main content
Version: 2.0.0

Store Views

Navigate to yStore → Store → Store Views.

Store views let you run multiple storefronts from a single yStore installation. Each view can have its own language, currency, checkout flow, product rules, customer settings, and order behaviour. A typical use case is a regional store: one view for Slovakia (SK, EUR), one for Hungary (HU, HUF), sharing the same product catalog but with locale-specific prices, taxes, and emails.


How store views work

Each store view shares:

  • The same product catalog
  • The same order management system
  • The same admin CP

Each store view can have its own:

  • Currency and locale
  • Tax rules
  • Checkout configuration
  • Shipping methods
  • Customer group defaults
  • Email templates and branding

Store view fields

FieldDescription
NameDisplay name shown in the CP store selector
CodeURL-safe identifier used in API calls and multi-store routing (e.g. sk, hu, b2b)
EnabledToggle — disabled views are inaccessible from the storefront
CurrencyDefault currency for this view
LocaleLanguage and regional formatting (date, number formats)
TimezoneStore-local timezone for order timestamps and scheduled rules

Per-view configuration tabs

Each store view has five configuration tabs. Navigate to yStore → Store → Store Views → [View name].

Controls how customer accounts behave for this store view:

SettingDescription
Account approval requiredNew accounts need admin approval before they can purchase
Allow guest checkoutWhether visitors can purchase without registering
Default customer groupGroup assigned on registration
Wishlist enabledShow wishlist functionality in this view
Max wishlist itemsPer-wishlist item limit

Creating a store view

  1. Go to yStore → Store → Store Views.
  2. Click New Store View.
  3. Enter a name and unique code.
  4. Select the currency and locale.
  5. Configure the five tabs: Customer, Product, Checkout, Order, Cart.
  6. Enable the view and save.
Code is permanent

The store view code is used as a key throughout the system (API routes, settings keys, email overrides, flow conditions). Once set and used in production, changing it requires updating all references. Choose a stable, short, lowercase code from the start.


Routing store views

Store views are resolved from the request URL or a query parameter. The typical setup maps a Craft site to a store view:

Craft siteURLStore view code
Slovak storefrontsk.yourbrand.comsk
Hungarian storefronthu.yourbrand.comhu
B2B portalb2b.yourbrand.comb2b

The store view code is passed via the storeCode parameter in API requests from the frontend. See the Frontend documentation for how to configure your Twig templates and API calls per store view.


Multi-site vs. multi-store-view

Craft Multi-siteyStore Store Views
ControlsContent, URLs, translationsCurrency, checkout, taxes, customer rules
ScopeCraft entries and assetsyStore orders, products, and settings
Typical mapping1 Craft site per language1 store view per market or segment

In most setups, one Craft site maps to one store view. You can also have multiple store views on a single Craft site (e.g. a B2B toggle within the same site).