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
abandonedOrdersprofile property if the order was abandoned and not lost or reanimated.Modifies the order’s
abandonmentInfoitem as follows:Sets the
stateproperty to CONVERTED.Sets the
conversionDateproperty to the current date and time.
Fires an
AbandonedOrderConvertedmessage if theAbandonedOrderTools.sendOrderConvertedMessageproperty 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>

