hello
what format do you use ? xls? pdf?
thanks, Alex
It won’t let me download that plugin, is there no way to add the fields that I want in this plugin?
please , share sample PDF.
I don’t know how to add images to this portal, but what I want is for it to say the number, location and date of the order before the table. I don’t want them to be repeated, that’s why I want them in the header
like this https://snipboard.io/k478Od.jpg but collecting the information alone, not giving the blank space for me to do it
please, open section “Misc Settings” and put this code
add_filter("woe_formatter_pdf_properties", function($settings){
$order = new WC_Order(WC_Order_Export_Engine::$order_id);
$date= $order->get_date_created()->format("Y-m-d");
$number= $order->get_order_number();
$location= $order->get_shipping_address_1() . " " .$order->get_shipping_city();
$settings["header"]["title"] = "Fecha: $date Nro De Pedido: $number Localidad: $location";
return $settings;
});
you didn’t copy last line
It worked for the order number and the date, but not for the location
https://snipboard.io/yPn0k9.jpg
please, edit my code and replace shipping with billing
It worked! Thank you very much!!