Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › Add Product Form Modification in the Store Dashboard
- This topic has 6 replies, 2 voices, and was last updated 4 years, 8 months ago by Kreator.
- AuthorPosts
- March 16, 2020 at 2:53 pm #111814KreatorParticipant
Hello,
I want to eliminate the Button Text input and set it a default for all my affiliate links.
Also, I want to remove the Button Text input from Adding/Editing a Product in the Store Dashboard.How can I achieve that in the child theme?
(attached screeshot)
Thanks!
Attachments:
You must be logged in to view attached files. - March 16, 2020 at 3:25 pm #111817Sarmistha ChakrabortyMember
Hello,
To removing “Button Text” field from product add page,
add_filter('wcfm_product_manage_fields_pricing','fn_wcfm_product_manage_fields_pricing',10 ,5); function fn_wcfm_product_manage_fields_pricing($fields,$product_id, $product_type, $wcfm_is_translated_product, $wcfm_wpml_edit_disable_element) { unset($fields['button_text']); return $fields; }
Add this code to your child theme’s functions.php
Thanks.
- March 16, 2020 at 6:50 pm #111844
- March 16, 2020 at 7:11 pm #111849Sarmistha ChakrabortyMember
Hi,
To remove brand,
add_filter( 'wcfm_is_allow_custom_taxonomy_store', '__return_false' );
And remove Catalog Visibility sections, off the “catalog” capability settings. PFA
Thanks.
Attachments:
You must be logged in to view attached files. - March 17, 2020 at 12:22 am #111874
- March 17, 2020 at 12:08 pm #111925Sarmistha ChakrabortyMember
Hello,
Regarding Brand, Can you share us the temporary admin access with your site url then we can check and guide you accordingly.
Add Message Add product form,
add_action('begin_wcfm_products_manage_form',function(){ //Add your Message });
Add this code to your child theme’s functions.php
Thanks.
- March 17, 2020 at 12:45 pm #111932KreatorParticipant
Thanks for the help! The message is working also. The only things that are not working are the Brands and Catalog but I have resolved it from CSS.
- AuthorPosts
- You must be logged in to reply to this topic.