Hello
please, try standard way .
open >Setup Fields>Product Order Items>Add Field and seek for necessary key in the dropdown.
thanks, Alex
Hi,
Thanks! i was able to export the order item post meta but i cant find the key of admin fee and the status of the withdrawal request from wcfm.
hi
here is old reply for this plugin. I think code still works.
please, adapt it to export fee from seller profile
——————————-
Please, follow to https://docs.algolplus.com/algol_order_export/fields/
use meta key “store_name” and this PHP code.
thanks, Alex
add_filter('woe_get_order_product_value_store_name', function ($value, $order, $item, $product,$item_meta) {
$post = get_post( $item_meta['_product_id'][0] );
$user_id = $post->post_author;
if($user_id)
$value = get_user_meta($user_id, "wcfmmp_store_name", true); // or _vendor_page_title?
return $value;
}, 10, 5);
Hi,
I added this code to export store name and see if it works but it is not working https://prnt.sc/HK5lorh8Dv_h – https://prnt.sc/6aAS1UpDMUQk – https://prnt.sc/EplOsuZbO4lP
Any ideas?
please, add meta key “store_name” , not “wcfmmp_store_name”
-
This reply was modified 4 years, 3 months ago by
algol.plus.
Hi,
Thank you! I will ask wcfm for the other meta keys and let you know.
Thanks for the help!
you can run PHPMyAdmin and review records inside table wp_usermeta