WCMp Advanced Frontend Manager
Tagged: vendor dashbaord
-
AuthorPosts
-
-
August 21, 2022 at 7:42 PM #141430bhaa.said-6808Participant
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
-
August 21, 2022 at 10:21 PM #141434NerdySupportExpert MoumitaKeymaster
@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.
-
August 26, 2022 at 10:55 AM #141471bhaa.said-6808Participant
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
-
August 26, 2022 at 6:39 PM #141568MVX Support NinjaKeymaster
Hi,
Kindly add below code to your function.php of the active themeadd_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; }
CopyRegards,
-
August 28, 2022 at 4:17 PM #141595bhaa.said-6808Participant
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.jpgThank you
-
August 29, 2022 at 6:35 PM #141601MVX Support NinjaKeymaster
Hi,
Kindly add below code to your active theme function.phpadd_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; }
Copyregards,
-
August 29, 2022 at 11:02 PM #141607kaunhaiiParticipant
Thank you very much
-
August 30, 2022 at 10:55 AM #141612MVX Support NinjaKeymaster
You are welcome Kanuhaii 🙂
-
-
AuthorPosts
The topic ‘Activation API key does not work’ is closed to new replies.