I’m rewriting an export order modul using the API .I want to export in cvs file all my orders.
In order to create the first line of my csv i want to use the attributs that the method sales_order.info give me.
I will repeat order’s informations for all ordered item ,like this :
The problem is that sales_order.info not retrive me exactly the same attribute between 2 order >:( . For exemple sometime i have “customer_address_id” in the shipping_address sometime not, so how i can create a stable first line of csv ?
I really don’t want to create a dynamic first line by calculate during each export what attribute i will need to export.
Please some help…