Page 1 of 1

Setting up the withdrawal form of an order, invoice, invoice

Posted: 25 Dec 2020, 08:32
by Konctantin
Good day!
Another question arose. The withdrawal form of an invoice, order or invoice displays only some of the customer data, but not all. In my example, the client indicated an e-mail and phone number in the photo, but only the first and last name are displayed in the "ph-idnr-billing-box-in" block. Also in the "ph-idnr-shipping-box-in" delivery information block, only the address is displayed, but there is no customer contact phone number.
Can this be configured without tampering with the code?

https://i.imgur.com/EBMnFG4.png

Re: Setting up the withdrawal form of an order, invoice, invoice

Posted: 25 Dec 2020, 12:23
by Benno
Hi,
yes, it's possible to include additional customer informations to delivery note, order and invoice. You can use variables to do this, e.g.
  • Email: {b_email}
  • Phone 1: {b_phone_1}
  • Mobile: {b_phone_mobile}
  • Fax: {b_fax}
Create articles for:
  • Invoice Global Top Description
  • Order Global Top Description
  • Delivery Note Global Top Description
and copy the variables into this articles.

For more information about variables see this article: https://www.phoca.cz/documents/116-phoc ... or-vendors

Image

Image

It's also possible for shipping address. Then the variables are:
  • Email: {s_email}
  • Phone 1: {s_phone_1}
  • Mobile: {s_phone_mobile}
  • Fax: {s_fax}
Kind regards,
Benno

Re: Setting up the withdrawal form of an order, invoice, invoice

Posted: 25 Dec 2020, 20:52
by Konctantin
Thanks for the help, figured it out. There is also a second question. At the end of the order, the buyer can leave a comment. It would be nice to display this comment in the body of the letter to the administrator about the arrival of a new order. Is it possible?
I did not find the variable responsible for the comment field in the documentation.

Re: Setting up the withdrawal form of an order, invoice, invoice

Posted: 25 Dec 2020, 22:39
by Jan
Hi, the variable is: {customercomment}

Jan

Re: Setting up the withdrawal form of an order, invoice, invoice

Posted: 26 Dec 2020, 14:43
by Konctantin
Many thanks to everyone for their help! The question is closed.

Re: Setting up the withdrawal form of an order, invoice, invoice

Posted: 26 Dec 2020, 15:12
by Benno
You're welcome!

Kind regards,
Bernno