Menu Close

WooCommerce: Add Content To Additional Information Tab @ Single Product Page

default

The Additional Information tab on the WooCommerce Single Product Page displays information about product dimensions, weight, and possible attribute terms.

There are hooks, thankfully, that can help us display additional content in there, either above or below the attributes table. Enjoy!

On my dev site running the Storefront theme, I was able to add some HTML below the attributes table inside the Additional Information tab content.

PHP Snippet: Display Additional Content @ WooCommerce Single Product Additional Information Tab

Note: if you change “11” to “9” in the snippet below, the additional content will show ABOVE the attributes table as opposed to under it.

/**
 * @snippet       Add Content to WooCommerce Additional Information Tab
 * @how-to        Get CustomizeWoo.com FREE
 * @author        Rodolfo Melogli
 * @compatible    WooCommerce 7
 * @donate $9     https://businessbloomer.com/bloomer-armada/
 */

add_action( 'woocommerce_product_additional_information', 'bbloomer_add_content_additional_information_tab', 11 );

function bbloomer_add_content_additional_information_tab( $product ) {
	echo '<p>Test</p>';
}
View Source
Posted in WooCommerce Tips