The dual purposes of the Abandoned Cart engagement plan
Commerce Connect uses the Abandoned Cart engagement plan to track abandoned shopping carts and store a copy of them.
The default configuration of Commerce Connect uses the Abandoned Cart engagement plan to:
Track a visitor and follow up when they leave the shop prematurely and abandon their shopping cart.
Store a copy of the shopping cart.
A copy of the cart is stored so that the cart is immediately available when the Sitecore Experience engine recognizes a visitor. Some external systems only support part of the shopping cart functionality and data. In these cases, the entire cart is stored in the engagement plan state.
This topic outlines how to:
If you do not want to use the Abandoned Cart engagement plan, you can disable it by commenting out the following processors in the /App_Config/Include/Sitecore.Commerce.Carts.config file:
The
MoveVisitorToInitialStateprocessor in theResumeCartpipeline.The
UpdateVisitorInEAPlanprocessor in the following pipelines:createCartaddCartLinesremoveCartLinesupdateCartLinesupdateCartaddPartiesremovePartiesupdatePartiesaddShippingInforemoveShippingInfoaddPaymentInforemovePaymentInfo
If you do not want to save a cart to an engagement plan state, you can disable this functionality by commenting out the following processors from the pipelines in the /App_Config/Include/Sitecore.Commerce.Carts.config file:
The
BuildQueryandExecuteQueryprocessors in thegetCartspipeline.The
SaveCartToEaStateprocessor in theSaveCartpipeline.The
FindCartInEaStateprocessor in theCreateOrResumeCartpipeline.The
LoadCartFromEaStateprocessor in theLoadCartpipeline.The
DeleteCartFromEaStateprocessor in theDeleteCartpipeline.The
CheckCanBeResumedprocessor in theResumeCartpipeline.