Address book process page
From Zen Cart(tm) Wiki
The Address_book_process page is explained here.
Contents |
[edit]
Configuration options
This table below shows most of the configuration options including language text for the Address_book_process page. It is based on a ZenCart version 1.3.0. Before editing files copy the original file (if not done before) to YOUR_TEMPLATE directory.
Copy image and button files
- from includes\templates\template_default\images\..... to includes\templates\YOUR_TEMPLATE\images\.....
- from includes\templates\template_default\buttons\..... to includes\templates\YOUR_TEMPLATE\buttons\.....
Copy language files
- from includes\language\..... to includes\language\YOUR_TEMPLATE\.....
- from includes\language\english\..... to includes\language\english\YOUR_TEMPLATE\.....
See also Customisation - Templates
| Name | Default value | How to change |
|---|---|---|
| HEADING_TITLE_MODIFY_ENTRY | ' [edit] Update Address Book Entry' | Edit language file address_book_process.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE |
| HEADING_TITLE_DELETE_ENTRY | ' [edit] Delete Address Book Entry' | Edit language file address_book_process.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE |
| HEADING_TITLE_ADD_ENTRY | ' [edit] New Address Book Entry' | Edit language file address_book_process.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE |
| DELETE_ADDRESS_DESCRIPTION | 'Are you sure you would like to delete the selected address from your address book?' | Edit language file address_book_process.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_DELETE | Image:Button delete.gif | Edit button image file 'button_delete.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_DELETE_ALT | 'Delete' | Edit button names file button_names.php near line 76 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_BACK | Image:Button back.gif | Edit button image file 'button_back.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_BACK_ALT | 'Back' | Edit button names file button_names.php near line 67 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_UPDATE | Image:Button update.gif | Edit button image file 'button_update.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_UPDATE_ALT | 'Update' | Edit button names file button_names.php near line 97 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_SUBMIT | Image:Button submit.gif | Edit button image file 'button_submit.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_SUBMIT_ALT | 'Submit the Information' | Edit button names file button_names.php near line 93 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| SUCCESS_ADDRESS_BOOK_ENTRY_DELETED | 'The selected address has been successfully removed from your address book.' | Edit language file address_book_process.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE |
| ACCOUNT_GENDER | true | Change this in ADMIN Configuration --> Customer Details --> Email Salutation. Display salutation choice during account creation and with account information |
| ACCOUNT_COMPANY | true | Change this in ADMIN Configuration --> Customer Details --> Company. Display company field during account creation and with account information |
| ACCOUNT_SUBURB | true | Change this in ADMIN Configuration --> Customer Details --> Address Line 2. Display address line 2 field during account creation and with account information |
| ACCOUNT_STATE | true | Change this in ADMIN Configuration --> Customer Details --> State. Display state field during account creation and with account information |
| ENTRY_GENDER_ERROR | 'Please choose a salutation.' | Edit language file english.php near line 191 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_FIRST_NAME_MIN_LENGTH | 2 | Change this in ADMIN Configuration --> Minimum Values --> First Name. Minimum length of first name |
| ENTRY_FIRST_NAME_ERROR | 'Is your first name correct? Our system requires a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters. Please try again.' | Edit language file english.php near line 194 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_LAST_NAME_MIN_LENGTH | 2 | Change this in ADMIN Configuration --> Minimum Values --> Last Name. Minimum length of last name |
| ENTRY_LAST_NAME_ERROR | 'Is your last name correct? Our system requires a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters. Please try again.' | Edit language file english.php near line 197 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_STREET_ADDRESS_MIN_LENGTH | 5 | Change this in ADMIN Configuration --> Minimum Values --> Street Address. Minimum length of street address |
| ENTRY_STREET_ADDRESS_ERROR | 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.' | Edit language file english.php near line 212 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_POSTCODE_MIN_LENGTH | 4 | Change this in ADMIN Configuration --> Minimum Values --> Post Code. Minimum length of post code |
| ENTRY_POST_CODE_ERROR | 'Your Post/ZIP Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.' | Edit language file english.php near line 218 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_CITY_MIN_LENGTH | 3 | Change this in ADMIN Configuration --> Minimum Values --> City. Minimum length of city |
| ENTRY_CITY_ERROR | 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.' | Edit language file english.php near line 223 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_COUNTRY_ERROR | 'You must select a country from the Countries pull down menu.' | Edit language file english.php near line 230 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_STATE_ERROR_SELECT | 'Please select a state from the States pull down menu.' | Edit language file english.php near line 227 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_STATE_MIN_LENGTH | 2 | Change this in ADMIN Configuration --> Minimum Values --> State. Minimum length of state |
| ENTRY_STATE_ERROR | 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.' | Edit language file english.php near line 226 in the directory includes\languages\YOUR_TEMPLATE |
| SUCCESS_ADDRESS_BOOK_ENTRY_UPDATED | 'Your address book has been successfully updated.' | Edit language file address_book_process.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE |
| ERROR_NONEXISTING_ADDRESS_BOOK_ENTRY | 'The address book entry does not exist.' | Edit language file address_book_process.php near line 35 in the directory includes\languages\english\YOUR_TEMPLATE |
| WARNING_PRIMARY_ADDRESS_DELETION | 'The primary address cannot be deleted. Please set another address as the primary address and try again.' | Edit language file address_book_process.php near line 33 in the directory includes\languages\english\YOUR_TEMPLATE |
| MAX_ADDRESS_BOOK_ENTRIES | 5 | Change this in ADMIN Configuration --> Maximum Values --> Address Book Entries. Maximum address book entries a customer is allowed to have |
| ERROR_ADDRESS_BOOK_FULL | 'Your address book is full. Please delete an unneeded address to save a new one.' | Edit language file address_book_process.php near line 36 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_1 | 'My Account' | Edit language file address_book_process.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_2 | 'Address Book' | Edit language file address_book_process.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_MODIFY_ENTRY | 'Update Entry' | Edit language file address_book_process.php near line 14 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_DELETE_ENTRY | 'Delete Entry' | Edit language file address_book_process.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE_ADD_ENTRY | 'New Entry' | Edit language file address_book_process.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE |
NOTE: This table is made by looking for used defines in the following files:
- includes\modules\pages\address_book_process\header_php.php
- includes\templates\template_default\templates\tpl_address_book_process_default.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english.php
- includes\languages\english\address_book_process.php
- includes\languages\english\button_names.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
