Hide product weight but still allow to be active in the back ground.

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 – Marketplace (WooCommerce Multivendor Marketplace) Hide product weight but still allow to be active in the back ground.

Viewing 1 reply thread
  • Author
    Posts
    • #32511
      Johan
      Guest

      Hide product weight but still allow to be active in the back ground.

      Hi, I use weight-based-shipping thus would like weight not to be visible on the product page but still active in the back ground. Can you advise me of a css or php snippet that will allow for this?

    • #32663
      WCFM Forum
      Member

      Hi @Johan,

      Add this code for the purpose –

      add_filter( 'wc_product_enable_dimensions_display', '__return_false' );

      Thank You

Viewing 1 reply thread
  • The topic ‘Hide product weight but still allow to be active in the back ground.’ is closed to new replies.