Hi guys,
I have a situation where I need to create a cart and set it active in order to start adding to it immediately after creation.
I could create a cart using the cartcmd=createnew property and a CartName.
I now want to set the cart active, but I need to know the ID of the cart I have just created.
I could not find any obvious method that would allow me to get a Cart or Order object based on the Name. I see that the value of CartName is saved in OrderDisplayName.
Can anyone suggest a way to get this CartID based on the name?
If I use Dynamicweb.Ecommerce.Services.Orders.GetCustomerUnclosedOrders I only get the active cart
Thank you,
Adrian