hi all,
i need a little help with php code.
in invoice template i have table (uuuuu:)). in cell i have show vendor info, but one cell, one vendor parameter (for example field address 1)
how i white php code?
i mean some like this:
<?php echo $this->orderDetails['shipmentName']->shipmentmethods['shipment_name']; ?>
the same thing, I need show ONLY shipment and payment methot name, without picture and description
pls help
thx
add in you invoice template this code and in configuration enable vm debug mode
vmdebug('$this->vendor',$this->vendor->vendorFields['fields']);
then you will find a array with all vendor information and you can build your own output
example:
echo $this->vendor->vendorFields['fields']['address_1']['value']
to get all available information from order, use this debug code
vmdebug('$this->orderDetails',$this->orderDetails);