PDF to customer not using overrides - No css on print invoice in BE?

Started by randomdev, December 18, 2012, 02:41:02 AM

Previous topic - Next topic

randomdev

vm 2.0.14

I was having problems with the pdf email to customer, for some reason it had a discount column that I had removed in all my overrides.

So to test I copied my template overrides back into the main view directory and the changes showed up in the pdf emailed to the customer which seems to indicate that the overrides are not working for this?

I also notice that the store logo in the pdf printed from the backend is very small whereas the logo in the pdf emailed to the customer is fine? Any idea how to fix this?

Another thing I notice is the print invoice in backend is all bunched up with no vertical spacing, I had a look and there is spaceStyle div classes defined but no css is being applied to these, is this intentional or some css not being loaded here?

One more thing I just noticed, the email to customer as well as pdf to customer are not using my language overrides?
I have overridden COM_VIRTUEMART_ORDER_PRINT_PRODUCT_PRICES_TOTAL as 'Subtotal', which shows up properly from the BE invoices, but on the email and pdf to customer it shows 'Product prices result' ?


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


randomdev

Just did a quick test on my localhost:

Original email to customer when they place order: shows correct language overrides

If administrator updates order status in backend and sends notification to customer: no language overrides, attached invoice pdf still not using the items override

I also had a problem where now my prices are gone for shoppers who are not logged in (this may be a configuration issue, is there an option to set the default price to show to anonymous also?)

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

randomdev

I had also commented in that thread but did not see any solution? It sounded like problem was fixed in c version but I am still having it on .15e ?