Post by popcorn0124 » Fri Sep 13, 2013 12:55 pm

I am a beginner with opencart 1.5.4.1.
I want to remove the space between Firstname & Lastname of the customer name in orders. Because in Chinese format, we used to simply connect firstname and lastname without space.
For example: Amy Jobs --> AmyJobs.

I tried to find out the code to change it but didn't work....really hope someone can help me.

Thank you so much :)

Newbie

Posts

Joined
Wed Nov 21, 2012 8:26 pm

Post by grgr » Fri Sep 13, 2013 2:46 pm

Search for 'CONCAT' in ../admin/model/sale/order.php;

eg: CONCAT(o.firstname, ' ', o.lastname)

change to:

CONCAT(o.firstname,o.lastname)

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by popcorn0124 » Mon Sep 16, 2013 5:55 pm

Hello grgr,
Thank you soooo much. That's just what I need!
It changed the name of the order list. But if I click "view" order. In the tab of "order details" still have space.
Could you help me to locate the php file again?

Thanks a lot :)

Newbie

Posts

Joined
Wed Nov 21, 2012 8:26 pm
Who is online

Users browsing this forum: Semrush [Bot] and 25 guests