This is possible. Please use get_post_meta to get the custom field and echo it in one of the template files.
Did it work? Please let me know.
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!
Did you find a solution yet? Would like to help you out. π
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.
Great!
Would you be so kind to rate the plugin? That would be great!
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. http://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
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!
What is your code that you are trying to add? Wich error do you get?
@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
@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);