Zen Cart Logo
Forums / Fraud Prevention / Prevent Customer Changing Name

Prevent Customer Changing Name

Locked

Views: 154

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
23 Jul 2010, 9:26 AM
#1
pmstoys avatar

pmstoys

New Zenner

Join Date:
Jul 2010
Posts:
5
Plugin Contributions:
0

Prevent Customer Changing Name

This is more of an anti-fraud issue but I have recently processed an order for a chap who then changed his name on his account once the order was dispatched and used a signature for the original name used.

He has now gone to my payment processor to demand his refund as he claims the order never arrived and the payment processor is upholding his complaint as the parcel was delivered to the right address but the "wrong" person.

I would like to be able to make some customer detail fields "non editable" once an account is created.

How can I do this with Zen Cart? Running 1.39c currently.

23 Jul 2010, 10:32 AM
#2
pmstoys avatar

pmstoys

New Zenner

Join Date:
Jul 2010
Posts:
5
Plugin Contributions:
0

Re: Prevent Customer Changing Name

Is it possible to restrict customers from changing certain details in their account?

I've had a fraud issue to do with a customer changing his name once the parcel was dispatched and then claiming he never received it.

As usual, PayPal sides with the buyer.....

24 Jul 2010, 8:18 PM
#3
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: Prevent Customer Changing Name

It's not possible for them to change any details of an order. They can change their account details but these new details only come into play when a new order is placed.

Just show your bank the invoice for the order in question and ask them to defend the charge back.

26 Jul 2010, 4:06 PM
#4
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Prevent Customer Changing Name

I think there is a bad customer database somewhere on the internet... be sure and sign that customer up!

12 Aug 2010, 7:15 AM
#5
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
942
Plugin Contributions:
3

Re: Prevent Customer Changing Name

PMSToys:

Is it possible to restrict customers from changing certain details in their account?

Yes. It is possible to prevent customers from editing certain details in their account through edits. For example, my ZenCart doesn't allow customers to change their birthdays.

You would need to edit your templates tpl_account_edit_default.php file.

For example. To block the customer from changing their name:

  1. Open the tpl_account_edit_default.php file for your template. If one doesn't exist for your template, copy the one from your template_default folder into your template's folder.
  2. Search for ```html
    <label class="inputLabel" for="firstname"><?php echo ENTRY_FIRST_NAME; ?></label>
<?php echo zen_draw_input_field('firstname', $account->fields['customers_firstname'], 'id="firstname"') . (zen_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="alert">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?> <br class="clearBoth" />

<label class="inputLabel" for="lastname"><?php echo ENTRY_LAST_NAME; ?></label>

<?php echo zen_draw_input_field('lastname', $account->fields['customers_lastname'], 'id="lastname"') . (zen_not_null(ENTRY_LAST_NAME_TEXT) ? '<span class="alert">' . ENTRY_LAST_NAME_TEXT . '</span>': ''); ?> <br class="clearBoth" /> ``` 3. Change the above or remove it. Replace it with:```html <label class="inputLabel" for="firstname"><?php echo ENTRY_FIRST_NAME; ?></label> <?php echo $account->fields['customers_firstname']; ?> <?php zen_draw_hidden_field('firstname', $account->fields['customers_firstname'], 'id="firstname"'); ?> <br class="clearBoth" />

<label class="inputLabel" for="lastname"><?php echo ENTRY_LAST_NAME; ?></label>

<?php echo $account->fields['customers_lastname']; ?> <?php zen_draw_hidden_field('lastname', $account->fields['customers_lastname'], 'id="lastname"'); ?> <br class="clearBoth" /> ``` Save the file into the appropriate directory. As an advisory, I would recommend detailing to your customer in some capacity they cannot change their name for security reasons.
26 Sep 2010, 9:41 AM
#6
djkfunk avatar

djkfunk

New Zenner

Join Date:
Aug 2010
Location:
Tampa Bay, FL
Posts:
14
Plugin Contributions:
0

Re: Prevent Customer Changing Name

Works like a charm...thanks! :cool: