Website Building » WooCommerce » How Do I Display Custom Field Data in WooCommerce Product Page?

How Do I Display Custom Field Data in WooCommerce Product Page?

Last updated on January 17, 2023 @ 1:12 pm

WooCommerce is a popular eCommerce platform that allows store owners to sell products online. A key feature of WooCommerce is the ability to add custom fields to products. This allows store owners to add extra data to products, such as SKU, weight, size, etc.

Custom fields can be displayed on the product page using the WooCommerce Product Page Custom Fields extension. This extension allows you to add a custom field to the product page, and then display the data in that field on the front-end of your store.

To use this extension, first install and activate it. Then, go to WooCommerce > Settings > Products > Custom Fields. Here you will see a list of all the custom fields you have created.

To display a custom field on the product page, click on the edit icon for that field. In the Field Settings section, check the box next to “Display on product page”. Save your changes.

Now, when you view a product page, you will see the data from your custom field displayed beneath the product name. You can style this text using HTML tags, such as < p >, < b > and < u >.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.