Converting orders from FoxyCart

Not sure if this is even possible, but can orders, say from another system (if the format is converted) be imported into SimpleCart via Snippet?

I am slowly moving a client from Foxycart to SimpleCart, so the first order of business is to move orders into SimpleCart tables. The second is to add orders currently being sent to SimpleCart simultaneously.

Looks like scAddProduct is based on POST data, but wasn’t sure if there was a way to send product data to create an order from inside a snippet.

Thanks

The scAddProduct snippet is not an ideal path to take, because I think it’s hard-wired to redirect on successfully adding a product to the cart.

You’ll probably have to work with the xPDO models directly for a migration/integration like this. The schema file with all object names and fields can be found under core/components/simplecart/model/schema/.