Jump to content

PDF total wrong on invoice and strange characters.


Recommended Posts

All,

The invoices are being created – but are not totalling. Also I am getting a strange character in front of the currency symbol – £ in this case. SS attached.

Also – I have changed the logo and called it logo2.jpg – but it does not change the logo – I edited the two instances of logo to logo2 in pdf.php – but it still shows the old logo – do I need to refresh somwhere? I am using 1.37.

Screenie Attached. The values all stack up on the order itself in the BO, just on the invoice.

38936_kCe25UfDC6P20TNRimtF_t

Link to comment
Share on other sites

What do you mean not supposed to be maintained anymore - it's the latest stable release according to your own downloads page!!

Current versions: PrestaShop v.1.3.7 (stable)

I have done nothing to the invoices or pdf editing - it was setup by default, so I do not know how to re-create it as such - it is just as is, but clearly looks terrible to customers.

Link to comment
Share on other sites

I mean we won't fix 1.3.x bug if they does not appear also in 1.4 which will be released really soon. Also I tried to reproduce in 1.3.7 and in last 1.4 RC, the logo was correct and no extra char next to the currency (with $, £ and €).

That can be a server configuration.

What was the previous version you used ? What is your php/apache/mysql version ?

Link to comment
Share on other sites

Sorry - the subscription never told me you replied.

I am not sure where to check - but in the pdf in the BO I am using CP1250 encoding. The collation is mainly utf8_general_ci with some of the tables latin1_swedish_ci - not sure why its Swedish - but it was a import from my dummy site - the two tables using the latin1_swedish_ci are:-

ps_export_set and ps_export_fields

Does that help?

Link to comment
Share on other sites

Some futher information to this stupid problem.

If I look as a customer at my order history - it does not total the products either - when you take a detailed view - screen shot attached.

So it appears the PDF does have the strange characters issue, but may not be at fault for the for the products not being included in the summary.

PLEASE PLEASE help.

39814_S9qCmMmFjwL7Uh19TDKs_t

Link to comment
Share on other sites

I just did that - and no change to the crappy invoice. I have seen that the order details (if logged in as a customer) does show the correct info - screenshot attached. I cant be sure that the DB change made this happen - but its work there.

But still the invoice when you open it is nonsense - driving me nuts!

EDIT***

I did a small test regarding the logo. I uploaded a very small logo - and it did not change - I made the file edits in the pdf.php - so is my pdf.php not correct???? I attached it too.

39847_9NgccZYmvqCvN9J9eAGv_t

PDF.php

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