Bulk edit option

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 6 reply threads
  • Author
    Posts
    • #109268
      r_guayaquil
      Participant

      Hi,

      You guys helped me with the following style to hide the bulk edit option:

      input[type=submit]#wcfm_bulk_edit {
      display: none;
      }

      As a admin i need the option to be available for me, but hidden in the vendor dashboard.

      Can you help me with that?

      Thanks a lot!

    • #109463
      r_guayaquil
      Participant

      Hi,

      It would be better if i can only hide some options for the vendor in the bulk edit.

      Please see image attached.

      Attachments:
      You must be logged in to view attached files.
    • #109774

      Hi,

      Please add the below code to your child theme’s functions.php file or if you are not using any child theme then use the “Code Snippets” plugin ( https://wordpress.org/plugins/code-snippets/ ) to add this code.

      add_action( 'init', 'cus_remove_product_bulk_edit_options' );
      function cus_remove_product_bulk_edit_options() {
      	if ( wcfm_is_vendor() ) {
      		add_filter( 'wcfm_is_allow_products_manage_visibility', 'cus_wcfm_is_allow_products_manage_visibility' );
      		function cus_wcfm_is_allow_products_manage_visibility() {
      			return false;
      		}
      		add_filter( 'wcfm_is_allow_featured_product', 'cus_wcfm_is_allow_featured_product' );
      		function cus_wcfm_is_allow_featured_product() {
      			return false;
      		}
      		add_filter( 'wcfm_is_allow_inventory', 'cus_wcfm_is_allow_inventory' );
      		function cus_wcfm_is_allow_inventory() {
      			return false;
      		}
      	}
      }

      Thanks,

    • #109781
      r_guayaquil
      Participant

      Thank you so much!

    • #110031

      Hi,

      You’re most welcome.
      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

      Thanks,

    • #110127
      r_guayaquil
      Participant

      I already done it 🙂

    • #110230

      Thank you very much. 🙂

Viewing 6 reply threads
  • The topic ‘Bulk edit option’ is closed to new replies.