News:

Looking for documentation? Take a look on our wiki

Main Menu

Order confirmation email template needs attention

Started by brendonhatcher, May 06, 2012, 15:03:40 PM

Previous topic - Next topic

brendonhatcher

Hi

Email templating is a complex issue due to the lack of common standards and the huge range of email browsers.
See http://www.campaignmonitor.com/css/ for details (I am not affiliated with Campaign Monitor).

The current email template has a style sheet at the <head>.
This doesn't work in GMail and Gmail for Android.

So, the email layout should use a table layout with inline styles for each element.

Finally, there is a broken table element causing the payment details columns to not line up correctly.
components/com_virtuemart/views/invoice/tmpl/invoice_items.php
line 175: <td align="right" class="pricePad" colspan="6"><?php echo $this->orderDetails['paymentName']  ?><td>
Change to: <td align="right" class="pricePad" colspan="6"><?php echo $this->orderDetails['paymentName']  ?></td>

Regards
Brendon

4est

I've been looking to fix that, thanks, it works!

I'm surprised nobody integrated your payment fix in the core.

I could also add that the product name column is way too small, while product SKU is way too big and I don't want it there anyway

vigier

This thingy has already been fixed a few versions ago.