- This topic has 18 replies, 3 voices, and was last updated 3 years, 5 months ago by
arturvirabyan15.
-
AuthorPosts
-
-
October 10, 2022 at 7:11 PM #142736
arturvirabyan15
Participanthow 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 #142744
NerdySupportExpert Moumita
KeymasterHi @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 #142749
arturvirabyan15
ParticipantThis reply has been marked as private. -
October 11, 2022 at 2:35 PM #142777
MVX Support Ninja
KeymasterThis reply has been marked as private. -
October 11, 2022 at 2:46 PM #142778
arturvirabyan15
ParticipantWell, 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 #142779
arturvirabyan15
Participantand 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 #142780
NerdySupportExpert Moumita
KeymasterI 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 #142781
arturvirabyan15
ParticipantPolylang 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 #142782
arturvirabyan15
ParticipantAnd here too I also did not disappear – https://postimg.cc/bGBBWqwC
-
October 12, 2022 at 2:24 PM #142810
NerdySupportExpert Moumita
KeymasterHi, 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 #142812
arturvirabyan15
ParticipantIf 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 #142813
arturvirabyan15
ParticipantI can’t seem to download your video, can you send it in another way?
-
October 12, 2022 at 3:07 PM #142814
arturvirabyan15
ParticipantPolyLang can find all lines in your plugin except for these lines in question
-
October 12, 2022 at 3:30 PM #142815
arturvirabyan15
ParticipantPayments 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 #142833
NerdySupportExpert Moumita
KeymasterHi, 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; } -
October 13, 2022 at 11:28 AM #142838
arturvirabyan15
ParticipantThis 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 #142869
NerdySupportExpert Moumita
KeymasterOur team will check this. Kindly provide them some time.
-
October 14, 2022 at 4:06 PM #142889
MVX Support Ninja
KeymasterHi,
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; }Regards,
-
October 14, 2022 at 4:10 PM #142890
arturvirabyan15
Participantokey, thank
-
-
AuthorPosts
- The topic ‘How to remove link to billing page from vendor dashboard’ is closed to new replies.






