Architecture Overview

This topic applies to

Applies to

SuiteCommerce Web Stores

The correlated and related items architecture functions in the following manner:

  1. The Item.Details.View.js file contains two child views, one for correlated items and one for related items.

  2. The ItemRelations.Correlated.View.js and ItemRelations.Related.View.js child views invoke a fetch requests to the corresponding collection.

  3. The ItemRelations.Correlated.Collection.js and the ItemRelations.Related.Collection.js modules call the Search API for correlated and related items, respectively.

  4. The Search API syncs with the data stored in NetSuite.

  5. The ItemRelation.Correlated.View.js and ItemRelation.Related.View.js files receive the correlated or related items from the Search API.