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.
method to determine if the SKU ID has its
isFractionalQuantityAllowedfractionalQuantitiesAllowed
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.