Account newsletters page

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

The Account_newsletters page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Account_newsletters 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 'Newsletter Subscriptions' Edit language file account_newsletters.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
MY_NEWSLETTERS_GENERAL_NEWSLETTER 'General Newsletter' Edit language file account_newsletters.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
MY_NEWSLETTERS_GENERAL_NEWSLETTER_DESCRIPTION 'Including store news, new products, special offers, and other promotional announcements.' Edit language file account_newsletters.php near line 17 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.
SUCCESS_NEWSLETTER_UPDATED 'Your newsletter subscriptions have been updated.' Edit language file account_newsletters.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_1 'My Account' Edit language file account_newsletters.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE
NAVBAR_TITLE_2 'Newsletter Subscriptions' Edit language file account_newsletters.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_newsletters\header_php.php
  • includes\templates\template_default\templates\tpl_account_newsletters_default.php

Defines (configuration options) are defined in:

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

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