AI OnAI Off
If you want to have multiple OrderForms in Cart you'll have to use later version of Commerce, and even better, the new order abstraction. Commerce Manager however does not support multi OrderForms orders.
For the convenience of developers - who mostly work with one OrderForm we provide methods which work on the first OrderForm, but you are free to use the methods/extension methods which take an OrderForm, and pass the second/third OrderForm to it.
/Q
Hi Quan,
Thanks for your repsonse. Commerce Manager is quite important for us to be in working condition. Therefore, we are going to come up with different logic to manage line items based on thier type.
Cheers
Hi,
I am trying to add multiple order forms depending on the type of product added in cart. I am not sure how to achieve this?
I have refactored the code and most of the internal classes uses OrderForms[0] to add or remove line item. None of the function contains overloaded function in which i can provide form name to add or remove line item.
How do i manage the multiple order forms kindly respond.
Cheers