Post by ozstar » Tue Feb 05, 2019 6:45 am

Hi,

Have 1.5.6.4.
Admin gets an email ( New Account Alert) when someone new signs up which has these fields...
Website
First Name
Last Name
Customer Group
Email;
Telephone

How can I ad suburb or city please?

Thanks

oz
Last edited by ozstar on Tue Feb 05, 2019 8:05 am, edited 1 time in total.

Active Member

Posts

Joined
Fri Mar 09, 2012 7:47 am
Location - Sydney OZ

Post by Cue4cheap » Tue Feb 05, 2019 7:34 am

Try going into: catalog/model/account/customer.php
finding:
$message .= $this->language->get('text_email') . ' ' . $data['email'] . "\n";

and add this above it:
$message .= $this->language->get('text_city') . ' ' . $data['city'] . "\n";

You can move that line I have you adding to where you want it but above the email address looks logical to me....

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by soundzgood-nz » Tue Feb 05, 2019 1:27 pm

As cue4cheap has answered- the 'suburb' one depends on how you're using your address fields as OC doesn't have a specific 'suburb' field by default.
Maybe you use the address_2 field? If so you could also add:

Code: Select all

$message .= $this->language->get('text_email') . ' '  .  $data['address_2'] . "\n";
Simon

User avatar
Active Member

Posts

Joined
Sat Oct 25, 2014 5:15 pm
Location - New Zealand
Who is online

Users browsing this forum: No registered users and 54 guests