Class Name |
|
---|---|
Component(s) |
|
The ReanimateAbandonedOrderDroplet
servlet bean reanimates an abandoned or lost order. 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.Modifies the order’s
abandonmentInfo
item as follows:Sets the
state
property to REANIMATED.Sets the
reanimationDate
property to the current date and time.
Fires an
AbandonedOrderReanimated
message if theAbandonedOrderTools.sendOrderReanimatedMessage
property is set totrue
.
Note that if the given order is not abandoned or lost, the action does nothing.
See the Using Abandoned Order Services chapter in the Core 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 reanimated.
error
This parameter is rendered if an error occurs.
Example
<dsp:droplet name="ReanimateAbandonedOrderDroplet"> <dsp:param name="orderId" bean="/atg/commerce/ShoppingCart.current.id"/>… </dsp:droplet>