Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Good morning,
Is there a way to serialize a finalized order to an xml, so I can send it to the backoffice? In an older version it could be done with GetXElement().
Thanks,
Merijn
Small update. I found OrderService.Instance.GetAllFinalizedAsXml() giving me all orders, so I could extract the Xml from that. However it would be nice to get the Xml of a single order, I hope it's possible, saves some code :-)
In Tea Commerce 2+ you can use:
using TeaCommerce.Api.Serializationorder.ToXml()
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Serializing finalized order to XML
Good morning,
Is there a way to serialize a finalized order to an xml, so I can send it to the backoffice? In an older version it could be done with GetXElement().
Thanks,
Merijn
Small update. I found OrderService.Instance.GetAllFinalizedAsXml() giving me all orders, so I could extract the Xml from that. However it would be nice to get the Xml of a single order, I hope it's possible, saves some code :-)
In Tea Commerce 2+ you can use:
using TeaCommerce.Api.Serialization
order.ToXml()
is working on a reply...