Jump to content

Customers invoice email bug


Recommended Posts

Hi,

 

I have searched high and low and could not find a solution to my problem.

 

I have installed Prestashop 1.4.7.0 and added a custom theme. When I tested the website with a sale the email invoice (HTML) version that gets sent to the customer comes through all messed up (see attached image)

 

The only thing I have done is changed the colours, I have tried a few things but no luck.

 

Any help with this would be most appreciated.

 

Cheers Guys.

post-360507-0-18712400-1336270416_thumb.jpg

Link to comment
Share on other sites

Hello,

I think you have to overwrite

 

..yourshop\mails\en\order_conf.html

 

and the file

 

..yourshop\modules\mailalerts\mails\en\new_order.htlm

 

with the original files. Remember to backup

  • Like 1
Link to comment
Share on other sites

Thanks miyco,

 

I was sure I had already tried this so I downloaded a fresh copy of Prestashop and used the order_conf.html and new_order.html From the fresh download. Replaced my old files and bingo!

 

Many Thanks

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

If they don't bother to help someone who looks like you do, what the rest of us can expect :)

 

Joke aside, i think the forum lost a lot by retreating Mike Kranzler from the team, as he used to answer a good deal of questions.

Such a shame.

  • Like 1
Link to comment
Share on other sites

Get the German template from the /mails/de/ folder store it on a different folder on your hard drive.

Then get the English template from the /mails/en folder and store it on a different folder on your hard drive.

 

Next... Open de DE and the EN file. (with Dreamweaver or something else)

 

Check every english line and place it in the German file.

After that Check your "DE" file in your browser (Local)

After That rename the English file in the /mails/en folder to order_conf.html.BAK (bak stands for... Backup)

After that upload the "DE"file that you just edited and now it should be file....

  • Like 2
Link to comment
Share on other sites

Get the German template from the /mails/de/ folder store it on a different folder on your hard drive.

Then get the English template from the /mails/en folder and store it on a different folder on your hard drive.

 

Next... Open de DE and the EN file. (with Dreamweaver or something else)

 

Check every english line and place it in the German file.

After that Check your "DE" file in your browser (Local)

After That rename the English file in the /mails/en folder to order_conf.html.BAK (bak stands for... Backup)

After that upload the "DE"file that you just edited and now it should be file....

Hi DJ,

 

Thank you very much for the reply.

Since it's late now, i'll try it tomorrow.

I hope it will resolve this quite embarrassing layout.

 

Greets

Link to comment
Share on other sites

  • 5 months later...

Hi,

I only now managed to find some time to deal with this prob, and i can tell you the solution you proposed doesn't work.

 

This is because the formatting of the problematic lines at all doesn't come from the mail html template (order_conf.html), but from the variables named {products} and {discounts} within the template. Those variables come to the template preformed from another file.

If i knew where is the location(file) where those variables are created, i could fix bad table formatting.

Link to comment
Share on other sites

×
×
  • Create New...