Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › How to change/remove the "brands" while adding products
- This topic has 3 replies, 3 voices, and was last updated 4 years, 5 months ago by Sarmistha Chakraborty.
- AuthorPosts
- May 7, 2020 at 5:00 pm #128023rohitxdParticipant
Hi I want to make this part invisible https://prnt.sc/scj8yr
or else I want to change the label name of Brands https://prnt.sc/scj8yrPlease respond how to do both, I would appreciate…
Thanks - May 8, 2020 at 2:00 pm #128314Sarmistha ChakrabortyMember
Hello,
To make this part invisible,
add_filter('wcfm_is_allow_custom_taxonomy_pwb-brand', '__return_false');
to change the label name of Brands https://prnt.sc/scj8yr-
add_filter( 'wcfm_taxonomy_custom_label', function( $wcfm_taxonomy_custom_label ) { if($wcfm_taxonomy_custom_label == 'Brands') { $wcfm_taxonomy_custom_label = 'Rename Brands'; } return $wcfm_taxonomy_custom_label; },15);
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Thanks.
- June 11, 2020 at 8:59 am #140496djks74Participant
Hi,
I did add this filter to remove brands on the product edit page but Brand still appearing.
Please advise! Thanks- June 11, 2020 at 11:54 am #140522Sarmistha ChakrabortyMember
Hello,
I did add this filter to remove brands on the product edit page but Brand still appearing.
>>Can you share a vendor details with us.
Which plugin/any custom code are you using to create a product brand?
add_filter('wcfm_is_allow_custom_taxonomy_pwb-brand', '__return_false');
this code will applicable for https://wordpress.org/plugins/perfect-woocommerce-brands/Thanks.
- AuthorPosts
- You must be logged in to reply to this topic.