Import orders into marketpress through a CSV file?


We have a customer with a large amount of orders that they would need to be imported into the marketpress store, is it possible to do this via CSV or could you provide any docs for the DB formatting of the orders?

Kind Regards

  • Arun Basil Lal
    • New Recruit

    Hello creativeideaz,

    Welcome to the Community!

    MarketPress can import products using a csv, but importing orders isn't something that it can do. I bet, we never had this situation before, that should be one heck of an order!

    How big is the order? if its not that huge, create a page where all products are listed with this shortcode [mp_list_products]

    Adding products to cart would be easier, since everything is in one page. Will that work?

    Let me ask Aaron to comment on this. This is definitely different :slight_smile:

  • Aaron
    • CTO

    It would be real hard to translate the various fields from one format to another. It would take a custom script or plugin to do this. Doing is right in the db would be alot harder.

    The best way to see the structure is examine the create_order() method and how it does it. Basically the order is a custom post type, then all the details are attached as postmeta to that.

    Good luck!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.