The scenario editor and expression editor used with scenarios accepts fractional units. The AddItemToOrder class determines if a fractional quantity is allowed based upon the input provided. If both a product ID and a SKU ID are supplied, the system can easily determine if fractional units are allowed. If no product ID has been provided, the class calls the CatalogTools.
isFractionalQuantityAllowed
method to determine if the SKU ID has its fractionalQuantitiesAllowed property set to true.

For detailed information on working with scenarios, refer to the Guide to Setting Up a Store and the Personalization Programming Guide.


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