Screen: ShopSite > Merchandising > Custom Templates
Custom Template Tag Specification
Tell A Friend Tags
These tags can only be used in Tell A Friend templates, and are arranged by the screen they appear on. Some tags may appear more than once on this page.
Note: |
The Tell A Friend templates are used to configure the appearance of Tell A Friend pages. See the Page Custom Template Specification for information on how to create Tell A Friend links on store pages.
|
Special Tell A Friend Tags
These are tags that you can use in any of the Tell A Friend definitions.
- [-- Store.TF_TextColor --]
- The text color.
- [-- Store.TF_BackgroundColor --]
- The background color.
- [-- Store.TF_LinkColor --]
- The link color.
- [-- Store.TF_VisitedLinkColor --]
- The visited link color
- [-- Store.Tf_ActiveLinkColor --]
- The active link color.
- [-- Store.TF_BackgroundImage --]
- The image used for the page background.
Tell A Friend Form
This is the first screen that appears in the pop-up window after someone clicks on a Tell A Friend link, and contains the form that the customer must fill out.
Defines
- [-- DEFINE TELL_A_FRIEND --]
[-- END_DEFINE TELL_A_FRIEND --]
- Defines the beginning and ending of the HTML code for the Tell A Friend pop-up window.
Content
- [-- TELL_FRIEND_JAVASCRIPT --]
-
- The Javascript code that must be included in the TELL_A_FRIEND definition. This can be included in the HTML Head like this:
<script type="text/javascript" language="JavaScript">
<!--
[-- TELL_FRIEND_JAVASCRIPT --]
// -->
</script>
- [-- Store.TF_SendFriend --]
- The "Send To Friend" text string set in the back office. This could be used for the LinkText in the PAGE
- [-- TELL_FRIEND_FORM --]
- Creates the opening form tags. You will need to add a </form> tag at the end of the form.
- [-- Store.TF_SendingPageLinkFor --]
- Text: sending page link for
- [-- TELL_FRIEND_PAGE_LINK --]
- The link that will be sent to the friend.
- [-- TELL_FRIEND_INSTRUCTIONS --]
- Instructions for using the Tell A Friend feature.
- [-- Store.TF_YourName --]
- Text: your name
- [-- TELL_FRIEND_NAME --]
- input field for your name.
- [-- Store.TF_YourEmail --]
- Text: your email
- [-- TELL_FRIEND_EMAIL --]
- input field for your email address
- [-- TELL_FRIEND_EMAIL_STATEMENT --]
- Instructions for the Friend's Email input field.
- [-- Store.TF_FriendsEmail --]
- Text: friend's email
- [-- TELL_FRIEND_FRIENDS_EMAIL --]
- input field for the friend's email address.
- [-- TELL_FRIEND_MESSAGE_SELECTION --]
- Table for selecting a message to be sent.
Buttons
- [-- BUTTON Close --]
- button that closes the pop-up window.
- [-- BUTTON SendToFriend --]
- button that submits the form.
Tell A Friend Confirmation Screen
After a customer has submited the Tell A Friend form, this page will appear in the pop-up window. It will either contain a message saying the E-mail was sent successfully, or an error message saying why the E-mail could not be sent.
Defines
- [-- DEFINE TELL_A_FRIEND_EMAIL_SENT --]
[-- END_DEFINE TELL_A_FRIEND_EMAIL_SENT --]
- Defines the beginning and ending of the HTML code for the confirmation screen telling the customer the E-mail has been sent.
Error Messages
- [-- IF TELL_FRIEND_ERROR --]
- True if the email was not sent.
- [-- Store.TF_YourEmailNotSent --]
- Text: Your Email was not sent
- [-- TELL_FRIEND_ERROR --]
- Error message.
Buttons
[-- BUTTON Back --]
Button to return to the form.
Confirmation Message Tags
- [-- Store.TF_YourEmailSent --]
- Text: your Email was sent
- [-- Store.TF_EmailSentFrom --]
- Text: From
- [-- TELL_FRIEND_EMAIL_VALUE --]
- Your Email address from form.
- [-- Store.TF_EmailSentTo --]
- Text: To
- [-- TELL_FRIEND_FRIENDS_EMAIL_VALUE --]
- Friend's Email address from form.
Email Message Tags
- [-- TELL_FRIEND_MESSAGE --]
- The selected message from the form.
- [-- STORE.TF_ClickBelow --]
- Text: click below
- [-- TELL_FRIEND_PAGE_LINK --]
- The link to the page.
- [-- STORE.TF_YourFriend --]
- Text: your friend
- [-- TELL_FRIEND_NAME_VALUE --]
- Your name entered on the form.
Buttons
- [-- BUTTON Close --]
- Closes the pop-up window
Tell A Friend E-mail
This is the E-mail message that the friend will recieve.
Defines
- [-- DEFINE TELL_A_FRIEND_EMAIL --]
[-- END_DEFINE TELL_A_FRIEND_EMAIL --]
- Defines the beginning and ending of the HTML code for the message the friend recieves.
Email Message Tags
- [-- TELL_FRIEND_MESSAGE --]
- The selected message from the form.
- [-- STORE.TF_ClickBelow --]
- Text: click below
- [-- TELL_FRIEND_PAGE_LINK --]
- The link to the page.
- [-- STORE.TF_YourFriend --]
- Text: your friend
- [-- TELL_FRIEND_NAME_VALUE --]
- Your name entered on the form.