Unsubscribe page

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

The Unsubscribe page is explained here.



Configuration options

This table below shows most of the configuration options including language text for the Unsubscribe 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 'Unsubscribe from our Newsletter' Edit language file unsubscribe.php near line 14 in the directory includes\languages\english\YOUR_TEMPLATE
UNSUBSCRIBE_TEXT_NO_ADDRESS_GIVEN '
We'\re sorry to hear that you wish to unsubscribe from our newsletter. If you have concerns about your privacy, please see our <a href="' . zen_href_link(FILENAME_PRIVACY,,'NONSSL') . '">privacy notice</a>.

Subscribers to our newsletter are kept notified of new products, price reductions, and site news.

If you still do not wish to receive your newsletter, please click the button below. You will be taken to your account-preferences page, where you may edit your subscriptions. You may be prompted to log in first.'
Edit language file unsubscribe.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE
UNSUBSCRIBE_TEXT_INFORMATION '
We'\re sorry to hear that you wish to unsubscribe from our newsletter. If you have concerns about your privacy, please see our <a href="' . zen_href_link(FILENAME_PRIVACY,,'NONSSL') . '">privacy notice</a>.

Subscribers to our newsletter are kept notified of new products, price reductions, and site news.

If you still do not wish to receive your newsletter, please click the button below. '
Edit language file unsubscribe.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_UNSUBSCRIBE File:Button unsubscribe.gif Edit button image file 'button_unsubscribe.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_IMAGE_CONTINUE_SHOPPING File:Button continue shopping.gif Edit button image file 'button_continue_shopping.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_CONTINUE_SHOPPING_ALT 'Continue Shopping' Edit button names file button_names.php near line 75 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
NAVBAR_TITLE 'Unsubscribe' Edit language file unsubscribe.php near line 13 in the directory includes\languages\english\YOUR_TEMPLATE
UNSUBSCRIBE_DONE_TEXT_INFORMATION '
Your email address, listed below, has been removed from our Newsletter Subscription list, as per your request.

'
Edit language file unsubscribe.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE
UNSUBSCRIBE_ERROR_INFORMATION '
The email address you specified was not found in our newsletter database, or has already been removed from our newletter subscription list.

'
Edit language file unsubscribe.php near line 19 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\unsubscribe\header_php.php
  • includes\templates\template_default\templates\tpl_unsubscribe_default.php

Defines (configuration options) are defined in:

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

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