lipo999 Posted September 6, 2017 Share Posted September 6, 2017 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: 035685858DIČ: 035685858Testovací43401 MostCzech Republic776589654 Email: [email protected] Thank you Link to comment Share on other sites More sharing options...
Scully Posted September 6, 2017 Share Posted September 6, 2017 (edited) 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 September 6, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 6, 2017 Share Posted September 6, 2017 To have additional information in the middle of a formatted address? Link to comment Share on other sites More sharing options...
lipo999 Posted September 6, 2017 Author Share Posted September 6, 2017 I have for e.g. added email under formatted address like this: Email: {email} But I dont want do it for all elements in the block and to be honest, I dont know, If is it possible for Name, Surname, Address, VAT, DNI, Phone....etc. Link to comment Share on other sites More sharing options...
Scully Posted September 6, 2017 Share Posted September 6, 2017 Hello! Does anybody read what I wrote? You can specify address formats per country. That's it. If you need different formats for the same country at different levels you need to write your own code to achive that. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now