Post by trippy » Wed Jun 18, 2008 11:19 pm

Hallo everybody!

I've a pair of question to ask...

1) In the customer section of the admin panel, it's not possible to see (for exemple) the address or the city of the customer... it could be useful (for my client that have no access to db) to have a quick look at these data.... if someone as already solved this question and modified the code could he/she post it in the forum?
And, by the way, why it's not possible to see the password? I mean, the password field is empty.... is it a security question?

2) Is it possible to send the customer different checkout confirm mail according to different payment methods?

I've given a look in the forum but I haven't found the answers at these questions....

thanks

New member

Posts

Joined
Sun Dec 16, 2007 5:12 pm

Post by bruce » Wed Jun 18, 2008 11:46 pm

Hi Trippy,

re 1) The password should only be known to the customer and is not stored in the database as free text. It is one way encrypted. The admin can reset it and tell the customer but they should change it straight away.

re 2) I have recently answered two posts on this topic and you should have no trouble in advanced search looking for "email" posted by bruce.

cheers

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Luvz2drv » Thu Jun 19, 2008 9:26 am

recently i modified the admin to alow edit of the customer but not forcea new password

as the current model forces any update to the customer to update the password aswell  not the greatest thing

Jonathon

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am

Post by bruce » Thu Jun 19, 2008 12:45 pm

I have to correct you on that one. Customer admin only validates password if a value has been entered in the password field or if you are creating a new customer. Not if you are only editing/updating other information.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Luvz2drv » Thu Jun 19, 2008 1:18 pm

hmm  no not realy...

as if you are updating it calls the same validateform as the insert and passwords must match and be length

i feel its an error as FF remembers the password field for the first one...  so it will prompt with error.

Code: Select all

if ($request->get('password', 'post')) {
      		$sql = "update customer set password = '?' where customer_id = '?'";
       		$database->query($database->parse($sql, md5($request->get('password', 'post')), $request->get('customer_id')));
      		}

Global Moderator

Posts

Joined
Fri Mar 21, 2008 10:58 am
Who is online

Users browsing this forum: No registered users and 4 guests