Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Bulk edit option
- This topic has 6 replies, 2 voices, and was last updated 4 years, 9 months ago by Ramamurthy Krishnan.
- AuthorPosts
- February 29, 2020 at 5:19 am #109268r_guayaquilParticipant
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!
- March 2, 2020 at 12:27 am #109463r_guayaquilParticipant
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. - March 3, 2020 at 11:20 pm #109774Ramamurthy KrishnanKeymaster
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,
- March 4, 2020 at 12:05 am #109781r_guayaquilParticipant
Thank you so much!
- March 4, 2020 at 11:49 pm #110031Ramamurthy KrishnanKeymaster
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,
- March 5, 2020 at 9:11 pm #110127r_guayaquilParticipant
I already done it 🙂
- March 6, 2020 at 1:29 pm #110230Ramamurthy KrishnanKeymaster
Thank you very much. 🙂
- AuthorPosts
- The topic ‘Bulk edit option’ is closed to new replies.