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)
-   -   Adding fields to the Export Orders file. (https://forum.x-cart.com/showthread.php?t=52866)

Stikx 03-17-2010 08:01 AM

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

cflsystems 03-17-2010 08:39 AM

Re: Adding fields to the Export Orders file.
 
You have to modify php files to accomplish this

Stikx 03-17-2010 01:28 PM

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

cflsystems 03-17-2010 06:53 PM

Re: Adding fields to the Export Orders file.
 
Look in admin/export.php

Stikx 03-18-2010 03:32 AM

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

cflsystems 03-18-2010 04:18 AM

Re: Adding fields to the Export Orders file.
 
sent you an email

connemara 06-22-2010 02:20 PM

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.

connemara 06-23-2010 03:47 PM

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.

dmpinder 07-02-2012 08:07 AM

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?


All times are GMT -8. The time now is 01:46 AM.

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