Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › Edit Add Product Form – Variations
- This topic has 1 reply, 2 voices, and was last updated 4 years, 8 months ago by Sarmistha Chakraborty.
Viewing 1 reply thread
- AuthorPosts
- April 19, 2020 at 1:15 pm #120564ashley.youngukParticipant
Hi
I’ve managed to customise most of the variation tab on the add product form however there are areas that I am struggling with:
Downloadable – How do I edit this checkbox label? I want to change it’s text and add a class.
Remove shipping fields – I would like to remove the following fields, Length, Weight, Height, Width, Shipping ClassAny help would be appreciated, I’ve spent hours trying to figure it out. Just to confirm this is on the each variation on the add product form.
Thank you 🙂
- April 19, 2020 at 9:28 pm #120673Sarmistha ChakrabortyMember
Hello,
Try this code in your theme’s functions.php
add_action( 'init','remove_some_variation_fields'); function remove_some_variation_fields(){ global $WCFM, $WCFMu; remove_filter( 'wcfm_product_manage_fields_variations', array( $WCFMu->frontend, 'wcfmu_product_manage_fields_variations' ), 10, 4 ); }
Thanks
- AuthorPosts
Viewing 1 reply thread
- You must be logged in to reply to this topic.