Post by dekko » Thu Aug 01, 2013 3:11 am

Capture.PNG

Order Option text truncated - Capture.PNG (7.1 KiB) Viewed 799 times

I have just started using a great free extension that sends the same confirmation of order email as sent to the customer, to the store owner http://www.opencart.com/index.php?route ... on_id=6371
I have now noticed however that the options detail is truncated to around 40 characters which means that customers (now including me) can't see the full detail of the order in the confirmation.
What amendment do I need to make to include more characters (preferably the full detail) of the option detail
(See image attached)
Thanks
David

New member

Posts

Joined
Tue May 15, 2012 8:41 pm

Post by MarketInSG » Thu Aug 01, 2013 10:40 am

You can see the full details in your admin panel. It's just truncated in your email to keep the format nice and not too long and ugly. If you don't want that, if I didn't remember wrongly, you can change it in catalog/model/checkout/order.php


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by dekko » Thu Aug 01, 2013 3:55 pm

Thanks for your answer. I am more concerned that customers can see the full detail of their order than keeping the format nice. Any idea what I need to change in that file?

New member

Posts

Joined
Tue May 15, 2012 8:41 pm

Post by MarketInSG » Thu Aug 01, 2013 6:29 pm

find

Code: Select all

(utf8_strlen($option['value']) > 20
and change 20 to a greater integer


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by dekko » Fri Aug 02, 2013 12:11 am

Hi - thanks again for your further response - much appreciated. I have tried this solution - and although increasing this number does extend the option detail, it also causes the extension which duplicates the customer email to the store owner to fail - it reverts to the original minimal detail email to the store owner. I am attaching the extension in case you can easily see what the problem is.

Your help is much appreciated.

Attachments

Extension


New member

Posts

Joined
Tue May 15, 2012 8:41 pm
Who is online

Users browsing this forum: Amazon [Bot] and 37 guests