GWP … here is the code for voucher.tpl with inline css. Thankfully this one is a lot smaller than the other. I haven’t had a chance to test it out, but if there are any problems with it let me know.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $title; ?></title>
</head>
<body style="color: #000000;font-family: Arial, Helvetica, sans-serif;font-size: 12px;">
<div style="width: 680px;">
<div style="float: right; margin-left: 20px;"><a style="color: #378DC1;text-decoration: underline;cursor: pointer;font-size: 12px;" href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><img style="border: none;" src="<?php echo $image; ?>" alt="<?php echo $store_name; ?>" /></a></div>
<div>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $text_greeting; ?></p>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $text_from; ?></p>
<?php if ($message) { ?>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $text_message; ?></p>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $message; ?></p>
<?php } ?>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $text_redeem; ?></p>
<p style="margin-top: 0px; margin-bottom: 20px;"><a style="color: #378DC1;text-decoration: underline;cursor: pointer;font-size: 12px;" href="<?php echo $store_url; ?>" title="<?php echo $store_name; ?>"><?php echo $store_url; ?></a></p>
<p style="margin-top: 0px; margin-bottom: 20px;"><?php echo $text_footer; ?></p>
</div>
</div>
</body>
</html>
Regards,
Al
|
|
@Freakyal. Many thanks for that Al, will be useful for many here
|
|
Since I got into the whole opencart scene a couple of months ago I am shocked at how many developers haven’t applied this to their sites. I have bought extensions from various sites and my invoice emails in gmail look like shiet.
|
|
Would really appreciate if I can get all updated files, my email is ashish _ verma @ msn . com
Thanks in advance.
|
|