PIMinRiver

inRiver

Set up inRiver to Use Sana Variants

In inRiver the product-to-item relation can be considered as the Sana product variant. You need to create product-to-item relations in inRiver and then define which of these relations will be considered as Sana product variants.

Step 1: To find the necessary relation in inRiver, open the inRiver Product Model. On the right side of the page you will see 2 sections: Included in and Includes. You need to click on Includes to see the list of relations, because the product-to-item relation is the parent-to-child relation.

Step 2: You can create a new relation or use the already existing relations. If you create a new relation, the target entity type of this relation must be Item. Since the item entity type links to the Product Model in inRiver, such relation is considered as product-to-item in inRiver and is used for the Sana product variants.

On the screenshot below you can see a link type with the Item target entity type. You need the Link Type Id of the relation you are going to use. Link type Id is necessary to create a server setting. You can use one or several relations to create a server string.

For example, you want to transfer the Items relation to Sana. Then you need the Link Type Id of this relation, which is: ProductItem.

Step 3: Create the server setting for the product-to-item relation. Go to the Settings in the inRiver Control Center and create the SANA_PRODUCT_TO_VARIANT_RELATIONS server setting. In the value of the server setting enter the Link Type Id of the item relation.

In this case, the server setting should look in the following way: the key is SANA_PRODUCT_TO_VARIANT_RELATIONS and the value is ProductItem.

Step 4: 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 variants are created in the inRiver Enrichment Portal, then after product index is rebuilt, product variants from inRiver will be available in the Sana web store.

PIMinRiver