Theme and Plugin Support
-
AuthorPosts
-
-
October 10, 2022 at 7:11 PM #142736arturvirabyan15Participant
how to disable billing for sellers, since they will receive the money in cash when the courier takes the goods, You can answer here or you need to make a new topic?, I was given this code on the WordPress forum, but it did not solve the problem
add_filter(‘wcmp_vendor_dashboard_nav’, ‘callback_wcmp_vendor_dashboard_nav’, 99);
function callback_wcmp_vendor_dashboard_nav($vendor_nav){
unset($vendor_nav[‘vendor-payments’]); // for payments
return $vendor_nav;
} -
October 10, 2022 at 7:43 PM #142744NerdySupportExpert MoumitaKeymaster
Hi @arturvirabyan15, not to worry.
Please create temporary admin access, and share the admin, and FTP access so we can check.
While sharing the access, don’t forget to mark the response as private. -
October 10, 2022 at 7:50 PM #142749arturvirabyan15ParticipantThis reply has been marked as private.
-
October 11, 2022 at 2:35 PM #142777MVX Support NinjaKeymasterThis reply has been marked as private.
-
October 11, 2022 at 2:46 PM #142778arturvirabyan15Participant
Well, it works, but I also need to disable Payments completely, I will personally pay the sellers in cash, so there’s no need for payments settings anywhere, well, it can stay in the admin panel, it doesn’t interfere, but on the Dashboard and on the first store settings you need to disable , there is also a progress bar that shows how many percent are left until the full store settings, Payments method and from there you need to disable
-
October 11, 2022 at 2:47 PM #142779arturvirabyan15Participant
and is it possible to somehow make the seller registration page two languages ?, so that it would be possible to make translations through Loco Translate or through PolyLang
-
October 11, 2022 at 2:55 PM #142780NerdySupportExpert MoumitaKeymaster
I have updated the code to remove payment too.
Regarding the language, I am afraid we don’t have any such settings. For this you need plugin like WPML.
-
October 11, 2022 at 3:03 PM #142781arturvirabyan15Participant
Polylang is very similar to WPML, but it cannot find these lines specifically if you could add them there, but it would be repainted.
It looks like Payments has not disappeared, here is the screen – https://postimg.cc/xJqSNsc7 -
October 11, 2022 at 3:05 PM #142782arturvirabyan15Participant
And here too I also did not disappear – https://postimg.cc/bGBBWqwC
-
October 12, 2022 at 2:24 PM #142810NerdySupportExpert MoumitaKeymaster
Hi, as you can see here, we have the support for those strings https://fluvid.com/videos/detail/wzD1ysPeMLTm-EOEX?loading=wzD1ysPeMLTm-EOEX
Does polylang has any such settings to sync the strings again?
-
October 12, 2022 at 2:42 PM #142812arturvirabyan15Participant
If you add pll__ or pll_e to the line, then PolyLang can immediately find this line, at least you can add this code to function.php, and then 100% PolyLang will find the line, for example, we need to translate the words Heloo world, then you need to do this, to line add pll_e (<?php pll_e(‘Hello world’); ?>) and in functions.php write this code (add_action(‘init’, function() {
pll_register_string(‘mytheme-hello’, ‘Hello world’);
});), and it also works with the wpml-config.xml file, so you can add a line like in WPML and it will work,
Documentation: https://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/strings-translation/ -
October 12, 2022 at 2:43 PM #142813arturvirabyan15Participant
I can’t seem to download your video, can you send it in another way?
-
October 12, 2022 at 3:07 PM #142814arturvirabyan15Participant
PolyLang can find all lines in your plugin except for these lines in question
-
October 12, 2022 at 3:30 PM #142815arturvirabyan15Participant
Payments has already been removed from the vendor menu, there was an error in the code, the developer changed the brackets, I fixed it and it disappeared, But in the progress bar it remains, and from there it is impossible to remove, https://postimg.cc/bGBBWqwC
-
October 13, 2022 at 1:44 AM #142833NerdySupportExpert MoumitaKeymaster
Hi, for this add this code :
add_filter( 'wcmp_vendor_profile_completion_progress_fields' , 'progress_fields_function', 10, 2 ); function progress_fields_function( $progress_fields, $vendor_id ) { unset($progress_fields['_vendor_added_product']); return $progress_fields; }
Copy -
October 13, 2022 at 11:28 AM #142838arturvirabyan15Participant
This code did not solve my problem, the payment method remained in the progress bar (visible in the screenshot)
-
October 14, 2022 at 1:41 AM #142869NerdySupportExpert MoumitaKeymaster
Our team will check this. Kindly provide them some time.
-
October 14, 2022 at 4:06 PM #142889MVX Support NinjaKeymaster
Hi,
Kindly Remove previous code and add below code to your active theme function.phpadd_filter( 'wcmp_vendor_profile_completion_progress_fields' , 'progress_fields_function', 10, 2 ); function progress_fields_function( $progress_fields, $vendor_id ) { unset($progress_fields['_vendor_payment_mode']); return $progress_fields; }
CopyRegards,
-
October 14, 2022 at 4:10 PM #142890arturvirabyan15Participant
okey, thank
-
-
AuthorPosts
The topic ‘How to remove link to billing page from vendor dashboard’ is closed to new replies.