PDF invoice get order item meta data
-
We try to add an order meta data as in your example in the pdf invoice (%sku%) under section “Item Name Additional Info” located at page=wc-settings & tab=jetpack & wcj-cat=emails_and_misc & section=pdf_invoices, but it failed to display the required meta data.
Please, let us know how we can include order meta data to the pdf invoice.
thanks …
-
Dear Mohamedattia35,
This is module is depreciated and will be removed in one of future releases. Please use PDF Invoicing and Packing Slips module instead.
http://boostwoo.com/features/pdf-invoicing-and-packing-slips/
BR,
Val
boostwoo.comDear Val,
Thanks for your reply.
But even through the PDF Invoicing and Packing Slips module, how we can include order meta data to the PDF invoice.
Thanks …
Hi Mohamedattia35,
you want to put Checkout Custom Fields information to the invoice template?
Or you want use different custom field info?BR,
Val
boostwoo.comwe have a custom checkout fields, which saved in the post meta table.
these fields appears on the order details in the admin page and in the woocommerce email.
we need to include this fields in the invoice html template.
we need a short code like this as example:-
[woo_custom_order_field order_id=order id number fld_name=the name of the field that need to return its value]
thanks …
Dear Mohamedattia35,
I tested this feature and do not found any problems, here my results:
custom checkout fields module:
http://snag.gy/e95E1.jpginvoice:
http://snag.gy/y7wZ9.jpgorder:
http://snag.gy/8tpHT.jpgPS. did you update to the latest version of plugin ?
BR,
Val
boostwoo.comDear Val,
Thanks for your reply but we are talking about the custom checkout fields module.
Let me explain in more details, we have another 3rd parity plugin (not provided by you) that add meta data to the order details and we need to include this data in the pdf invoice.
These meta data appear in the order admin page and also in the emails as we mention before but we can’t include it the pdf or we can’t find the way how to do this through short codes of your plugin.
Also, regarding the plugin update, yes we perform the update to the latest version.
Thanks …
Dear Val,
Thanks for your reply but we are not talking about the custom checkout fields module.
Let me explain in more details, we have another 3rd parity plugin (not provided by you) that add meta data to the order details and we need to include this data in the pdf invoice.
These meta data appear in the order admin page and also in the emails as we mention before but we can’t include it the pdf or we can’t find the way how to do this through short codes of your plugin.
Also, regarding the plugin update, yes we perform the update to the latest version.
Thanks …
Hello,
if you are using Booster for WooCommerce custom checkout fields, please try this code to the invoice template:
<p>Custom checkout field: [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]</p>BR,
Valif we don’t use the Booster for WooCommerce custom checkout fields, what can we do?
Dear Mohamedattia35,
Why don`t you use our custom checkout fields?
BR,
ValDear Val,
We can use your custom checkout option, if we only need to get data input from client but we are using a custom plugin that integrated with external database and according to conditions and quantity, it add or update order meta data.
So, it will be impossible to use your custom checkout option and we have to use this plugin.
But now, we need from your plugin to read these meta data saved with each order.
Thanks …
Hi,
I`m not sure this works, but you can try to find custom name.
1. You need google chrome internet browser
2. Press near custom field right mouse button and select Inspect elementthis is example for the template for picture above
<p>Custom checkout field: [wcj_order_checkout_field field_id="billing_wcj_checkout_field_1"]</p>Hopes that help.
BR,
ValHello Val,
Just a quick note to say your solution works perfectly for the Booster for WooCommerce custom checkout fields.
Best
Peter
Hi,
Thank for note Peter.
BR,
Val
The topic ‘PDF invoice get order item meta data’ is closed to new replies.