Magento – PayPal Plus payment on invoice layout for account

Picture

In a project layout was ugly on how or. the arrangement of the account information placed on the invoice.

There is something going better! Therefore sought the correct file to adapt and identified in the folder app / design / frontend / base / default / template / paypal plus / payment as info.phtml. These can then move in your own template folder, to have updated security.

Then you look at the code and notes, that this is quite headstrong:

<tr>
<th><strong><?php echo $this->escapeHtml($_label)?>:</strong></th>
</tr>
<tr>
<td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
</tr>

do so chic:

<tr>
<td><strong><?php echo $this->escapeHtml($_label)?>:</strong></td>
<td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
</tr>

This can be done, of course, do differently – so it looks like but much better:

Picture

Now a lot of space is saved and it is much clearer.

Used in Magento versions 1.7 – 1.9 Comments? Additions? Notes? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

Leave a Reply

Your email address will not be published. Required fields are marked *