A message is published to this topic when the cart is loaded with items, either from local storage for an anonymous shopper or from the persistent cart for a registered shopper, and is ready for use. This topic allows subscribers to access the cart items and their associated product details.

$.Topic(PubSub.topicNames.CART_READY).publish(cart);
Arguments

cart: The current CartViewModel. See the View Model for Oracle Commerce Cloud Service for details on what this view model contains.

Memory enabled

No


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices