How to Display Product Dimensions on Archive Pages in WooCommerce

By Prem Tiwari in WooCommerce, WordPress, WordPress Beginners, WordPress Snippets. Updated on


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.

woocommerce-logo

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.

Sharing is caring!


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

You might also like:

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.