PIMinRiver

inRiver

Retrieve Product Titles from inRiver

You can create product titles in inRiver, import them to Sana and use them in your Sana web store.

You need to determine which field from inRiver to use as a title and then create the inRiver server setting.

Step 1: Open the inRiver Product Model. In the Fields section select the field which should be considered as the product title field for Sana. Then you need to find the Field Type Id of the selected field. The value of the Field Type Id field will be used to create a server setting. In this case, the value is ProductName.

It is recommended to select the field of one of the following field types:

  • String
  • LocaleString

The field of "LocaleString" type is the most suitable, because this field type allows to translate titles to multiple languages and then use them in the Sana web store.

Step 2: Go to the Settings in the inRiver Control Center. Create the SANA_PRODUCT_TITLEFIELD server setting and add the value of the Field Type Id field to the value of this setting.

The server setting should look in the following way: the key is SANA_PRODUCT_TITLEFIELD and the value is ProductName.

Step 3: When the server setting is created, you need to rebuild the product index. Open Sana Admin and click: Tools > Scheduled tasks. Run Rebuild index for the Product import task. Then, refresh the site cache.

If product titles are created in the inRiver Enrichment Portal, then after product index is rebuilt, product titles from inRiver will be available in the Sana web store on all pages, besides shopping cart and product details pages.

Replace product titles

You can replace the product titles from the ERP system with product titles from inRiver in the shopping cart and on the order details pages.

Since products are shown with inRiver titles, for example, on the product details and product list pages, while in the shopping cart and on the order details pages the same products are shown with the titles retrieved from the ERP system, it can confuse a user. Thus, you can use SANA_PRODUCTTITLE_REPLACEMENT_FUNCTIONS server setting in inRiver to replace the product titles from the ERP system in the shopping cart and on the order details pages.

Go to the Settings in the inRiver Control Center and create the SANA_PRODUCTTITLE_REPLACEMENT_FUNCTIONS server setting. In the value of this setting enter CalculateBasket;SaveOrder;GetOrders.

You can also replace titles separately in the shopping cart and on the order details pages. For example, if you enter value CalculateBasket for the server setting, then only product titles in the shopping cart will be replaced.

PIMinRiver