The /atg/commerce/order/abandoned/AbandonedOrderTools component stores the central configuration for the entire Abandoned Order Services module, including the definition of names for required properties, repository items, and abandonment states. The following table describes important properties you may want to configure.

Properties that store state names

Description

Default value

abandonableOrderStates

The list of possible order states an order can be in to be considered for identification as abandoned or lost.

INCOMPLETE

reanimateableAbandonmentStates

The list of possible abandonment states that an order can be in to be considered for identification as reanimated.

ABANDONED,LOST

defaultAbandonedState

The abandonment state to assign to orders identified as abandoned.

ABANDONED

defaultReanimatedState

The abandonment state to assign to orders identified as reanimated.

REANIMATED

defaultConvertedState

The abandonment state to assign to orders identified as converted.

CONVERTED

defaultLostState

The abandonment state to assign to orders identified as lost.

LOST

reanimatedAbandonmentStates

The list of possible abandonment states that an order can be in to be considered reanimated. Used to identify reanimated orders that should be considered re-abandoned.

REANIMATED

lostAbandonmentStates

The list of possible abandonment states that an order can be in to be considered lost.

Used to determine if an order has already been identified as lost.

LOST

Properties that store
item names

Description

Default value

orderItemName

The name of the order item descriptor in the order repository.

Reference to /atg/commerce/order/OrderTools.orderItemDescriptorName

profileItemName

The name of the profile item descriptor in the profile repository.

Reference to /atg/userprofiling/ProfileTools.defaultProfileType

abandonmentInfoItemName

The name of the item descriptor in the order repository that holds abandonment information for an order.

abandonmentInfo

abandonedOrderItemName

The name of the abandoned order item descriptor in the profile repository.

abandoned-order

Properties that store
property names

Description

Default value

abandonmentInfoPropertyName

The name of the property in the order item that holds its abandonmentInfo item.

abandonmentInfo

profileIdPropertyName

The name of the property in the order item that holds the profile ID of the user that owns the order.

profileId

abandonedOrderOrderIdPropertyName

The name of the property in the abandoned-order item that holds the ID of the order.

orderId

abandonedOrderProfileIdPropertyName

The name of the property in the abandoned-order item that holds the ID of the profile that owns the order.

profileId

abandonmentStatePropertyName

The name of the property in the abandonmentInfo item that holds the abandonment state of the order.

state

orderPropertyName

The name of the property in the abandonmentInfo item that holds the order with which it is associated.

order

orderIdPropertyName

The name of the property in the abandonmentInfo item that holds the ID of the associated order.

orderId

abandonmentCountPropertyName

The name of the property in the abandonmentInfo item that indicates the number of times the associated order has been abandoned.

abandonmentCount

abandonmentDatePropertyName

The name of the property in the abandonmentInfo item that holds the date and time when the order was most recently identified as abandoned.

abandonmentDate

reanimationDatePropertyName

The name of the property in the abandonmentInfo item that holds the date and time when the order was most recently reanimated.

reanimationDate

conversionDatePropertyName

The name of the property in the abandonmentInfo item that holds the date and time when the order was identified as converted.

conversionDate

lostDatePropertyName

The name of the property in the abandonmentInfo item that holds the date and time when the order was most recently identified as lost.

lostDate

lastUpdatedPropertyName

The name of the property in the abandonmentInfo item to be updated by the SetLastUpdated scenario action and servlet bean.

orderLastUpdated

Messaging-related properties

Description

Default value

messageSender

The component that sends abandonment-related JMS messages.

/atg/commerce/order/abandoned/OrderAbandonedSender

messageFactory

The component that builds abandonment-related JMS messages. See Scenario Events and Actions in this chapter.

/atg/commerce/order/abandoned/AbandonedOrderMessageFactory

sendOrderAbandonedMessage

boolean. True if an OrderAbandoned message should be sent when an order is identified as abandoned.

true

sendOrderLostMessage

boolean. True if an AbandonedOrderLost messages should be sent when an order is identified as lost.

true

sendOrderReanimatedMessage

boolean. True if an AbandonedOrderReanimated message should be sent when an abandoned order is reanimated.

true

sendOrderConvertedMessage

boolean. True if an AbandonedOrderConverted message should be sent when an abandoned order is converted.

true

Other important properties

Description

Default value

deleteLostOrders

boolean. True if orders identified as lost should be removed from the order repository. Orders must be in an INCOMPLETE state and idle for more days than configured in the AbandonedOrderService.idleDaysUntilLost property.

false

leaveAbandonmentInfoForDeletedOrders

boolean. True if the abandonmentInfo items should be retained for lost orders that are deleted.

Lost orders are deleted if the AbandonedOrderTools.deleteLostOrders property is set to true.

false

orderRepository

The order repository in which to look for abandoned and lost orders.

/atg/commerce/order/OrderRepository

orderManager

The OrderManager to use to delete lost orders. Note that orders identified as lost are deleted only if the AbandonedOrderTools.deleteLostOrders property is set to true.

/atg/commerce/order/OrderManager

profileRepository

The profile repository in which to edit users’ lists of abandoned orders.

/atg/userprofiling/ProfileAdapterRepository

 
loading table of contents...