MultivendorX
Tagged: offline selling, Vendor Dashboard
-
AuthorPosts
-
-
April 16, 2023 at 5:20 PM #190938luarsabgiglaParticipant
hello, so i make a website which i want to use only for offline selling, and i wanna remove all this pages from dashboard, can u help me? i know i don’t have multivenmdorX pro, but anyways.
thanks
-
April 17, 2023 at 7:37 PM #190995NerdySupportExpert MoumitaKeymaster
Kindly add the below code in the functions.php file of your current active theme to remove the fields :
add_filter('mvx_vendor_dashboard_nav', 'callback_mvx_vendor_dashboard_nav', 99); function callback_mvx_vendor_dashboard_nav($vendor_nav){ unset($vendor_nav['store-settings']['submenu']['vendor-billing']); unset($vendor_nav['vendor-report']); unset($vendor_nav['vendor-payments']); return $vendor_nav; }
Copy -
April 17, 2023 at 11:49 PM #191029luarsabgiglaParticipant
thanks for respond, code works perfectly.
i wanna remove some more things, i will attach screens in this message what i wanna removeso first i wanna remove this “boost your profile progress” message
also i wanna remove “Customer Qestions” under the storefront dropdown
also i wanna remove “Followers; Orders and tools” in dropdown menu
also i wanna remove “purchase note” in add product, and wordpress backend in Profile dropdown menuand for last i wanna remove “GTIN Code field” and Catalog visibility dropdown option
also i have some responsive problems on dashboard, i mean it’s kinda have bugs because i can’t even see profile dropdown menu without entering inspect element mode, so i will be glad if u will help me with that ugly design, thanks!
-
April 18, 2023 at 8:40 PM #191074Sangita Support SquadKeymaster
Our replies are inline with your queries –
so first i wanna remove this “boost your profile progress” message
also i wanna remove “Customer Qestions” under the storefront dropdown
also i wanna remove “Followers; Orders and tools” in dropdown menu
>> Kindly add the below code in the functions.php file of your currently active theme .
add_filter( ‘mvx_vendor_dashboard_show_progress_bar’, ‘__return_false’ );
//Delete from Vendor Dashboard
add_filter(‘mvx_vendor_dashboard_nav’, ‘callback_mvx_vendor_dashboard_nav’, 99);
function callback_mvx_vendor_dashboard_nav($vendor_nav){
unset($vendor_nav[‘store-settings’][‘submenu’][‘products-qna’]);
unset($vendor_nav[‘store-settings’][‘submenu’][‘vendor-followers’]);
return $vendor_nav;
}add_filter(‘mvx_vendor_dashboard_header_right_panel_nav’, function( $panel_nav ){
unset($panel_nav[‘wp-admin’]);
return $panel_nav;
} );
also i wanna remove “purchase note” in add product, and wordpress backend in Profile dropdown menu
>> kindly remove line 17-21 from html-product-data-advanced.php
and for last i wanna remove “GTIN Code field” and Catalog visibility dropdown option
>>To remove GTIN Code field goto admin dashboard >>MultiVendorX >>Settings>> Products , and untick the option .https://prnt.sc/EqfOqL6qMQOy
To remove catalog visibility dropdown option remove line 170-182 from html-product-highlights.php -
April 18, 2023 at 8:50 PM #191076luarsabgiglaParticipant
also i got error
-
April 18, 2023 at 9:12 PM #191078luarsabgiglaParticipant
i fixed some errors but now i have this error, why can’t u give me correct code?
-
April 18, 2023 at 9:50 PM #191083luarsabgiglaParticipant
please give me correct version of this code, because that one doesn’t works
add_filter(‘mvx_vendor_dashboard_header_right_panel_nav’, function( $panel_nav ){
unset($panel_nav[‘wp-admin’]);
return $panel_nav;
} );also, where i can find html-product-data-advanced.php to remove 17-21 lines? and html-product-highlights.php to remove 170-182 lines
-
April 18, 2023 at 9:52 PM #191084NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
April 18, 2023 at 9:56 PM #191088luarsabgiglaParticipantThis reply has been marked as private.
-
April 18, 2023 at 10:00 PM #191090luarsabgiglaParticipant
can u also fix this things? because it’s looks so ugly, i can’t even see anything beside the “My Shop”
thanks
-
-
April 19, 2023 at 1:31 PM #191096NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
April 19, 2023 at 5:23 PM #191110luarsabgiglaParticipant
i don’t know how to create exact replica of my site, can u just tell me where to find html-product-data-advanced.php and html-product-highlights.php? and also give me the correct code of add_filter(‘mvx_vendor_dashboard_header_right_panel_nav’, function( $panel_nav ){
unset($panel_nav[‘wp-admin’]);
return $panel_nav;
} );
-
-
April 19, 2023 at 7:04 PM #191118NerdySupportExpert MoumitaKeymasterThis reply has been marked as private.
-
April 19, 2023 at 10:06 PM #191134luarsabgiglaParticipantThis reply has been marked as private.
-
-
April 19, 2023 at 10:39 PM #191135luarsabgiglaParticipant
nice, i removed code lines which moderator “Sangita” suggested to me, and now i have more bugs 🙂 so unprofessional, does she even knows how to write codes? she didn’t even knows that u need to use ‘ ‘ instead of ‘ ‘ in add_filter code, u are just wasting my time and nothing more
for sure i will give bad review to your plugin, after experience like that
-
April 20, 2023 at 11:34 AM #191143NerdySupportExpert MoumitaKeymaster
@luarsabgigla, first of all, sorry for this inconvenience.
The ” issue is a typo that happens when we paste a code from sublime into text. We will double cha the typo next time.
not to worry, I will personally install the code on your site and make sure that the codes are working without any issues.We tried to log into your site, but I am afraid you haven’t shared the username of your admin end.
Also, do share the FTP access i.e. hostname, username, password, and port number to access the FTP.While sharing the access don’t forget to mark the response as private.
-
April 20, 2023 at 2:28 PM #191154luarsabgiglaParticipantThis reply has been marked as private.
-
April 20, 2023 at 5:18 PM #191175Sangita Support SquadKeymaster
Thanks for sharing the access. Our team will fix the issues on your end .
-
April 20, 2023 at 7:49 PM #191185NerdySupportExpert MoumitaKeymaster
Hi, I am not able to log into your site , it keeps asking me to re-login. Please check on your end.
The SFTP is also not working :Status: Connecting to fs-florina.easywp.com…
Status: Using username “woodmarket-7c489c”.
Status: Access denied
Error: Authentication failed.
Error: Critical error: Could not connect to serverSo I recheck the codes and tested this on my end.
Please remove all the previous codes, including the one I shared earlier, and add this :– i wanna remove “Customer Questions” under the storefront dropdown, “Followers; Orders and tools” in the dropdown menu
>>
add_filter('mvx_vendor_dashboard_nav', 'callback_mvx_vendor_dashboard_nav', 99); function callback_mvx_vendor_dashboard_nav($vendor_nav){ unset($vendor_nav['store-settings']['submenu']['products-qna']); unset($vendor_nav['store-settings']['submenu']['vendor-followers']); unset($vendor_nav['store-settings']['submenu']['vendor-billing']); unset($vendor_nav['vendor-report']); unset($vendor_nav['vendor-payments']); unset($vendor_nav['vendor-orders']); unset($vendor_nav['vendor-tools']); return $vendor_nav; }
Copy– remove this “boost your profile progress” message
>> Add this code :add_filter( 'mvx_vendor_dashboard_show_progress_bar', '__return_false');
Copy– remove “purchase note” in add product, and for last, i wanna remove “GTIN Code field” and Catalog visibility dropdown option
>> Add this css via MultiVendorX >> Settings >> Seller Dashboard >> Custom CSS
.tab-content div#advanced_product_data .row-padding .hide_if_external.hide_if_grouped { display: none; }
CopyRegarding the other part, please confirm whether you need to remove this fields : https://prnt.sc/yd_f7gQcITQX
– and WordPress backend in the Profile dropdown menu
>> Add this code :
add_filter('mvx_vendor_dashboard_header_right_panel_nav', function( $panel_nav ){ unset($panel_nav['wp-admin']); return $panel_nav; } );
CopyAll the shared code is working fine on our end. If you log into this account using the following admin access :
https://multivendordemo.com/test/moumita/wp-admin
Uname : test_admin
Pwd : test_adminYou can check the codes here : https://multivendordemo.com/test/moumita/wp-admin/theme-editor.php?file=functions.php&theme=storefront
Vendor Access : https://multivendordemo.com/test/moumita/dashboard
Uname : test_vendor
Pwd : Test_vendor -
April 21, 2023 at 6:03 PM #191221luarsabgiglaParticipant
thanks for the codes, but i can still see “Catalog visibility: Shop and search results” and also some design irresponsiveness, can u help me fix it?
-
April 21, 2023 at 9:52 PM #191236NerdySupportExpert MoumitaKeymaster
Hi, Add this css via MultiVendorX >> Settings >> Seller Dashboard >> Custom CSS
.product-title-wrap.product-add-mode .pull-right.full-1080 { display: none; }
CopyFor the responsive issue, might be related to the theme/plugin issue. Just to be sure, disable all the plugins except WooCommerce and MultiVendorX and check again.
If the issue still exists, please switch to some default theme such as Twenty Sixteen and check again.
Please do keep us posted so we can help you out. -
July 25, 2023 at 4:53 PM #194683Sangita Support SquadKeymaster
It’s been long and we have not heard back from you. We presume your query is solved now. We are closing this thread. If you need help or face issue in future please open a new thread.
-
November 1, 2023 at 3:07 PM #191075luarsabgiglaParticipant
thank’s for answer, but what about responsive design problems?
-
-
AuthorPosts
The topic ‘Remove “online selling things”’ is closed to new replies.