Product page displays attribute slug, not name, in product page

We use 3 attributes in our underwear shop: size, color, and type:

But our store displays the attribute slug, not the attribute name, in the product page, forcing us to use lowercase and hypens :frowning:

What is the best way for me to override this behavior and use the attribute name in the html?
Thanks!

Hello there,

It doesn’t seem to happen on my test site. Are you running the latest version of WooCommerce? In your site dashboard, try visiting Products > Attributes; then edit the name of registered attributes and just hit the save button.

Regards,
Kharis

Yes, I am using the latest version of Woocommerce and have updated my attributes. But as per the link above, it is showing the attribute slug, not the name.