Banner Logo

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

Activation API key does not work

WCMp Advanced Frontend Manager

Resolved
Viewing 7 reply threads
  • Author
    Posts
    • #141430
      bhaa.said-6808
      Participant

      Hi, I have just purchased WCMP advanced frontend manager but when I activate it with the API key and the product ID et does not get activated.

      the website is http://www.marcqa.com and the order number is #141428

    • #141434

      @bhaa.said-6808, sorry to hear that you have faced this issue.

      The reason the keys are not working is that those keys are already activated. As you can see here I have deactivated the key and activated that on my end, it is working fine: https://watch.screencastify.com/v/aWGoBfOiQziCPg5j2lUq

      You can manage the activation of keys from here : https://multivendorx.com/my-account/api-keys/

      Let us know if you need any further help.

    • #141471
      bhaa.said-6808
      Participant

      Hello, indeed it seems that the license is activated but still appears as deactivated but maybe its just a bug. check the picture
      https://snipboard.io/4xuvCk.jpg (my backend)
      https://snipboard.io/qsy1eg.jpg (wcmp )
      So I hope its activated and its just a bug, because from the vendor dashboard they cant access the wordpress backend anymore.

      I would lik to know how can I prevent the vendors from updating to particular order status. For example they can either mark the order as complete or as returned without being able to use to other order statuses.

      Thank you

    • #141568

      Hi,
      Kindly add below code to your function.php of the active theme

      add_filter( 'wcmp_vendor_order_statuses', 'wcmp_change_default_status', 10, 2);
      function wcmp_change_default_status( $order_status, $order ){
          unset($order_status['wc-pending']);
          unset($order_status['wc-on-hold']);
          unset($order_status['wc-cancelled']);
          unset($order_status['wc-processing']);
          unset($order_status['wc-failed']);
          return $order_status;
      }
      
      add_filter('wcmp_bulk_actions_vendor_order_list', 'hide_status');
      function hide_status($status) {
          unset($status['mark_on-hold']);
          unset($status['mark_processing']);
          return $status;
      }
      Copy

      Regards,

    • #141595
      bhaa.said-6808
      Participant

      Thank you very much, that worked well.

      Please also let me know how to hide all the orders that are still pending payment from the vendor dashboard like shown on the picture.
      https://snipboard.io/8z25yX.jpg

      Thank you

    • #141601

      Hi,
      Kindly add below code to your active theme function.php

      add_filter('wcmp_datatable_get_vendor_all_orders', 'wcmp_custom_order_remove_wc_pending', 10, 1);
      function wcmp_custom_order_remove_wc_pending($orders) {
          $new_order_array = array();
          if($orders){
              foreach ($orders as $order_id) {
                  $order = wc_get_order($order_id);
                  if ($order) {
                      if (!in_array($order->get_status(), array('pending'))){
                          $new_order_array[] = $order_id;
                      }
                  }
              }
          }
          return $new_order_array;
      } 
      Copy

      regards,

    • #141607
      kaunhaii
      Participant

      Thank you very much

    • #141612

      You are welcome Kanuhaii 🙂

Viewing 7 reply threads

The topic ‘Activation API key does not work’ is closed to new replies.