How To Add Product Unit Price Data In Email Template

(Doc ID 2374827.1)

Last updated on APRIL 09, 2018

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

We are trying to show a purchased product's unit price in an "order placed" notification email template. As per the current documentation OCCS provides the following data:

orderItems (array) ->
  items (object) ->
  availabilityDate (string)
  backOrderedQuantity (integer)
  catRefId (string)
  imageLocation (string)
  location (string)
  orderItems (null)
  preOrderedQuantity (integer)
  price (string)
  productId (string)
  quantity (integer)
  title (string)

How could we add Unit price to the email template?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms