Versions Compared

Key

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

For anonomous users it is possible to define markets and connect markets to price lists, availability and languageswarehouse (availability). A market will also have a suggested language to make it easier for the user.

Info

Markets functionality is available in version 5.1 and later

...

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.

Directing user to a market using URL

It is possible to point a user to the site and select a market by adding the market to the URL. The market is referred using the code of the market (code column in settings page above).

This is how the url may look like.

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
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>
  <!-- Enable market selection features -->
  <EnableMarketSelector>true</EnableMarketSelector>
  <!-- Will present market selector page at first visit to site by user. If false the market selector bar at the top will be presented instead. -->
  <EnableMarketViewFirstSiteVisit>true</EnableMarketViewFirstSiteVisit>
  <!-- Market selector will be shown as a modal popup instead of as a page -->
  <EnableMarketViewAsModal>true</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>

...

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

Related issues