• Hi there
    I added an additional field on all my products (not visible by customers): I use the attribute tag and add a Customized product attribute.
    For all my products it’s the same name (only the value is changing).

    I need to report this field on my invoice’s template but couldn’t find the way.

    Could you please help?

    Thank you

    Malika

Viewing 1 replies (of 1 total)
  • Hi @malbouq,

    I’m not really sure how this attribute is saved exactly, but there are number of ways you can get similar info on Booster invoice, please try all of them and let me know which one (if any) did the trick. So what you need to do is to add one of these columns to the [wcj_order_items_table] shortcode (in “WooCommerce > Settings > Booster > PDF Invoicing & Packing Slips > Templates”):

    • item_key
    • product_attribute
    • product_meta
    • product_post_meta

    All these columns have similar format, e.g.: product_attribute=your_attribute, item_key=your_key etc., e.g.:

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    	columns="item_number|item_name|product_attribute=your_attribute|item_quantity|line_total_tax_excl"
    	columns_titles="#|Product|Attribute|Qty|Total"
    	columns_styles="width:5%;|width:40%;|width:35%;|width:5%;|width:15%;text-align:right;"]

    Hope that helps.

    P.S. If you like Booster, please leave us a rating.

    Best regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘How to add an additional fields to the invoices’ template?’ is closed to new replies.