How to Display Product Dimensions on Archive Pages in WooCommerce

Prem Tiwari - - WooCommerce, WordPress, WordPress Beginners, WordPress Snippets

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.

Prem Tiwari

Prem Tiwari is the founder of and also a professional developer and a blogger by hobby.

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.