• Resolved studio313

    (@studio313)


    Hi,

    Hoping to grab some advise on how to change the heading for the ‘Product Short Description’ panel on the product edit page in the backend. Hoping to change it to ‘Product Description and Features’ so it makes more sense for our client when they are adding products.

    Massive thank you’s in advance

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • Stef

    (@serafinnyc)

    This will do the job.

    
    function WC_Meta_Box_Product_Short_Description( $translation, $original ) {
        if ( 'Product short description' == $original ) {
            return __( 'Custom Product Description' );
        } elseif ( false !== strpos( $original, 'Life Is Full Of Short Descriptions' ) ) {
            return __( 'Custom Product Description' );
        }
        return $translation;
    }
    add_filter( 'gettext', 'WC_Meta_Box_Product_Short_Description', 10, 2 );
    
    
    Thread Starter studio313

    (@studio313)

    Perfection, thank you Stef

    Stef

    (@serafinnyc)

    Anytime. 😃

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Product Short Description Panel Heading’ is closed to new replies.