Post by kcllc » Thu Nov 05, 2009 12:54 am

I am getting some symbols not translated properly in emails from the contact form, v1.3.2

Code: Select all

I've been looking at your leather leashes and I have a question.  I've narrowed it down between a standard 6' leather and a European but I'd prefer a trigger snap as shown with the velvet leashes.  The only snap options I see when ordering one of the above is either brass or silver.  Can I order a braided leash with a trigger snap? 
I tried adding the html_entity_decode to it, like I did with other mail forms like order updates and what not, where it appears to be working, but for some reason it still comes out like this in emails sent via the contact form. What can I do about it?

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by kcllc » Thu Nov 05, 2009 7:10 pm

Nobody?

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by kcllc » Fri Nov 06, 2009 5:24 am

Bummer. I figured SOMEBODY here would have the answer :(

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by kcllc » Fri Nov 06, 2009 8:52 am

Now I'm also getting it with customer's names:

Code: Select all

Bob O'Leary
in the order confirmation emails. And it is transmitting like that to Authorize.net via Q's module.... please someone help me fix this!

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by fido-x » Fri Nov 06, 2009 9:51 am

You could try using utf8_decode() instead of html_entity_decode().

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by kcllc » Fri Nov 06, 2009 4:46 pm

Will do, thanks fido! If it works, a donation is headed your way for the help!

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by kcllc » Fri Nov 06, 2009 5:18 pm

Which files do I need to edit please?

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by fido-x » Fri Nov 06, 2009 5:31 pm

Since it's the contact form, the file to look at would be "catalog/controller/information/contact.php" (line 16).

I haven't tried it myself, so I'll let you do the testing ;D

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by kcllc » Fri Nov 06, 2009 9:37 pm

Thanks! I made the edit there... and I tried on the order emails too since people whose name is, say, Bob O'Leary is coming out with the same symbol in their name... fingers crossed.

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm

Post by kcllc » Sat Nov 07, 2009 3:33 am

Well crap - that didn't work :(

New member

Posts

Joined
Mon Sep 07, 2009 9:48 pm
Who is online

Users browsing this forum: No registered users and 46 guests