Remove “online selling things”

MultivendorX

Resolved
Viewing 18 reply threads
  • Author
    Posts
    • #190938
      luarsabgigla
      Participant

      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

    • #190995

      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
    • #191029
      luarsabgigla
      Participant

      thanks for respond, code works perfectly.
      i wanna remove some more things, i will attach screens in this message what i wanna remove

      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
      also i wanna remove “purchase note” in add product, and wordpress backend in Profile dropdown menu

      and 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!

    • #191074

      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

    • #191076
      luarsabgigla
      Participant

      also i got error

    • #191078
      luarsabgigla
      Participant

      i fixed some errors but now i have this error, why can’t u give me correct code?

    • #191083
      luarsabgigla
      Participant

      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

    • #191084
      This reply has been marked as private.
      • #191088
        luarsabgigla
        Participant
        This reply has been marked as private.
      • #191090
        luarsabgigla
        Participant

        can u also fix this things? because it’s looks so ugly, i can’t even see anything beside the “My Shop”
        thanks

    • #191096
      This reply has been marked as private.
      • #191110
        luarsabgigla
        Participant

        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;
        } );

    • #191118
      This reply has been marked as private.
      • #191134
        luarsabgigla
        Participant
        This reply has been marked as private.
    • #191135
      luarsabgigla
      Participant

      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

    • #191143

      @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.

    • #191154
      luarsabgigla
      Participant
      This reply has been marked as private.
    • #191175

      Thanks for sharing the access. Our team will fix the issues on your end .

    • #191185

      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 server

      So 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;
      }
      Copy

      Regarding 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;
      } );
      Copy

      All 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_admin

      You can check the codes here : https://multivendordemo.com/test/moumita/wp-admin/theme-editor.php?file=functions.php&theme=storefront

      Css here : https://multivendordemo.com/test/moumita/wp-admin/admin.php?page=mvx#&submenu=settings&name=seller-dashbaord

      Vendor Access : https://multivendordemo.com/test/moumita/dashboard
      Uname : test_vendor
      Pwd : Test_vendor

    • #191221
      luarsabgigla
      Participant

      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?

    • #191236

      Hi, Add this css via MultiVendorX >> Settings >> Seller Dashboard >> Custom CSS

      .product-title-wrap.product-add-mode .pull-right.full-1080 {
          display: none;
      }
      Copy

      For 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.

    • #194683

      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.

    • #191075
      luarsabgigla
      Participant

      thank’s for answer, but what about responsive design problems?

Viewing 18 reply threads

The topic ‘Remove “online selling things”’ is closed to new replies.