Cookie usage page

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

The Cookie_usage page is explained here.

Configuration options

This table below shows most of the configuration options including language text for the Cookie_usage 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 'Cookie Usage' Edit language file cookie_usage.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_INFORMATION 'We have detected that your browser does not support cookies, or cookies have been disabled.' Edit language file cookie_usage.php near line 26 in the directory includes\languages\english\YOUR_TEMPLATE
BOX_INFORMATION_HEADING 'Cookie Privacy and Security' Edit language file cookie_usage.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE
BOX_INFORMATION 'Cookies must be enabled to purchase online on this store, this is to embrace privacy and security related issues regarding your visit to this site.

By enabling cookie support on your browser, the communication between you and this site is strengthened to be certain it is you who are making transactions on your own behalf, and to prevent leakage of your privacy information.'
Edit language file cookie_usage.php near line 33 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_INFORMATION_2 'To continue shopping online, we encourage you to enable cookies on your browser.' Edit language file cookie_usage.php near line 27 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_INFORMATION_3 'For Internet Explorer browsers, please follow these instructions:
  1. Click on the Tools menubar, and select Internet Options
  2. Select the Security tab, and reset the security level to Medium
Edit language file cookie_usage.php near line 28 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_INFORMATION_4 'We have taken this security measurement for your benefit, and apologize if this causes any inconvenience.' Edit language file cookie_usage.php near line 29 in the directory includes\languages\english\YOUR_TEMPLATE
TEXT_INFORMATION_5 'Please contact the store owner if you have any questions relating to this requirement, or to continue purchasing products offline.' Edit language file cookie_usage.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE
BUTTON_IMAGE_CONTINUE File:Button continue.gif Edit button image file 'button_continue.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool
BUTTON_CONTINUE_ALT 'Continue' Edit button names file button_names.php near line 74 in the directory includes\languages\english\YOUR_TEMPLATE.
Note: This text will be visible when your hover over this button.
NAVBAR_TITLE 'Cookie Usage' Edit language file cookie_usage.php near line 23 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\cookie_usage\header_php.php
  • includes\templates\template_default\templates\tpl_cookie_usage_default.php

Defines (configuration options) are defined in:

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

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