• Resolved mohamedattia35

    (@mohamedattia35)


    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 …

    https://www.ads-software.com/plugins/woocommerce-jetpack/

Viewing 15 replies - 1 through 15 (of 18 total)
  • 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.

    https://boostwoo.com/features/pdf-invoicing-and-packing-slips/

    BR,
    Val
    boostwoo.com

    Thread Starter mohamedattia35

    (@mohamedattia35)

    Dear 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.com

    Thread Starter mohamedattia35

    (@mohamedattia35)

    we 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:
    https://snag.gy/e95E1.jpg

    invoice:
    https://snag.gy/y7wZ9.jpg

    order:
    https://snag.gy/8tpHT.jpg

    PS. did you update to the latest version of plugin ?

    BR,
    Val
    boostwoo.com

    Hello,

    I have exactly the same question: what is the shortcode to include the custom checkout field(s) in the invoice?

    Order email shows the field: picture 1
    but invoice does not show it by default: picture 2

    Best

    Peter

    Thread Starter mohamedattia35

    (@mohamedattia35)

    Dear 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 …

    Thread Starter mohamedattia35

    (@mohamedattia35)

    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,
    Val

    Thread Starter mohamedattia35

    (@mohamedattia35)

    if 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,
    Val

    Thread Starter mohamedattia35

    (@mohamedattia35)

    Dear 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 element

    https://snag.gy/5HU0l.jpg

    this 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,
    Val

    Hello 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

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘PDF invoice get order item meta data’ is closed to new replies.