View Single Post
  #1  
Old 06-08-2011, 08:36 AM
 
InteractM InteractM is offline
 

Member
  
Join Date: Jun 2011
Posts: 22
 

Question Export orders in custom format

I would like to have "pipe" delimited CSV export file as one of options. So far I have done:

SQL:

Code:
INSERT INTO xcart_languages VALUES ('en','lbl_with_pipe_delimiter','(with pipe delimiter)','Labels');

common/main/order_list.tpl:
common/main/orders.tpl:

Code:
<option value="csv_pipe">{$lng.lbl_40x_compatible}: CSV {$lng.lbl_with_pipe_delimiter}</option>

include/orders_export.tpl:

Code:
'csv_pipe' => array ( 'ctype' => 'application/csv', 'delim' => '|', 'file' => 'orders.csv' ),

But when I have exported as "pipped" some rows are cut after order date compare to tabbed/commas export files. Any idea what can be wrong?

Thanks
__________________
X-Cart 4.4
Reply With Quote