How to change the data delimit for the export functionality

By default the registered data delimiter is comma (,) for the export functionality. Note: Delimiter/Separator depends on the Country/Region settings application settings.

The following registered file format with delimiter

  • xls = commam ( , )
  • xlt = commam ( , )
  • xla = commam ( , )
  • xlw = commam ( , )
  • csv = commam ( , ) – Default file format
     

Note: Please read this documentation on how to change the export file format.

Sample code how to change delimiter/separator.

// Copy and paste this code in your theme function.php file.
// Change CSV file delimiter
function my_additional_format_list( $format_list ){
    // Change the CSV file format delimit into semicolon (;)
    $format_list['csv'] = ';';
    return $format_list;
}
add_filter( 'wpcie_export_file_format_list', 'my_additional_format_list' );
3
    3
    Your Cart
    Remove
    WPCargo SMS Add-ons
    1 X $39.00 = $39.00
    Remove
    WPCargo Advance Package
    2 X $349.00 = $698.00
    Remove
    WPCargo Receiving Add-ons
    1 X $29.00 = $29.00