Hello
By steps
visit page https://docs.algolplus.com/algol_order_export/add-product-rows/
copy 1st code
go back to export
open section “Misc Settings”
mark checkbox “Custom PHP code”
paste PHP code
thanks, Alex
You definitely rocks guys.
Thanks!
Maybe I’m asking too much 😀
Is there a way, by duplicating theses lines to add a unique order identifier, for example the order 5841 is duplicated 3 times, the first one will be 5841-1, the second 5841-2.
Thank you!
Hello
please, adapt this code
add_filter("woe_fetch_order_data", function($rows) {
$pos =1;
foreach($rows as $k=>$row)
$rows[$k]["order_number"] .= "-" .$pos++;
return $rows;
});