Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In case there are several markets for the same country, but with different language, the market will display with the language afterwards within ().

...

Selected market is stored in a cookie.

...

Defining markets

Available markets are defined in admin section where all markets are created. Each market may have a price list and a warehouse. If a market does not have a price list or a warehouse, that market will not display prices or availability. Each market is also connected to a default language which will be set when user selects that market.

...

In the case the automatically created name for the market is not wanted, it is possible to add a custom name. This custom name will then display instead of the automaticall created name. The custom name is a key text so it may be translated using custom-texts.config.

Price and Availability providers

Provider

Usage

AssertDbPriceProvider

The drop down with price lists will be populated with the price lists in the Server database.

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

...

TBPis done in profile.config.

Code Block
languagexml
<MarketManager>
  <!-- Default market if market cannot be resolved by browser language or no other option exist -->
  <MarketManager default-market="EN,en-GB"/>
</MarketManager>
<MarketSetting>
  <!-- Will present market selector at first visit to site by user -->
  <EnableMarketViewFirstSiteVisit>true</EnableMarketViewFirstSiteVisit>
  <!-- Hero image for the market selector screen -->
  <MarketViewHeaderImage>Download_header.jpg</MarketViewHeaderImage>
</MarketSetting>
<!-- Layout options for market (and language), see separate article -->
<MainLayout>
  <MarketSelector display="header" />
  <LanguageSelector display="headertoolbar" />
</MainLayout>

For UI options for market selector see Technical documentation - Main Layout and navigation bar

For configuration of price and availability providers see separate articles.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1ecd09
showSpacefalse
sortmodified
typepage
reversetrue
labelspresentationsettings references
cqllabel in ( "presentationsettings" , "references" ) and type = "page" and space = "ASKB"
Page Properties
hiddentrue

Related issues