Logoff page

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

The Logoff page is explained here.

Configuration options

This table below shows most of the configuration options including language text for the Logoff 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 'Log Off' Edit language file logoff.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_MAIN 'You have been logged off your account. It is now safe to leave the computer.

If you had items in your cart, they have been saved. The items inside it will be restored when you log back into your account.'
Edit language file logoff.php near line 12 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE 'Log Off' Edit language file logoff.php near line 11 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\logoff\header_php.php
  • includes\templates\template_default\templates\tpl_logoff_default.php

Defines (configuration options) are defined in:

  • includes\languages\english\logoff.php

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