Install and configure the Litium Nosto Connector add-on

Read how to install the Litium Nosto Connector and update templates to work with it.

Install

  1. Install the Litium.AddOns.Nosto addon from Litium NuGet feed in your MVC/Web project. 
  2. Copy the Litium.AddOns.Nosto.dll.config file from packages/Litium.AddOns.Nosto.xxx/content/config and paste in your wwwroot\Site folder.
  3. Alter the config file with your Nosto account variables and your solution Litium field Ids and the custom fields.

Configuration

  • "name" attribute is for system use on picking up the element and MUST be unique in order to be picked up otherwise only the first one will be picked by system
  • "nodeId" attribute vill be shown as class id/name for nosto field elements
  • "litiumId" attribute is the Id of the field in Litium which it will get value from

When chosing a multifield from Litium then the Nosto class name will be the Id of the Litium field and value vill be value from that field so "nostoId" will not get printed as class name on the those elements

If you need to override the values from system fields then you need to use Litium Decorator approach on INostoProductService read more on how to decorate a service..

Quick verification

On product pages click F12 and check the Nosto elements under div id="Globalnotification" / div class="nosto_product"

For quick verificaiton of whether the Nosto connector works, just add the text ?nostodebug=true into the url:

http://yourdomain/?nostodebug=true

This also can help in future testing.