Page 3 of 3

Re: "@tik" Product pictures in order email

Posted: Fri Aug 21, 2015 8:08 pm
by alex_a_k
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.

Re: "@tik" Product pictures in order email

Posted: Fri Aug 21, 2015 8:45 pm
by straightlight
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?

Re: "@tik" Product pictures in order email

Posted: Sat Aug 22, 2015 12:29 am
by IP_CAM
A much more PRO-way would be, ONLY to add Images, using HTML Standard compliant File Names.
But tell that the Folks... :'(
Ernie

Re: "@tik" Product pictures in order email

Posted: Sat Jan 16, 2016 6:25 pm
by xxvirusxx
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

Re: "@tik" Product pictures in order email

Posted: Mon Jan 18, 2016 7:20 pm
by erhangazi84
we also need for 2.x

Re: "@tik" Product pictures in order email

Posted: Thu Mar 10, 2016 3:59 am
by IP_CAM
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/

Re: "@tik" Product pictures in order email

Posted: Fri Apr 29, 2016 10:59 pm
by derek1962
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

Re: "@tik" Product pictures in order email

Posted: Tue May 24, 2016 12:07 am
by beebee
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

Re: "@tik" Product pictures in order email

Posted: Wed Oct 05, 2016 1:18 pm
by IP_CAM
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