Gv send page
From Zen Cart(tm) Wiki
The Gv_send page is explained here.
Configuration options
This table below shows most of the configuration options including language text for the Gv_send 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 |
|---|---|---|
| TEXT_AVAILABLE_BALANCE | 'Your ' . TEXT_GV_NAME . ' Account' | Edit language file english.php near line 342 in the directory includes\languages\YOUR_TEMPLATE |
| TEXT_BALANCE_IS | 'Your ' . TEXT_GV_NAME . ' balance is: ' | Edit language file english.php near line 341 in the directory includes\languages\YOUR_TEMPLATE |
| TEXT_SEND_ANOTHER | 'Would you like to send another ' . TEXT_GV_NAME . '?' | Edit language file gv_send.php near line 27 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_SEND_ANOTHER | File:Button send another.gif | Edit button image file 'button_send_another.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_SEND_ANOTHER_ALT | 'Send Another Gift Certificate' | Edit button names file button_names.php near line 88 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| HEADING_TITLE_COMPLETED | TEXT_GV_NAME . ' Sent' | Edit language file gv_send.php near line 12 in the directory includes\languages\english\YOUR_TEMPLATE |
| TEXT_SUCCESS | 'Congratulations, your ' . TEXT_GV_NAME . ' has successfully been sent.' | Edit language file gv_send.php near line 26 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. |
| HEADING_TITLE_CONFIRM_SEND | 'Send ' . TEXT_GV_NAME . ' Confirmation' | Edit language file gv_send.php near line 11 in the directory includes\languages\english\YOUR_TEMPLATE |
| MAIN_MESSAGE | 'You are sending a ' . TEXT_GV_NAME . ' worth %s to %s, whose email address is %s. If these details are not correct, you may edit your message by clicking the edit button. The message you are sending is: ' |
Edit language file gv_send.php near line 23 in the directory includes\languages\english\YOUR_TEMPLATE |
| SECONDARY_MESSAGE | 'Dear %s, ' . 'You have been sent a ' . TEXT_GV_NAME . ' worth %s by %s' |
Edit language file gv_send.php near line 24 in the directory includes\languages\english\YOUR_TEMPLATE |
| PERSONAL_MESSAGE | '%s says:' | Edit language file gv_send.php near line 25 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_CONFIRM_SEND | File:Button confirm send.gif | Edit button image file 'button_confirm_send.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_CONFIRM_SEND_ALT | 'Send Gift Certificate' | Edit button names file button_names.php near line 72 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| BUTTON_IMAGE_EDIT_SMALL | File:Small edit.gif | Edit button image file 'small_edit.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_EDIT_SMALL_ALT | 'Edit' | Edit button names file button_names.php near line 78 in the directory includes\languages\english\YOUR_TEMPLATE. Note: This text will be visible when your hover over this button. |
| EMAIL_ADVISORY_INCLUDED_WARNING | 'This message is included with all emails sent from this site:' | Edit language file email_extras.php near line 35 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_ADVISORY | '-----' . "n\" . 'IMPORTANT: For your protection and to prevent malicious use, all emails sent via this web site are logged and the contents recorded and available to the store owner. If you feel that you have received this email in error, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . "n\n\" | Edit language file email_extras.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE |
| HEADING_TITLE | 'Send ' . TEXT_GV_NAME | Edit language file gv_send.php near line 10 in the directory includes\languages\english\YOUR_TEMPLATE |
| HEADING_TEXT | 'Please enter the name, email address and amount of the ' . TEXT_GV_NAME . ' you wish to send. For more information, please see our <a href="' . zen_href_link(FILENAME_GV_FAQ, , 'NONSSL').'">' . GV_FAQ . '.</a>' | Edit language file gv_send.php near line 15 in the directory includes\languages\english\YOUR_TEMPLATE |
| ENTRY_NAME | 'Recipient'\s Name:' | Edit language file gv_send.php near line 16 in the directory includes\languages\english\YOUR_TEMPLATE |
| ENTRY_REQUIRED_SYMBOL | '*' | Edit language file english.php near line 259 in the directory includes\languages\YOUR_TEMPLATE |
| ENTRY_EMAIL | 'Recipient Email:' | Edit language file gv_send.php near line 17 in the directory includes\languages\english\YOUR_TEMPLATE |
| ENTRY_AMOUNT | 'Amount to Send:' | Edit language file gv_send.php near line 19 in the directory includes\languages\english\YOUR_TEMPLATE |
| ENTRY_MESSAGE | 'Your Message:' | Edit language file gv_send.php near line 18 in the directory includes\languages\english\YOUR_TEMPLATE |
| BUTTON_IMAGE_SEND | File:Button send.gif | Edit button image file 'button_send.gif' in the directory includes\templates\YOUR_TEMPLATE\buttons\english\ with a graphic tool |
| BUTTON_SEND_ALT | 'Send Now' | Edit button names file button_names.php near line 87 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. |
| ERROR_ENTRY_TO_NAME_CHECK | 'We did not get the Recipient'\s Name. Please fill it in below. ' | Edit language file gv_send.php near line 20 in the directory includes\languages\english\YOUR_TEMPLATE |
| ERROR_ENTRY_EMAIL_ADDRESS_CHECK | 'Is the email address correct? Please try again.' | Edit language file gv_send.php near line 22 in the directory includes\languages\english\YOUR_TEMPLATE |
| ERROR_ENTRY_AMOUNT_CHECK | 'The ' . TEXT_GV_NAME . ' amount does not appear to be correct. Please try again.' | Edit language file gv_send.php near line 21 in the directory includes\languages\english\YOUR_TEMPLATE |
| STORE_NAME | test300 | Change this in ADMIN Configuration --> My Store --> Store Name. The name of my store |
| EMAIL_SEPARATOR | '----------------------------------------------------------------------------------------' | Edit language file gv_send.php near line 31 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_TEXT_HEADER | 'Congratulations, You have received a ' . TEXT_GV_NAME . ' worth %s' | Edit language file gv_send.php near line 32 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_FROM | 'This ' . TEXT_GV_NAME . ' has been sent to you by %s' | Edit language file gv_send.php near line 33 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_MESSAGE | 'with a message saying: ' | Edit language file gv_send.php near line 34 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_SEND_TO | 'Hi, %s' | Edit language file gv_send.php near line 35 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_REDEEM | 'To redeem this ' . TEXT_GV_NAME . ', please click on the link below. Please also write down the ' . TEXT_GV_REDEEM . ': %s just in case you have problems.' | Edit language file gv_send.php near line 36 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_LINK | 'To redeem please click here' | Edit language file gv_send.php near line 37 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_FIXED_FOOTER | 'If you have problems redeeming the ' . TEXT_GV_NAME . ' using the automated link above, ' . "n\" . 'you can also enter the ' . TEXT_GV_NAME . ' ' . TEXT_GV_REDEEM . ' during the checkout process at our store.' |
Edit language file gv_send.php near line 40 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_GV_SHOP_FOOTER | Edit language file gv_send.php near line 42 in the directory includes\languages\english\YOUR_TEMPLATE | |
| EMAIL_GV_TEXT_SUBJECT | 'A gift from %s' | Edit language file gv_send.php near line 30 in the directory includes\languages\english\YOUR_TEMPLATE |
| EMAIL_FROM | test@test.nl | Change this in ADMIN Configuration --> E-Mail Options --> Email Address (sent FROM). Address from which email messages will be "sent" by default. Can be over-ridden at compose-time in admin modules. |
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_STATUS | 0 | Change this in ADMIN Configuration --> E-Mail Options --> Send Copy of Customer GV Send Emails To - Status. Send copy of Customer GV Send Status 0= off 1= on |
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO | test@test.nl | Change this in ADMIN Configuration --> E-Mail Options --> Send Copy of Customer GV Send Emails To. Send copy of Customer GV Send emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2> |
| SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_SUBJECT | '[GV CUSTOMER SENT]' | Edit language file email_extras.php near line 41 in the directory includes\languages\english\YOUR_TEMPLATE |
| NAVBAR_TITLE | 'Send ' . TEXT_GV_NAME | Edit language file gv_send.php near line 13 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\gv_send\header_php.php
- includes\templates\template_default\templates\tpl_gv_send_default.php
Defines (configuration options) are defined in:
- configuration table in the database
- includes\languages\english.php
- includes\languages\english\button_names.php
- includes\languages\english\email_extras.php
- includes\languages\english\gv_send.php
Product type configuration option are ignored Shipping, payment and Order Total module configuration option are also ignored