WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Shipping Weight/Dimensions Showing on Product Page Additional Information

Shipping Weight/Dimensions Showing on Product Page Additional Information

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, I’m trying to stop dimensions showing up on the additional info. tab too! As well as weight.

    Make a child theme. This is so that your customisation is not lost if you update your theme.

    Make a file called functions.php in the root of your child theme, code as follows:

    <?php
    // hide weight and dimensions
    add_filter( 'wc_product_enable_dimensions_display', '__return_false' );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shipping Weight/Dimensions Showing on Product Page Additional Information’ is closed to new replies.
Skip to toolbar