Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

How to properly upgrade wcmp 3.9.3 to the latest multivendorx?

MultivendorX

Resolved
Viewing 2 reply threads
  • Author
    Posts
    • #180778
      michail_shapkin
      Participant

      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?

    • #180896

      Hi @michail_shapkin, thanks for the questions.

      Please follow our video that will guide you with the updation: https://www.youtube.com/watch?v=E6ZPznJ2Hew

      Regarding the custom code, we have added a new filter against the old one. You can see all new hook/filter lists against the deprecated list, check here: https://github.com/multivendorx/MultiVendorX/tree/main/includes

    • #192212

      It’s been a while and we have not heard back from you . We presume your query is solved now . So we are closing this thread . If you face issue in future please open a new thread .

Viewing 2 reply threads

The topic ‘How to properly upgrade wcmp 3.9.3 to the latest multivendorx?’ is closed to new replies.