Blog

Displaying the product extra options

Posted by:

You are here:
< Back

Note: A full version is required to use these features

There are two ways to display the product meta

1.- Via invoice detail settings

If you have a recent version of the plugin you can just enable it via the “Invoice Detail” table settings

2.- Via custom fields

To create a custom field that displays the product name and all the selected options do the following:

1.- Go to WC Invoice/Custom fields and create a new custom fields.

2.- Create a custom field with this information:

Name: Whatever you want it to be named

Type: Table Column field (because this custom field is going to be added to your invoice table).

Code: 


return (new CArrayField("table","meta",""))->GetFormattedMetaData();

Your custom field should looks like this:

3.- Add your new custom field to your invoice table

And that’s it! Now your invoice will show all the custom fields it has:

0
  Related Posts
  • No related posts found.