Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Hide the weigth and dimensions of product
Tagged: dashboard, dimensions, hide, weigth
- This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago by Sarmistha Chakraborty.
Viewing 2 reply threads
- AuthorPosts
- April 27, 2020 at 10:30 am #123538
- April 27, 2020 at 1:03 pm #123584Sarmistha ChakrabortyMember
Hello,
To remove “dimensions of the product”,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/add_filter('wcfm_product_manage_fields_shipping','remove_some_shpping_fields',15,2); function remove_some_shpping_fields($fields,$product_id){ unset($fields['length']); unset($fields['width']); unset($fields['height']); //unset($fields['shipping_class']);//remove shipping class field return $fields; }
Thanks.
- April 27, 2020 at 6:52 pm #123722jp2019Participant
The fields appears in the product page of dashboard painel… How I can solve it?
- April 27, 2020 at 8:25 pm #123771Sarmistha ChakrabortyMember
Hi,
The fields appears in the product page of dashboard painel
>>Sorry,We do not understand the section.
Please share us the proper screenshot from where you want to remove dimensions field.
The above code is for “Product edit section” from vendor dashboard.Thanks.
- AuthorPosts
Viewing 2 reply threads
- You must be logged in to reply to this topic.