Jump to content

PDF invoice not matching email confirmation!


Recommended Posts

Hi guys, I kinda wonder if the solution to this is right under my nose...

 

I'm using prestashop 1.6

 

My pdf invoices and email confirmations total up to the same correct total, but the taxes appear to be spread out in the email, making the shipping and product appear to cost more.

 

I want the email to display order cost details just like in the pdf where the taxes are ALL kept in the tax section. 

 

Here are two screenshots for the same order:

The email confirmation: https://www.dropbox.com/s/1p5gf8azqe1scmh/order_email.png?dl=0

The pdf invoice: https://www.dropbox.com/s/g23ybvtq24utx4l/order_pdf.png?dl=0

 

There you can see how it all totals up correctly, but in the email confirmation the products appear to cost more than they really are - and the tax less than what the pdf says. 

 

Thanks.

Link to comment
Share on other sites

I think the e-mail is calculating it incorrectly.

 

to modify the mail check file /mails/en/order_conf.html

you see it's using {total_products}

 

<font size="2" face="Open-sans, sans-serif" color="#555454">
{total_products}
</font>
to check the pdf, open /pdf/invoice.tpl
 
{displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl}
 
might have to mess around with it to see if this works. let us know if this works.
Link to comment
Share on other sites

×
×
  • Create New...