• Resolved steveklt

    (@steveklt)


    Hi,
    I want to export three different meta into one field. Specifically I want to have (qty x name). Right now i have succesfully managed to export only (qty x name) using the following php:
    add_filter(‘woe_get_order_value_all_products’,function ($value, $order,$fieldname) {
    $lines = array();
    foreach($order->get_items() as $item) {
    $lines[] = $item[“qty”]. ” x ” .$item[“name”];
    }
    return join(“, “, $lines);
    },10,3);

    Can you please tell how can I achieve having the (qty x SKU + customer notes) all in one cell of the exported xls file?
    Thank you for the great plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom field export’ is closed to new replies.