Wednesday 4 November 2015

Order pipeline chain differances

LoadOrder : 

                                      When an Order is loaded from the Order Repository, the loadOrder() method in the OrderManager calls into the PipelineManager to execute the loadOrder pipeline, which creates and loads the Order object, as well as its OrderPriceInfo and TaxPriceInfo objects.
 


RefreshOrder:

       When an Order property is accessed (for example, by callinggetCommerceItems() or getPriceInfo()), the refreshOrder pipeline is invoked, which creates and loads the rest of the contained objects in the Order.


UpdateOrder:

                
                                        Updates the order in the repository with any changes that may have been made during the execution of this chain (splitting of shipping groups, update of states, etc.).


ProcessOrder

                                        When ever you are committing the order using commitorder() that time processorder pipeline chain will call.

                  

No comments:

Post a Comment