Skip to content
Advertisement

Woocommerce Additional Information Tab: Adding product custom field value

I have the following code working to create the Additional information tab in woocommerce with my own values however I want to pull the information from the built-in product custom field.

JavaScript

This is the current code I use to output the custom field, how do I output this in Value 1 in functions.php file in the working code above?

JavaScript

Advertisement

Answer

Try the following replacing in your code:

JavaScript

with:

JavaScript

It should work.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement