PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.21k stars 4.81k forks source link

Wrong Address Layout when Printing Order #12842

Closed seederp2p closed 5 years ago

seederp2p commented 5 years ago

With my version 1.7.5.1, when I print an order I get the address with a wrong layout like:

Name of the Person Address Zip Code etc etc etc

Instead of

Name Address etc.

On the backoffice the address appears correctly. Only when I print it is wrong.

Additionnal information PrestaShop version: 1.7.5.1 PHP version: PHP 7.0.33-0ubuntu0.16.04.1

khouloudbelguith commented 5 years ago

Hi @seederp2p,

In the BO => Orders => Order details => I click on "Print" order I have this file Orders _ Order LBCTGKRZT from John DOE • 1751ttt.pdf Have you a wrong layout with this? image

Thanks!

seederp2p commented 5 years ago

No!

But I found the problem. Somehow on my database, ps_address_format, there was no breaks between address elements.

khouloudbelguith commented 5 years ago

@seederp2p, so your issue is fixed? Thanks!

seederp2p commented 5 years ago

Yes.

TY

khouloudbelguith commented 5 years ago

Hi @seederp2p,

Thanks for your feedback. Feel free to open a new one when needed. Thanks!