Forums / Basic Configuration / Change the order of customer signup

Change the order of customer signup

Locked

Started by timhersh on 17 Apr 2010, 12:41 AM · Views: 117,055

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
17 Apr 2010, 12:41 AM
#1
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Change the order of customer signup

Fairly simple I imagine, of course I can't figure it out though.

Need to put the "country" dropdown option above the address field. To many customers are not seeing it and trying to enter the wrong info.

How do I move that up on the customer signup page without screwing everything up???

thanks

17 Apr 2010, 12:49 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Change the order of customer signup

Ti,
Locate this .php file

includes/ templates/ templates_default/ template/ tpl_modules_create_account.phpMake sure to place this file in your override template> includes/ templates/ your_template/ template/ tpl_modules_create_account.php

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

17 Apr 2010, 1:23 AM
#3
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: Change the order of customer signup

thanks not sure what to do with what you posted. I am using the standard classic template.

thanks

17 Apr 2010, 1:37 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Change the order of customer signup

Tim,
Edit this .php file

includes/ templates/ default_template/ template/ tpl_modules_create_account.php

On line 113

<label class="inputLabel" for="country"><?php echo ENTRY_COUNTRY; ?></label>
<?php echo zen_get_country_list('zone_country_id', $selected_country, 'id="country" ' . ($flag_show_pulldown_states == true ? 'onchange="update_zone(this.form);"' : '')) . (zen_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="alert">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
```Move it under line 62
```php
<label class="inputLabel" for="lastname"><?php echo ENTRY_LAST_NAME; ?></label>
<?php echo zen_draw_input_field('lastname', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_lastname', '40') . ' id="lastname"') . (zen_not_null(ENTRY_LAST_NAME_TEXT) ? '<span class="alert">' . ENTRY_LAST_NAME_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
```Make sure and take notes because the next time you upgrade Zen Cart, you will remember the core file you hacked..

Take time and read the Override System in the Tutorials/FAQ

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

17 Apr 2010, 6:44 PM
#5
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: Change the order of customer signup

worked perfect

thanks

17 Apr 2010, 6:57 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Change the order of customer signup

Ti,
You are most welcome, glad I could help you with your issue.. :smile:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.