Jun-07-2018, 10:11 AM
Thanks for the replies!
I use Shopify and need to pass the orders to DPD Shipper.
In Shopify the header and columns are separated by comma (,), in DPD the header and columns are separated by semicolons (;) or pipes (|).
I'll have a play with csv.DictReader and csv.DictWriter and try to read the export file (that I can already do yay!), re-write the header according to the import format, add missing data in rows for header "recipient_type" and paste the relevant data.
Once I've got a few lines of /working/ code I'll post back ;)
I use Shopify and need to pass the orders to DPD Shipper.
In Shopify the header and columns are separated by comma (,), in DPD the header and columns are separated by semicolons (;) or pipes (|).
I'll have a play with csv.DictReader and csv.DictWriter and try to read the export file (that I can already do yay!), re-write the header according to the import format, add missing data in rows for header "recipient_type" and paste the relevant data.
Once I've got a few lines of /working/ code I'll post back ;)