The suborder is an integral part of our MultiVendorX, we use this to create a commission, generate report etc. Hence you can’t disable this.
However, you can hide this from customer’s my account page using this code :
add_filter( ‘manage_edit-shop_order_columns’,’mvx_remove_suborder_column’);
function mvx_remove_suborder_column($columns){
// to remove just use unset
unset($columns[‘mvx_suborder’]); // remove suborder column
return $columns;
}
Leave a Reply
You must be logged in to post a comment.