Account page
From Zen Cart(tm) Wiki
The Account page is explained here.
Configuration options
This table below shows most of the configuration options including language text for the Account 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 | 'My Account Information' | Edit language file account.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE |
| OVERVIEW_SHOW_ALL_ORDERS | '(show all orders)' | Edit language file account.php near line 14 in the directory includes\languages\english\YOUR_TEMPLATE |
| OVERVIEW_PREVIOUS_ORDERS | 'Previous Orders' | Edit language file account.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_DATE | 'Date' | Edit language file account.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_ORDER_NUMBER | 'No.' | Edit language file account.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_SHIPPED_TO | 'Ship To' | Edit language file account.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_STATUS | 'Status' | Edit language file account.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE |
| TABLE_HEADING_TOTAL | 'Total' | Edit language file english.php near line 576 in the directory includes\languages\YOUR_TEMPLATE |
| TABLE_HEADING_VIEW | 'View' | Edit language file account.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_NUMBER_SYMBOL | '# ' | Edit language file english.php near line 392 in the directory includes\languages\YOUR_TEMPLATE |
| BUTTON_IMAGE_VIEW_SMALL | File:Small view.gif | Edit button image file 'small_view.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_VIEW_SMALL_ALT | 'View' | Edit button names file button_names.php near line 98 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| MY_ACCOUNT_TITLE | 'My Account' | Edit language file account.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE |
| MY_ACCOUNT_INFORMATION | 'View or change my account information.' | Edit language file account.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE |
| MY_ACCOUNT_ADDRESS_BOOK | 'View or change entries in my address book.' | Edit language file account.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE |
| MY_ACCOUNT_PASSWORD | 'Change my account password.' | Edit language file account.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE |
| SHOW_NEWSLETTER_UNSUBSCRIBE_LINK | true | Change this in ADMIN Configuration --> E-Mail Options --> Display "Newsletter Unsubscribe" Link?. Show "Newsletter Unsubscribe" link in the "Information" side-box? |
| CUSTOMERS_PRODUCTS_NOTIFICATION_STATUS | 1 | Change this in ADMIN Configuration --> Customer Details --> Customer Product Notification Status. Customer should be asked about product notifications after checkout success 0= Never ask 1= Ask, unless already set to global Note: Sidebox must be turned off separately |
| EMAIL_NOTIFICATIONS_TITLE | 'Email Notifications' | Edit language file account.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_NOTIFICATIONS_NEWSLETTERS | 'Subscribe or unsubscribe from newsletters.' | Edit language file account.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_NOTIFICATIONS_PRODUCTS | 'View or change my product notification list.' | Edit language file account.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE | 'My Account' | Edit language file account.php near line 10 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\account\header_php.php
- includes\templates\template_default\templates\tpl_account_default.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english.php
- includes\languages\english\account.php
- includes\languages\english\button_names.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored
