There is no template to do so.
You should edit include/import_orders.php
Extra data is a serialized representation of product options.
find following lines
PHP Code:
# Export extra fields
$ef = func_query("SELECT khash, value FROM $sql_tbl[order_extras] WHERE orderid = '$id'");
if (!empty($ef)) {
foreach ($ef as $v) {
$row['extra_field'][] = $v['khash'];
$row['extra_value'][] = $v['value'];
}
}
unset($ef);
and comment it like this
PHP Code:
# Export extra fields
/* $ef = func_query("SELECT khash, value FROM $sql_tbl[order_extras] WHERE orderid = '$id'");
if (!empty($ef)) {
foreach ($ef as $v) {
$row['extra_field'][] = $v['khash'];
$row['extra_value'][] = $v['value'];
}
}
unset($ef); */
to disable extra data export
To change extra data export format you need not to comment but modify the lines above. It can be done like this
PHP Code:
# Export extra fields
$ef = func_query("SELECT khash, value FROM $sql_tbl[order_extras] WHERE orderid = '$id'");
if (!empty($ef)) {
foreach ($ef as $v) {
$row['extra_field'] .= $v['khash'].':'.$v['value'].' ';
}
}
unset($ef);
But it is necessary to disable serialization of this array
change the lines above in the same file
PHP Code:
"extra_field" => array(
"array" => true),
to
PHP Code:
"extra_field" => array( ),