I'm running 1.5.4.1 and all is fine.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I know that the original question is old.Bugsafari wrote:Version 1.5.x.x on a 1.5.0 cart at bugsafari.co.uk. I've a couple of issues that I hope you can address:
1) I have sent several test emails to several addresses. Most of these have worked fine. However, in AOL, only the HTML code of the message was displayed. I frequently use AOL and have never before experienced problems viewing HTML messages. Do you have a fix for this?
2) Some images were not displayed correctly in Gmail. I understand from the forum that has been a problem displaying images with a space in their name. Are you aware of any other characters that affect the display of images? How can this be resolved?
I look forward to hearing from you.
Many thanks,
But I was indeed having trouble with images displaying incorrectly with Gmail, this being because for some reason on Gmail the spaces convert to + and Opencart does not understand that, it uses %20, therefore, I did the following edits:
Open up admin\controller\sale\request_review.php
From line 371 to 377, find and replace this:
Code: Select all
if (file_exists(DIR_IMAGE . $cached_image)) {
$product_image = $order['store_url'] . 'image/' . $cached_image;
} elseif (file_exists(DIR_IMAGE . $product['image'])) {
$product_image = $order['store_url'] . 'image/' . $product['image'];
} else {
$product_image = $order['store_url'] . 'image/no_image.jpg';
}
Code: Select all
if (file_exists(DIR_IMAGE . $cached_image)) {
$product_image = $order['store_url'] . 'image/' . str_replace(" ", "%20", $cached_image);
} elseif (file_exists(DIR_IMAGE . $product['image'])) {
$product_image = $order['store_url'] . 'image/' . str_replace(" ", "%20", $product['image']);
} else {
$product_image = $order['store_url'] . 'image/no_image.jpg';
}
Code: Select all
if (file_exists(DIR_IMAGE . $cached_image)) {
$product_image = $store_data['url'] . 'image/' . $cached_image;
} elseif (file_exists(DIR_IMAGE . $product['image'])) {
$product_image = $store_data['url'] . 'image/' . $product['image'];
} else {
$product_image = $store_data['url'] . 'image/no_image.jpg';
}
Code: Select all
if (file_exists(DIR_IMAGE . $cached_image)) {
$product_image = $store_data['url'] . 'image/' . str_replace(" ", "%20", $cached_image);
} elseif (file_exists(DIR_IMAGE . $product['image'])) {
$product_image = $store_data['url'] . 'image/' . str_replace(" ", "%20", $product['image']);
} else {
$product_image = $store_data['url'] . 'image/no_image.jpg';
}
And it now displays correctly.
This simply replaces the spaces with %20 so Gmail or any other mail provider doesn't see the space but rather the %20.
Thank you!Madness Jason wrote: I know that the original question is old.
I've updated my post wit a link to your solution and I will add it to the zip with fixes.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Looks like 1.5.6 doesn't like this module.
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Users browsing this forum: No registered users and 74 guests