Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Customizing csv orders export

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2010, 03:38 PM
 
jvolvovski jvolvovski is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 46
 

Default 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
__________________
Version 4.3.2
Reply With Quote
  #2  
Old 07-29-2010, 06:55 AM
 
Regs Regs is offline
 

Senior Member
  
Join Date: Apr 2003
Location: Vancouver BC
Posts: 134
 

Default Re: Customizing csv orders export

Delete the first row in excel after export?
__________________
x-cart 4.2.3 & 4.6.0
Reply With Quote
  #3  
Old 07-29-2010, 07:07 AM
 
jvolvovski jvolvovski is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 46
 

Default 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
__________________
Version 4.3.2
Reply With Quote
  #4  
Old 07-30-2010, 04:52 AM
  rogue's Avatar 
rogue rogue is offline
 

X-Adept
  
Join Date: Apr 2007
Location: Loveland, Ohio
Posts: 770
 

Default 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.
__________________
Richard Williams
Rogue Wave Limited

Initial Inventory Imports
Daily Inventory Updates
Daily Inventory Reports
Drop Ship Support
Order Export to Shipper/Supplier
Shopping Feeds That Work
Programming for X-Cart

richard@roguewavelimited.com
http://www.roguewavelimited.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:47 AM.

   

 
X-Cart forums © 2001-2020