Hide the weigth and dimensions of product

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Hide the weigth and dimensions of product

Viewing 2 reply threads
  • Author
    Posts
    • #123538
      jp2019
      Participant

      How I can hide the dimensions of the product in the vendor dashboard?

      Attachments:
      You must be logged in to view attached files.
    • #123584

      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.

    • #123722
      jp2019
      Participant

      The fields appears in the product page of dashboard painel… How I can solve it?

      • #123771

        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.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.