Hidding product’s shipment info: weight and dimensions

This topic has 6 replies, 2 voices, and was last updated 2 weeks, 3 days ago ago by Jack Richardson

  • Avatar: javi_web
    javi_web
    Participant
    September 22, 2026 at 12:59

    Hello,
    I have added this code to my theme child functions.php file, in order to hide weight and dimensions from the product detail Info tab.

    add_filter( ‘woocommerce_product_enable_dimensions_display’, ‘__return_false’ );

    It didn’t work. Could you tell me how to do it?

    Regards,
    Javi.

    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 22, 2026 at 19:07

    Hello @javi_web,

    Upon reviewing the code in the WooCommerce plugin, we were unable to locate the filter you used. However, there is another filter, ‘wc_product_enable_dimensions_display’, that you might consider using (https://prnt.sc/UZfSAunObSXu). Please try adding the snippet add_filter('wc_product_enable_dimensions_display', '__return_false'); in place of your current code. If the content continues to be displayed, kindly provide us with temporary wp-admin access and the URL of any product exhibiting this data in the product tabs.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: javi_web
    javi_web
    Participant
    September 23, 2026 at 10:19

    Hello Jack,
    Your snippet didn’t work neither.
    Please, info needed in private content.

    Regards,
    Javi

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2026 at 11:13

    Hello @javi_web,

    We hope this message finds you well.

    We attempted to log in to your website and also tried accessing it using a VPN. However, we are still encountering restrictions with the following message: “Your access to this site has been temporarily limited by the site owner.”

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Files is visible for topic creator and
    support staff only.
    Avatar: javi_web
    javi_web
    Participant
    September 23, 2026 at 11:32

    Hi,
    Please, provide me your IP address to enable it in the whitelist.

    Regards,
    Javi.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 23, 2026 at 11:56

    Hello @javi_web,

    Please, check private content.

    Kind regards, Jack Richardson
    The 8theme’s team

    Please contact administrator
    for this information.
  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.