Order Items Have Blank productData on Checkout Page

(Doc ID 2405397.1)

Last updated on MAY 31, 2018

Applies to:

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

Symptoms

In custom checkout widget, the cart.items()[i].productData are undefined on the checkout page. This productData property of items currently in the cart should contain the item's product information to be rendered on checkout page or other purpose such as contents for third party email service.

Reproducible steps:

  1. Go to the test storefront
  2. Add any two products to the cart.
  3. Proceed to the checkout page.
  4. Create a custom checkout widget from OOTB checkout widget.
  5. In a JavaScript file, try to access cart.items()[i].productData in checkoutStartedEvent function and reference the displayName property inside the productData object. It will be undefined.

Changes

 

Cause

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