Account notifications page

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

The Account_notifications page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Account_notifications 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 'Product Notifications' Edit language file account_notifications.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
MY_NOTIFICATIONS_DESCRIPTION 'The product notification list allows you to stay up to date on products you find of interest.

To be up to date on all product changes, select Global Product Notifications.'
Edit language file account_notifications.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
GLOBAL_NOTIFICATIONS_TITLE 'Global Product Notifications' Edit language file account_notifications.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
GLOBAL_NOTIFICATIONS_DESCRIPTION 'Receive notifications on all available products.' Edit language file account_notifications.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
NOTIFICATIONS_TITLE 'Product Notifications' Edit language file account_notifications.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE
NOTIFICATIONS_DESCRIPTION 'To remove a product notification, clear that product'\s checkbox and click on Update.' Edit language file account_notifications.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_UPDATE File: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_BACK File: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.
NOTIFICATIONS_NON_EXISTING 'There are currently no products marked to be notified of.

To add products to your product notification list, click on the notification link available on the detailed product information page.'
Edit language file account_notifications.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE
SUCCESS_NOTIFICATIONS_UPDATED 'Your product notifications have been updated.' Edit language file account_notifications.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_1 'My Account' Edit language file account_notifications.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Product Notifications' Edit language file account_notifications.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\account_notifications\header_php.php
  • includes\templates\template_default\templates\tpl_account_notifications_default.php

Defines (configuration options) are defined in:

  • includes\languages\english\account_notifications.php
  • includes\languages\english\button_names.php

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