ironf2019
Forum Replies Created
-
CAn you please assist me.
Much appreciated.
DannyI’m looking for something like this
add_filter( 'woocommerce_product_export_column_names', 'add_export_column' ); add_filter( 'woocommerce_product_export_product_default_columns', 'add_export_column' ); function add_export_column( $columns ) { $columns['store_id'] = 'Store ID'; $columns['store_name'] = 'Store Name'; return $columns; } function add_export_data_store_id( $value, $product ) { $value = wcfm_get_vendor_id_by_post( $product->get_id() ); return $value; } add_filter( 'woocommerce_product_export_product_column_store_id', 'add_export_data_store_id', 10, 2 ); function add_export_data_store_name( $value, $product ) { $value = wcfm_get_vendor_store_name_by_post( $product->get_id() ); return $value; } add_filter( 'woocommerce_product_export_product_column_store_name', 'add_export_data_store_name', 10, 2 );
This works fine when I export products. Can we adapt it to work for orders?
Thanks
D.Are you able to help me please?
I was talking about adding Store name in the order list page in the store manager just in case I didn’t explain it well.
Much appreciated.
But when I export the order list, it doesn’t include the store column. Can you please advise on how to do that? It will also be nice to have a master export where I can understand how much each vendor is getting paid and their commissions against the total sales.
Thanks
D.You are the best.
Awesome. In the meantime, do you please have a snippet that can add this functionality?
Thanks
Thank you for your reply. MaybeI did not phrase my question well. What I meant is, is it possible to have the “reason for cancellation” added to the order once the customer submits the cancellation order?
As it is today, the cancellation reason is sent to the admin by email. is it possible to add teh cancellation as a customer note instead? https://imgur.com/a/WUFXFRV
Thanks
I.And is it possible to automatically generate the SKU according to the rule set for new products without having to click on anything? In other words, the SKU field remains empty but the SKU is created once the product is created/saved.