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

Phoca Cart - complex e-commerce extension
Konctantin
Phoca Member
Phoca Member
Posts: 18
Joined: 13 Dec 2020, 15:14

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

Post 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

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
Konctantin
Phoca Member
Phoca Member
Posts: 18
Joined: 13 Dec 2020, 15:14

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, the variable is: {customercomment}

Jan
If you find Phoca extensions useful, please support the project
Konctantin
Phoca Member
Phoca Member
Posts: 18
Joined: 13 Dec 2020, 15:14

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

Post by Konctantin »

Many thanks to everyone for their help! The question is closed.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

You're welcome!

Kind regards,
Bernno
Post Reply