X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Customizing csv orders export (https://forum.x-cart.com/showthread.php?t=54781)

jvolvovski 07-28-2010 03:38 PM

Customizing csv orders export
 
I am trying to export my orders so I can import them into the PayPal MultiOrder Shipping site where I would be able to print USPS labels.

The csv file that I am getting has [ORDERS] on the first row of file, and because of that, I am not able to import it into PayPal.

Is there a way to get rid of this first line?

I am assuming I have to edit something in the includes/import_orders.php but I just can't figure out what.

Any help would be appreciated!

Thanks,
Jenny

Regs 07-29-2010 06:55 AM

Re: Customizing csv orders export
 
Delete the first row in excel after export?

jvolvovski 07-29-2010 07:07 AM

Re: Customizing csv orders export
 
Right - I can do that, but that requires opening the file in excel.
I am trying to automate the process as much as possible.

Jenny

rogue 07-30-2010 04:52 AM

Re: Customizing csv orders export
 
I don't think you want to be messing around in the export code. It would be far easier to write a command line program to open the file and delete the first line. What kind of computer is this going to run on? (linux, windows etc).

I do projects like you describe. The program would log into your x-cart, export the orders, convert the data format as needed and import into Paypal. All automatically every day.

If you'd like to talk about that email me at the address below.


All times are GMT -8. The time now is 05:10 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.