Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I use the Phoca PDF with the VirtueMart plugin. I would like to insert the field payment method in the bill (PDF). Which variable should I insert into the tmpl.invoice.php? Like, for example.
just does not work. You can not use a Virtuemart variable. They must be in the form, such as the "PLG_PHOCAPDF_VM_payment_method_name". Do you have another idea?
regards David
Hi,
I’ve tried it a few times but unfortunately with no result. The payment information is in the file "virtuemartpdfoutput.php" in the lines 72 to 74. The variable "payment_method" is also formed here. But when I insert the variable (<td width="25%">'.$a['payment_method_name'].'</td>) in the file "tmpl.invoice.php" line 191, in the final pdf nothing changes and the field is empty.
II followed your advise with the „Extra_feld“. Do you have an other idea?