Display product dimensions on archive pages

You need to add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

Display WooCommerce product dimensions on archive pages, below the title of the product.

WooCommerce version 3.0+

https://gist.github.com/woogists/b2b10288139ec939b106c0e59d439e9e

WooCommerce version lower than 3.0

https://gist.github.com/woogists/c9ba3493b13e9b4d803ae9a7a7237178


Keep yourself in the loop!

Sign up for the WooCommerce developer newsletter:
Hidden
Hidden
Hidden


One response to “Display product dimensions on archive pages”

Leave a Reply

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