Post by alex_a_k » Fri Aug 21, 2015 8:08 pm

1. Not show pictures in GMAIL, then in filename or path picture present space " " (replaсed by "+").
i.e. picture with name "6 mini-228x228.JPG" replaced by "6+mini-228x228.JPG" and this not show.
2. Don't add slashes before " (quotes) in title attribute <img>.

I'm replace <img> tag on

Code: Select all

<img src="<?php echo str_replace(' ','%20',$product['thumb']); ?>" title="<?php echo str_replace('"', '\"', $product['name']); ?>" style="float:left; />
Works great! ;)

P.S. OC v1.5.5.1.

Newbie

Posts

Joined
Thu Apr 09, 2015 9:36 pm

Post by straightlight » Fri Aug 21, 2015 8:45 pm

For all HTML emails as explained above, if you revert the changes and try the following in system/library/mail.php file:

Code: Select all

$message .= $this->html . $this->newline;
replace with:

Code: Select all

$message .= preg_replace(array('~[[:space:]]~', '~"~'), array('%20', '\"'), $this->html) . $this->newline;
Does this fix the issue?

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Sat Aug 22, 2015 12:29 am

A much more PRO-way would be, ONLY to add Images, using HTML Standard compliant File Names.
But tell that the Folks... :'(
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by xxvirusxx » Sat Jan 16, 2016 6:25 pm

Any idea how to change this vqmod for 2.1.0.2?

LE. Solved
Posted here
http://forum.opencart.com/viewtopic.php?f=20&t=145074

New member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by erhangazi84 » Mon Jan 18, 2016 7:20 pm

we also need for 2.x

Newbie

Posts

Joined
Fri May 23, 2014 10:46 pm

Post by IP_CAM » Thu Mar 10, 2016 3:59 am

My OpenCart v.2.2 VqMod Version:
Add Product Images to Customer eMail Confirmation
my v.2 Version Extensions are not longer online, sorry!

Ernie
bigmax.ch/cart/
Last edited by IP_CAM on Wed Oct 05, 2016 1:02 pm, edited 1 time in total.

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by derek1962 » Fri Apr 29, 2016 10:59 pm

Tried everything on my test website but just can't get it to work, does not show any images in email, any help would be appreciated thanks

New member

Posts

Joined
Sat May 26, 2012 6:37 pm

Post by beebee » Tue May 24, 2016 12:07 am

IP_CAM wrote:My OpenCart v.2.2 VqMod Version:
Add Product Images to Customer eMail Confirmation
http://forum.opencart.com/viewtopic.php ... 16#p607916

Ernie
bigmax.ch/cart/
Hi Ernie,

Thank you for creating a free extension to include product image in the order email. It's PERFECT!!

Cheers!
B

BeeBee
When the going gets weird, the weird turn Pro!!


User avatar
New member

Posts

Joined
Thu May 12, 2016 5:13 pm

Post by IP_CAM » Wed Oct 05, 2016 1:18 pm

there is always a way, if your Customer is willing, to pay a decent price for an
exclusive custom Made Extension or Mod. That's, how Custom-Made Business is all about!
But if you ask for here, in the free Contribution Topic, sure, no-one will reply.

It's hard Coder-Work, and really custom-made, to fit/match such requests, during the
entire Checkout-Process, the range of image-links/titles/sizes has to be 'forwarded', taken along
with the regular data, to be able to finally be found and seen on the order email, somewhere.

The whole checkout process has therefore to be rewritten,possibly from way down up to the Database,
requiring additional Sections and Values, all this, in order to 'handle' your request.

Just to give your some rough idea on such. ;)
I would sure not be able to...
Good Luck!
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + OpenShop Admin v.1.75 Test Sites
http://www.ebikes.li - http://www.evelo.li - http://www.openshop.li
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 10 guests