Class Name |
|
---|---|
Component(s) |
|
The ConvertAbandonedOrderDroplet
servlet bean replaces the abandoned, reanimated, or lost designation for a given order with a converted designation. More specifically, it does the following:
Removes the order from the list of abandoned orders in the user’s
abandonedOrders
profile property if the order was abandoned and not lost or reanimated.Modifies the order’s
abandonmentInfo
item as follows:Sets the
state
property to CONVERTED.Sets the
conversionDate
property to the current date and time.
Fires an
AbandonedOrderConverted
message if theAbandonedOrderTools.sendOrderConvertedMessage
property is set totrue
.
Note that if the state
property in the order’s abandonmentInfo
item is null, then the order has never been abandoned, and the action does nothing.
See the Using Abandoned Order Services chapter in the ATG Commerce Programming Guide for detailed information on the Abandoned Order Services module.
Input Parameters
orderId (Required)
The ID of the current order.
Output Parameters
None.
Open Parameters
output
This parameter is rendered when an order is converted.
error
This parameter is rendered if an error occurs.
Example
<dsp:droplet name="ConvertAbandonedOrderDroplet"> <dsp:param name="orderId" bean="/atg/commerce/ShoppingCart.current.id"/>… </dsp:droplet>