AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: ronanmag on January 17, 2013, 04:15:05 AM
-
Hi,
I'm not seeing my shop logo when I place a test order and redirect the notification email to a client like Thunderbird or Seamonkey.
I just get a link at the top left of the mail.
It does work if I redirect to a gmail address and view it on webmail page.
Am I missing something or is it working as designed ?
Thanks,
Ronan
-
whta view mode of your email client was set? i mean setting something like this "show letters as html (or plain text)"
-
Default setting in Thunderbird client - view message body as "Original HTML"
I've got invoices etc,. from other cart software and it displays their shop logo no problem.
-
I did a fresh install of the cart to test if it was a problem with my logo or something.
The install is using the sample data and I registered an account and purchased an item.
The only change I made on the backend was the email address to send orders to.
I'm still seeing the same issue, so I've attached a screenshots -
Displays as a link in email client
Displays AbanteCart logo in Gmail
-
Ok, so these seems to be a common issue......it's also a bug on Open Cart but they have a hack to fix it.
$template->data['logo'] = 'cid:' . md5(basename($this->config->get('config_logo'))) . '.jpg';
Is there a way to hardcode the logo gif in AbanteCart or what file should I be looking at to do it??
Thanks
-
i added this changes into 1.1.3 but not see result. I tried different variants but unsuccessfully. :( i give up.
Please check this commit if you have a time
https://github.com/abantecart/abantecart-src/commit/5f115ee0f4c5e53b31bf4a9b28d42fb419197082
and let me know.
Thanks.
-
I installed 1.1.3 and I'm now getting the logo as an attachment
-
I installed 1.1.3 and I'm now getting the logo as an attachment
me too. but thunderbird don't want to show it inside message text. I have no idea why. All img src writes as cid:uniquie_attachment_name.
-
I'm not seeing any attention being paid here as to whether Thunderbird is set to allow image display in any of the tests being performed.
Also, keep in mind that some security tools will prevent image display in mail - and I haven't seen any discussion of that..
David
-
I'm not seeing any attention being paid here as to whether Thunderbird is set to allow image display in any of the tests being performed.
Also, keep in mind that some security tools will prevent image display in mail - and I haven't seen any discussion of that..
David
Thanks, David.
But i don't use any security tools. i works on ubuntu linux os.
i think something wrong with format, but still can't to find where is bug.
-
I have TB set to :
View Message Body : As Original HTML
I also tried installing an add on called - Show All Body Parts 1.2
Enable the View | Message Body As | All Body Parts message display mode, which causes all parts of the message, even those that normally would not be displayed, to be visible in the message viewing area (if Thunderbird knows how to display them) and listed in the attachments pane.
It didn't help......
-
Here's part of a thread on the OC forum that appears to fix the issue.
I've had the same problem with my image logo not showing up in order confirmation emails when viewed on Thunderbird, Seamonkey, and my iPad - they seem to show up okay on my Webmail, though.
I don't know if this will help you, but this is what worked for me.
Open catalog\model\checkout\order.php
Line 233 -
Code: Select all
$template->data['logo'] = 'cid:' . md5(basename($this->config->get('config_logo')));
Add '.jpg' to the end, as follows -
Code: Select all
$template->data['logo'] = 'cid:' . md5(basename($this->config->get('config_logo'))) . '.jpg';
Do the same on line 432 -
Code: Select all
$mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo'), md5(basename($this->config->get('config_logo'))));
Change it to -
Code: Select all
$mail->addAttachment(DIR_IMAGE . $this->config->get('config_logo'), md5(basename($this->config->get('config_logo'))) . '.jpg');
I didn't think it would be as simple as that but now the logo shows up just fine in Seamonkey and my iPad. I'm no expert (I'm a complete OC newb), but I imagine this'll only work if your logo is jpg. If it's gif or png you'll probably want to change the jpg to whatever extension you're using.
I only figured it out because I compared the OC admin newsletter email with the order confirmation email and noticed that the ".jpg" was missing from the end of the "cid" number on the order confirmation email. Hard-coding it in like I have probably isn't the correct way to fix it, but it works so I'm a happy bunny.
I hope this works for you.
-
yes.
i saw it.
we already use cid: md5($logo_filename); too.