Pseudo-Algorithm for DefaultAddToCart
Follow these steps when using a pseudo-algorithm for DefaultAddToCart:
Get the Quote, Quote Item, and Quote Item XA business components.
Call AddHeader to make sure there is a current quote for adding an item, What AddHeader does is to make sure there is a current quote, if there is not a current one. AddHeader will create a new quote and set the CurrentQuoteID profile attribute value to the Row ID of the newly created quote record.
Create a new record in the Quote Item business component.
Populate that line item with information from Product the user has selected.
Check the Action input argument:
If Action = Customize, then call ReConfigCxProd to launch the customizable product run-time view.
End.