Basket and Wish List
Commerce stores user baskets and wish lists under a OneList object, which is only stored in the local Commerce Database and is not sent to LS Central. The data can be found in tables named OneListXxxxx.
When the user is ready to complete an order, a calculation request for OneList must be sent in to get all the latest prices and discounts from LS Central. These requests return either an Order or OrderHosp object, depending on which Calculation function is called that has been updated with the result from the Calculation data. These objects should be updated with shipping details, payments, and other details, if needed, and then sent in with either an OrderCreate or OrderHospCreate request to create the order.
Functions to handle the basket and wish list are:
OneListSave OneListDeleteById OneListGetByCardId OneListGetById |
OneListCalculate OneListHospCalculate OneListItemModify OneListLinking |
See also