Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    This is possible. Please use get_post_meta to get the custom field and echo it in one of the template files.

    Plugin Author Bas Elbers

    (@baaaaas)

    Did it work? Please let me know.

    Thread Starter christinatag

    (@christinatag)

    I gave the instructions to our developer but I don’t think he was able to make it work. We are trying to find an alternative. Thank you for your quick response though!

    Plugin Author Bas Elbers

    (@baaaaas)

    Did you find a solution yet? Would like to help you out. ??

    Thread Starter christinatag

    (@christinatag)

    We went with a simpler solution since we couldn’t get it to work so we are not using the custom fields anymore. Thank you for check back though.

    Plugin Author Bas Elbers

    (@baaaaas)

    Great!
    Would you be so kind to rate the plugin? That would be great!

    Thread Starter christinatag

    (@christinatag)

    Done. Thanks for your responses.

    Hi Bas, excellent plugin just what I have been looking for. However on this topic I have another plugin that creates custom fields and this is working great. https://codecanyon.net/item/woocommerce-easy-checkout-field-editor/9799777

    However I am trying to get_post of this custom field to display on the PDF invoice and not getting this right. Please could you post a snippet.

    Many Thanks

    Plugin Author Bas Elbers

    (@baaaaas)

    Hello,

    Great! ??

    echo get_post_meta($this->order->id, POST_META_KEY, true);

    Where POST_META_KEY represents the database key name of the custom field. You should look up your database for these.

    Hello,

    First, great plugin! The invoices are looking good!

    I add a custom field to the invoice but I want to add a standard text (like ‘Phone’) to this field.
    I tried but I get always an error.
    What is the correct code to do that?

    Thanks!

    Plugin Author Bas Elbers

    (@baaaaas)

    What is your code that you are trying to add? Wich error do you get?

    Plugin Author Bas Elbers

    (@baaaaas)

    @sitemeup, did it work out for you? Please let me know. ??

    Hello Bas,

    The custom field problem is solved! Thank you for your fast response!

    I have one last question:
    Is it possible to set a different valuta on the pdf invoice? Because I set up the website with a special currency ‘ ,- ‘ this for psychological reasons. But on the invoice I’m required the show the official currency and that is ‘ € ‘.

    Thanks!

    Hi Bas

    Sorry for the late reply. Unfortunately could not get it working however if @classone did please share. Thanks

    Plugin Author Bas Elbers

    (@baaaaas)

    @sitemeup, just search your database (post_meta table) for the meta_key and use below code.

    echo get_post_meta($this->order->id, POST_META_KEY, true);

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Add Custom Fields to PDF Invoice’ is closed to new replies.