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

Adding fields to the Export Orders file.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-17-2010, 08:01 AM
 
Stikx Stikx is offline
 

Member
  
Join Date: Nov 2006
Location: UK
Posts: 23
 

Default Adding fields to the Export Orders file.

Hi,

Does anybody know how to add the order !DATE and an extra field !NEW_FIELD to the exported [ORDER_ITEMS] csv file?

Many thanks,
Graham
__________________
X-cart 4.1.3 pro Linux 2.6.17
Music Website Selling Digital Downloads
Reply With Quote
  #2  
Old 03-17-2010, 08:39 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding fields to the Export Orders file.

You have to modify php files to accomplish this
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-17-2010, 01:28 PM
 
Stikx Stikx is offline
 

Member
  
Join Date: Nov 2006
Location: UK
Posts: 23
 

Default Re: Adding fields to the Export Orders file.

Thanks for that.
I have done some php mods before, nothing too complicated.

Which files would I need to look in?
Or even better, any idea how to do it please?

Thanks again,
Graham
__________________
X-cart 4.1.3 pro Linux 2.6.17
Music Website Selling Digital Downloads
Reply With Quote
  #4  
Old 03-17-2010, 06:53 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding fields to the Export Orders file.

Look in admin/export.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 03-18-2010, 03:32 AM
 
Stikx Stikx is offline
 

Member
  
Join Date: Nov 2006
Location: UK
Posts: 23
 

Default Re: Adding fields to the Export Orders file.

still not sure!

Does anybody know how to do this?
Should I be paying someone to do this?
Any suggestions/recommendations please?

Thanks
__________________
X-cart 4.1.3 pro Linux 2.6.17
Music Website Selling Digital Downloads
Reply With Quote
  #6  
Old 03-18-2010, 04:18 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Adding fields to the Export Orders file.

sent you an email
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 06-22-2010, 02:20 PM
  connemara's Avatar 
connemara connemara is offline
 

Senior Member
  
Join Date: Jan 2006
Location: Vancouver Island, Canada
Posts: 167
 

Default Re: Adding fields to the Export Orders file.

I have the same question, and need a bit of help. Version 4.1.9
5 extra fields were added to the product page some time ago but somehow the export no longer shows those extra fields. (perhaps the file was over-written somehow)

1- where would I find the product page to get those extra fields info (I did not find so far, the file under admin)
2. I don't see any admin/export.php but did see this one - include/export.php- is this the correct php file to be modified?

Any help would be appreciated from this non-programmer.
Thank you.
__________________
Versions 4.7.6
multiple mods and customizations
Reply With Quote
  #8  
Old 06-23-2010, 03:47 PM
  connemara's Avatar 
connemara connemara is offline
 

Senior Member
  
Join Date: Jan 2006
Location: Vancouver Island, Canada
Posts: 167
 

Default Re: Adding fields to the Export Orders file.

Got as far as finding the tpl that has the extra fields. (skin1/main/product_details.tpl.

Now I checked this: skin1/main/orders_export.tpl Shouldn't that file show the extra fields? If no, where would I look?

Fedex is ready to hook into the shopping cart, and now the extra fields don't show up in the csv so it will not sync. Any suggestions greatly appreciated.
__________________
Versions 4.7.6
multiple mods and customizations
Reply With Quote
  #9  
Old 07-02-2012, 08:07 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: Adding fields to the Export Orders file.

Hi all,

I've just done something very similar here: http://forum.x-cart.com/showthread.php?t=64163&highlight=order_items

I've shown how to add the date of order as a column (and how to format it properly from timestamp to legible date/time), however I'm not sure what new_field you're referring to adding?
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:37 AM.

   

 
X-Cart forums © 2001-2020