How to Display Product Dimensions on Archive Pages in WooCommerce

Want to display product dimensions on product archive page in your woocommerce store? There are two ways to do this first is add below code snippets in functions.php page of your current theme OR you can also create a separate WordPress plugin to display product dimensions on archive page.


Display WooCommerce Product Dimensions

Below code will display woocommerce product dimensions, below product title on archive page. Add this in your functions.php page.

Method 2: Create WordPress Plugin

Create a folder named “WooCommerce-display-product-dimensions” in your root directory of website => wp-content => plugins folder then create a index.php page under this folder. Copy below code and paste in index.php page and save.

Now login in your admin panel and navigate to Plugins page. On the plugins page search “WooCommerce Display Product Dimensions” and activate to enable this features.

Thank you for giving time on freewebmentor community. Please don’t forget to subscribe our newsletter or join us on Facebook to be the first to learn the next great thing from freewebmentor.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , , ,