dynamicProperties for Cart Are Getting Cleared for Anonymous Users (Doc ID 2271815.1)

Last updated on JUNE 06, 2017

Applies to:

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

Symptoms

Dynamic properties for cart/order are having issues for anonymous users. The dynamicProperties are getting cleared every time the consumer adds something into the cart, and as a result we lose information for dynamic properties.

Steps To Reproduce:

1. Customize any widget to include dynamic properties in cart view model.

Note: Please refer following doc to understand how to add dynamic properties in order.
http://docs.oracle.com/cd/E73348_01/Cloud.16-2/UsingCC/html/s2404addcustompropertiestoanordertype01.html

2. Go to storefront.
3. Add items to cart.
4. Go to checkout page.
5. Select/change shipping method. It triggers price order endpoint call and the response of price order call overrides previously entered dynamic properties value.

Expected behavior: Price Order endpoint should not override previously selected dynamic properties.
Root Cause: Price Order endpoint is not including dynamicProperties in the request payload.



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