How to properly upgrade wcmp 3.9.3 to the latest multivendorx?
Is there a detailed instruction that includes step by step all the steps?
To save all settings so that all user functions work, for example,
some of my snippets from functions.php and elsewhere:
global $WCMp;
…
$vendor = get_wcmp_product_vendors($product->id);
…
if ( ‘wcmp_vendor_shipping’ === $rate->method_id ) {
…
if(is_vendor_dashboard()){
$vendor = get_current_vendor();
…
$transient = ‘wcmp_stats_report_data_’ . $vendor->get_id();
…
$suborders = get_wcmp_suborders($order_id);
…
unset( $tabs[‘wcmp_customer_qna’] ); // Questions & Answers
…
add_filter(‘wcmp_order_details_add_order_action_buttons’,’add_pdf_to_order’);
…
if (is_user_wcmp_vendor($current_user) ) {
…
$args[‘tax_query’] = array(
array(
‘taxonomy’ => $WCMp->taxonomy->taxonomy_name,
…
$vendor = get_wcmp_product_vendors($product->get_id());
…
add_filter(‘wcmp_datatable_order_list_table_headers’, ‘add_my_heads_to_ordtable’, 10, 1);
…
add_filter ( ‘wcmp_display_vendor_message_to_buyer’, ‘__return_false’);
…
add_filter( ‘wcmp_submitted_product_data’, ‘my_wcmp_submitted_product_data’, 10, 2 );
…
add_filter( ‘wcmp_regenerate_order_commissions_by_new_commission_rate’, ‘__return_true’ );
add_filter( ‘wcmp_regenerate_order_commissions_statuses’, ‘mystatusforcomm’);
…
add_filter(‘wcmp_sold_by_text’, ‘sold_by_rename_by_pages’ );
…
$commission = $WCMp->commission->get_commission_amount($item[‘product_id’], $vendor->term_id, $variation_id, $item_id, $order);
…
etc.
This has been done in many places.
Are you going to add multivendorx compatibility with old versions of wcmp (3.9.3)?
So that all the old names of functions / filters / urls, etc. work?
To be able to update without problems?