0
Home › Forums › Booster Plus Customer Forum › How to use the PDF wcj_product_custom_field in table?
Tagged: wcj_product_custom_field
We use ACF for extra fees, how to show this in the table? wcj_product_custom_field=totale_btw did not work
Hi @roiverhogen
Thank you for reaching out to us.
You can add the product ACF (Advanced Custom Fields) field value in the order item table using the item_key=_acf_field_key column.
Here’s the code snippet for reference:
[wcj_order_items_table table_class="pdf_invoice_items_table" columns="item_number|item_name|item_key=_acf_field_key|item_quantity|line_total_tax_excl" columns_titles="#|Product|ACF|Qty|Total" columns_styles="width:5%;|width:45%;|width:30%;|width:5%;|width:15%;text-align:right;"]
For more details, you can check our documentation here.
Category – Orders
Thank you, I cannot get it to work though. Custom is still empty:
[wcj_order_items_table table_class="pdf_invoice_items_table" columns="item_number|item_name|item_quantity|item_key=_totale_btw|line_total_tax_excl" columns_titles="|Product|Qty|Custom|Total" columns_styles="width:5%;|width:75%;|width:5%;|width:15%;text-align:right;"]
https://gyazo.com/36c0b9c047cb500ce7666a270658df04
Are there any restrictions for ACF fields to use?
This site uses cookies: Find out more.