Jump to content

'Company' field disappeared, shop mails are not formatted, no customer info


tumil

Recommended Posts

Hi,

so today I noticed this really strange problem.

My customers cannot add their company information in 'Addresses' in their profile management. What's more the mails which are sent by Prestashop (e.g. with order information) are now not formatted, just plain text as if it was copied from notepad.

Customers addresses are not present in the mail, there's no text under "address" header.

 

Yesterday everything was OK. All I changed yesterday was clearing the smarty cache because it was too big for my database (I didn't do it manually, just using the Advanced>Performance> tab)

 

Please help, how can I fix it?

 

UPDATE: Addresses are not even shown during realization of the order.

 

ucl5sp0rhxr3.png

 

 

 

 

UPDATE 2:

I enabled the dev mode and that's the error I'm facing when I enter "My addresses"

 

4s0bFAu.jpg

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

I saw similar behavior on shops and it turned out, that the address format under localisation -> countries was malformed.

 

Further investigation revealed a problem with database export/import procedures. During this process, we got \n\n as end-of-line for textarea fiels.

So check the address format or simply set it back to default and change it back corresponding to your needs.

 

In our case it looked like:

company\n\nfirstname lastname\n\n
address1\n\n
address2\n\n
postcode city\n\n
Country:name\n\n

Instead of

company
firstname lastname
address1
address2
postcode city
Country:name

Overall I'd look at the parameterisation tables rather than the code somewhere on your server.

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...