The vlocity_ins__insOsSingleInstance Lightning Web Component (LWC) retrieves and displays products along with their calculated prices within an OmniScript. Product retrieval and pricing calculations are performed using services provided by the InsProductService class.
When the vlocity_ins__insOsSingleInstance LWC component is added to an OmniScript, it uses the services provided by the InsProductService class to retrieve products and calculate their prices.
The following services are used:
getEligibleProducts: Determines and retrieves the eligible products. The retrieved products are then passed to getRatedProducts to calculate and retrieve the rates.
getRatedProducts: Retrieves product details along with their calculated rates.
repriceProduct: Recalculates rates when a product is customized. This service is not applicable to insOsProductSelection.
After these services are executed, the products and their corresponding calculated prices are displayed in the LWC component.
005387246

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.