How the Store View affects categories and products
This is an old revision of the document!
Before you create a multi-view store, you must consider what prices and other product attributes you want to use in each store view. For example, like almost all other professional e-commerce software, Magento allows only one price per product. In database terms, there is one standard price or tiered price structure per SKU, Stock-Keeping Unit.
If you design a store with one view per language, you will normally want to use the same products for all languages (i.e. in all store views). This allows you to use the same basic product information (SKU, price, inventory level etc) regardless of language, and just have the text translated to the selected languages.
If you want to use a totally different price structure for different target groups, you must create unique products for each view, with unique SKUs, and have one store view per customer group you’re selling to.
To get a better view of what information Magento ties to the Product, Website or Store views, open Catalog > Manage Products and click on a product in the sample database to study it in detail. As you can see, the scope of each attribute is shown as [GLOBAL],[WEBSITE] or [STORE VIEW].
- The Product name belongs to the Store View, which enables you to use a different product name depending on language.
- The SKU is a Global attribute - it is the same for all views.
- The Product Status has a Website scope, meaning that you can hide or show a product per Website, affecting all store views for that Website.
When you edit a Product, the store view can be changed in the top left corner of the window. Each attribute that has a Website or Store View scope will then show its contents for that view, or its default setting. To modify the attribute settings for customers using the French view, you must select the French view in Manage Products. Attributes with a Global scope can be modified in any view.
Press the Back button in the button bar to return to the list of Products. As you can see, the same Choose Store View selector is placed on top of the product list. If you have selected a particular view, you only see the products available in that view.
Open Catalog > Manage Categories.
The Choose Store View selector in the upper left-hand corner of the window allows you to show only the parts of the category tree that are available in a particular e-store .
Click on a category in the sample database to study it in detail. As you can see, much of the information for a category has a Store View scope. These attributes can be given separate values for each store view they are used in. Example: if you design a store with one view per language, you must select a language to modify the corresponding text fields.