Account history info page

From Zen Cart(tm) Wiki
Jump to: navigation, search

The Account_history_info page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Account_history_info 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_ORDER_DATE 'Order Date:' Edit language file account_history_info.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_TITLE 'Order Information' Edit language file account_history_info.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE
ORDER_HEADING_DIVIDER ' - ' Edit language file account_history_info.php near line 38 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_ORDER_NUMBER 'Order #%s' Edit language file account_history_info.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_QUANTITY 'Qty.' Edit language file account_history_info.php near line 27 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_PRODUCTS 'Products' Edit language file account_history_info.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_TAX 'Tax' Edit language file account_history_info.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_TOTAL 'Total' Edit language file account_history_info.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE
QUANTITY_SUFFIX ' ea. ' Edit language file account_history_info.php near line 37 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_OPTION_DIVIDER ' - ' Edit language file account_history_info.php near line 39 in the directory includes\languages\english\YOUR_TEMPLATE
DOWNLOAD_ENABLED true Change this in ADMIN
Configuration --> Attribute Settings --> Enable Downloads.

Enable the products download functions.
HEADING_ORDER_HISTORY 'Status History & Comments' Edit language file account_history_info.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_STATUS_DATE 'Date' Edit language file account_history_info.php near line 34 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_STATUS_ORDER_STATUS 'Order Status' Edit language file account_history_info.php near line 35 in the directory includes\languages\english\YOUR_TEMPLATE
TABLE_HEADING_STATUS_COMMENTS 'Comments' Edit language file account_history_info.php near line 36 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_DELIVERY_ADDRESS 'Delivery Address' Edit language file account_history_info.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_SHIPPING_METHOD 'Shipping Method' Edit language file account_history_info.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_BILLING_ADDRESS 'Billing Address' Edit language file account_history_info.php near line 29 in the directory includes\languages\english\YOUR_TEMPLATE
HEADING_PAYMENT_METHOD 'Payment Method' Edit language file account_history_info.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_1 'My Account' Edit language file account_history_info.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'History' Edit language file account_history_info.php near line 12 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_3 'Order #%s' Edit language file account_history_info.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\account_history_info\header_php.php
  • includes\templates\template_default\templates\tpl_account_history_info_default.php

Defines (configuration options) are defined in:

  • configuration table in the database
  • includes\languages\english\account_history_info.php

Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored