Jump to content

Own text in address block in email confirmation template


lipo999

Recommended Posts

Hello,

in normal order confirmation template we have delivery address with name etc + VAT and DNI.

How to put own text before VAT and DNI?

 

Now we have (in red we wanna have):

Dodací adresa

David Ublanič
Testovací, s.r.o.

IČO: 035685858
DIČ: 035685858
Testovací
43401 Most
Czech Republic
776589654

Email: [email protected]

 

Thank you

Link to comment
Share on other sites

This isn't possible without coding and other parts of prestashop would be widely affected when not creating a new class method.

 

Why:

Fully formatted addresses are generated with a prestashop method. It fetches the data and formats it according to address setup in the relevant country. This exact same method is used at many places all around. If you would change this behavior it would lead to having this additional information everywhere. Invoices, delivery slips, order overview etc etc.

 

What you needed would be a new own method for generating addresses only for the order confirmation and add the additional fields only there.

Since we don't know anything on your prestashop version, further advice isn't possible.

Edited by Scully (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...