...
http://domain.com/AssertWeb/en-GB/site/Catalogue/start/label?market=DE
Permissions
If a market is selected by using popup or by assigning a market to a user, the user will get a market permission. Also anonomous users visiting the site having selected a market will get this market permission. The market permission is the code on the market, eg. IT for Italy. If data is marked with permission IT, data will only be visible for that market.
Info |
---|
This option is available in version 5.1.3 and later. |
Price and Availability providers
Price and availability providers will populate the price lists and warehouses to select in the market setup screen.
Provider | Usage |
---|---|
AssertDbPriceProvider | The drop down with price lists will be populated with the price lists in the Server database. The CODE on the Market |
AssertDbAvailabilityProvider | The drop down with warehouses lists will be populated with the warehouses in the Server database. |
AssertRESTPriceProvider | The price list field will be a free text field. The value in the field will be included in the GetPrice REST call. |
AssertRESTAvailabilityProvider | The wareouse field will be a free text field. The value in the field will be included in the GetAvailability REST call. |
Configuration
Configuration is done in profile.config.
Code Block | ||
---|---|---|
| ||
<MarketManager> <!-- Default market if market cannot be resolved by browser language or no other option exist --> <MarketManager default-market="EN,en-GB"/> </MarketManager> <MarketSetting> <!-- Enable market selection features --> <EnableMarketSelector>true</EnableMarketSelector> <!-- MarketWill present market selector will be shown as a modal popup instead of as a page page at first visit to site by user. If false the market selector bar at the top will be presented instead. --> <EnableMarketViewAsModal>true<<EnableMarketViewFirstSiteVisit>true</EnableMarketViewAsModal>EnableMarketViewFirstSiteVisit> <!-- Will present market selector at first visit to site by userMarket selector will be shown as a modal popup instead of as a page --> <EnableMarketViewFirstSiteVisit>true<<EnableMarketViewAsModal>true</EnableMarketViewFirstSiteVisit>EnableMarketViewAsModal> <!-- Hero image for the market selector screen --> <MarketViewHeaderImage>Download_header.jpg</MarketViewHeaderImage> </MarketSetting> <!-- Layout options for market (and language), see separate article --> <MainLayout> <!-- Will define where market selector is shown. --> <MarketSelector display="header" /> <LanguageSelector display="headertoolbar" /> </MainLayout> |
...
Page Properties | ||
---|---|---|
| ||
|