News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with invoice PDF

Started by jack19, September 27, 2012, 18:34:34 PM

Previous topic - Next topic

jack19

Hi,
I have found that the PDF of the invoice, the shipmentName is without spaces with the shipmentDescription. (Also paymentName with paymentDescription)
is the same problem that I mentioned in another post that I have partially solved
http://forum.virtuemart.net/index.php?topic=107455.msg359179#msg359179
In this case, however, appears in the output PDF files, and I have tried various ways but no solution.
For example, should be:
Telematica Consegna di prodotti virtuali
and not
TelematicaConsegna di prodotti virtuali
See attach.
Any idea?
Regards.

[attachment cleanup by admin]
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a

Naesstrom

I had the same problem on my site.
If you go to the selected shipping options and payment options you have the name and a box beneath it.
Leave the lower box empty and instead ad that text to the next tab at the top called: Configuration
Once there you have a couple of options, add your text to the large one called "Payment Info" instead

jack19

Quote from: Naesstrom on September 28, 2012, 12:21:00 PM
I had the same problem on my site.
If you go to the selected shipping options and payment options you have the name and a box beneath it.
Leave the lower box empty and instead ad that text to the next tab at the top called: Configuration
Once there you have a couple of options, add your text to the large one called "Payment Info" instead
Hi Naesstrom,
I thank you for the answer.
But yours is an alternative that does not work with all payments, for example if you use PayPal.
Also with shipments not have this possibility (with 2.0.10).
The solution could be to separate the two values ​​in the function
<?php echo $this->orderDetails['shipmentName'?>
creating two different like:
<?php echo $this->orderDetails['shipment_Name'?></
and
<?php echo $this->orderDetails['shipment_Description'?></
so you can use them at will where necessary.
Rgds
Best regards

Joomla! 2.5.9
Virtuemart 2.0.18a