Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Disable Brands field when vendor is adding new product
Tagged: Vendor Dashboard
- This topic has 9 replies, 2 voices, and was last updated 4 years, 9 months ago by Ramamurthy Krishnan.
- AuthorPosts
- February 29, 2020 at 12:10 am #109246marcinzywyParticipant
Hello WC Lovers,
I would like to disable ‘Brands’ field when vendor is adding a new product.
I only managed to hide ‘Tags’ but I can not find any option to disable ‘Brands’.
Thank you for your help!
- March 3, 2020 at 11:53 pm #109780Ramamurthy KrishnanKeymaster
Hi,
Which plugin are you using for product brands?
Thanks,
- March 4, 2020 at 1:54 pm #109874marcinzywyParticipant
Hi,
I have:
WCFM – WooCommerce Frontend Manager 6.4.4
WCFM – WooCommerce Frontend Manager – Ultimate 6.4.4
WCFM – WooCommerce Multivendor Marketplace 3.3.3
WCFM – WooCommerce Multivendor Membership 2.8.1
WooCommerce 3.9.2…and Martfury Theme version 2.2.2
- March 5, 2020 at 3:33 pm #110083Ramamurthy KrishnanKeymaster
Hi,
Please add the below given code to your child theme’s functions.php file. If you are not using any child theme then use “Code Snippets” ( https://wordpress.org/plugins/code-snippets/ ) plugin to add this code.
add_filter( 'wcfm_is_allow_custom_taxonomy', 'cus_wcfm_is_allow_custom_taxonomy', 10, 2 ); function cus_wcfm_is_allow_custom_taxonomy() { if ( wcfm_is_vendor() ) { return false; } else { return true; } }
Thanks,
- March 9, 2020 at 1:29 pm #110691marcinzywyParticipant
Hi, thank you for the code but this didn’t work.
It made no difference and vendors still can see the filed ‘brands’ when adding new product.
- March 10, 2020 at 4:42 pm #110934Ramamurthy KrishnanKeymaster
Hi,
Its working fine for me here. Are you talking about the brand section under “Add Product” section? Please have a look at the red marked area in the attached screenshot below.
Thanks,
Attachments:
You must be logged in to view attached files. - March 19, 2020 at 6:59 pm #112264marcinzywyParticipant
Hi Molay Das,
I think it does not work as I use different view – dropdown instead of list.
Please see the screenshot: https://ibb.co/8MGXQ6g
Thank you for your help.
- March 21, 2020 at 8:28 pm #112546Ramamurthy KrishnanKeymaster
Hi,
Can you share your website login details with us, we will get back to you.
Please share your website login credentials as private reply here.
Thanks,
- March 25, 2020 at 4:25 pm #113115marcinzywyParticipant
Hi,
This is now solved – I think there was a problem with my child theme functions.php but now your code is working OK!
Thank you for your help 🙂
- March 25, 2020 at 8:28 pm #113159Ramamurthy 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,
- AuthorPosts
- You must be logged in to reply to this topic.