Show WooCommerce Product Attributes

by Owais Alam  January 17, 2018

WooCommerce product attributes are a great way of highlighting the major features of a product. Customers use these attributes to make informed decisions.

The problem is that the default page setup in a WooCommerce store doesn’t offer a prominent place to these attributes. in many themes, this section is located so far below that the customers often miss it out entirely.

The good news is that it is very easy to show WooCommerce product attributes on the product display page. In fact, WooCommerce provides a hook ‘woocommerce_single_product_summary’ to make things easier.


Display Custom Products Attributes

Before going further, note that this code works only for “regular” attributes and not for variations.  Add this code snippet to the functions.php of your theme:

The Output of the Code

This is how the output of this code looks like:

The Output of the Code


Displaying product attributes on a product display pages is a great way of encouraging customers to make purchases. If you need help in implementing this code at you WooCommerce store, do leave a comment and I will get back to you.

Start Creating Web Apps on Managed Cloud Servers Now!

Easy Web App Deployment for Agencies, Developers and E-Commerce Industry

About Owais Alam

is the WordPress Community Manager at Cloudways – A Managed WooCommerce Hosting Platform and a seasoned PHP developer. He loves to develop all sorts of websites on WordPress and is in love with WooCommerce in particular. You can email him at

Stay Connected:

You Might Also Like...