Purpose: This is the template viewed when accessing the "Gift Registry" link in the store’s menu bar. This page will display options for creating a gift registry, searching for existing gift registries, as well as allowing gift registry users (registrants) to view a summary of their event and items purchased for the registry.
Code Blocks
Note: It is important to preserve the commented tags to ensure the software performs correctly.
[giftregistry_home] <!-START: CATEGORY_HEADER--> [CONTENT] <!-END: CATEGORY_HEADER--> <!-START: giftRegistryMyRegistry--> [regName] [giftregistry_header-eventdate] [regEvent] [giftregistry_header-expiration] [regExpiration] [giftregistry_header-productsdesired] [regProductsDesired] [giftregistry_header-productspurchased] [regProductsPurchased] [custid] [giftregistry_view-productlist] [account_giftRegistry-header-view] <!-END: giftRegistryMyRegistry--> <!-START: giftRegistryCreate--> [account_giftRegistry] [giftregistry_home-create-registry] [giftregistry_header-create-registry] <!-END: giftRegistryCreate--> <!-START: giftRegistrySearch--> [giftregistry_home-header-search] [giftregistry_header-name] [regname] [giftregistry_header-eventdate] <!-START: drpRegMonth--> [intMonth] [selected] [month] <!-END: drpRegMonth--> <!-START: drpRegDay--> [day] [selected] [day] <!-END: drpRegDay--> <!-START: drpRegYear--> [year] [selected] [year] <!-END: drpRegYear--> [giftregistry_create-firstname] [firstname] [giftregistry_create-lastname] [lastname] [giftregistry_home-search] <!-END: giftRegistrySearch--> <!-START: giftRegistrySearchResult--> [giftregistry_home-header-searchresult] [giftregistry_header-name] [giftregistry_header-eventdate] [giftregistry_create-firstname] [giftregistry_create-lastname] <!-START: giftRegistrySearchNoResult--> [giftregistry_home-search-noresults] <!-END: giftRegistrySearchNoResult--> <!-START: giftRegistrySearchResultDetail--> [regName] [regEvent] [regFirstName] [regLastName] [custid] [giftregistry_home-select-registry] <!-END: giftRegistrySearchResultDetail--> <!-END: giftRegistrySearchResult--> <!-START: CATEGORY_FOOTER--> [CONTENT] <!-END: CATEGORY_FOOTER-->
Note: Code blocks and their respective variables will only work with specific template pages.
Variables
Note: Several of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance.
- [giftregistry_home] – Displays the Title of the Gift Registry Home page. (See Settings ->Design ->Store Language)
This first set of variables will be active when a registrant is viewing their own created Registry.
- [regName] – When the registrant views their created Registry, this variable will insert the name of the Registry.
- [giftregistry_header-eventdate] – Displays the Title of the “Event” section. (See Settings ->Design ->Store Language)
- [regEvent] – Inserts the Registry’s event date.
- [giftregistry_header-expiration] – Displays the Title of the “Expiration” section. (See Settings ->Design ->Store Language)
- [regExpiration] – Inserts the Registry’s expiration date.
- [giftregistry_header-productsdesired] – Displays the Title of the “Products listed” section. (See Settings ->Design ->Store Language)
- [regProductsDesired] – Insertse the number of products listed in the Registry
- [giftregistry_header-productspurchased] – Displays the Title of the “Products Purchased” section. (See Settings ->Design ->Store Language)
- [regProductsPurchased] – Inserts the number of products purchased from the registry.
- [custid] – Used by the software to reference the customer ID for the registrant’s account.
- [giftregistry_view-productlist] – Displays the Title of the “View Product List” link. (See Settings ->Design ->Store Language)
- [account_giftRegistry-header-view] – Displays the Title of the “View Details List” link. (See Settings ->Design ->Store Language)
This next set of variables will come into play when the registrant elects to Create a new registry.
- [account_giftRegistry] – Displays the Title of the “My Gift Registry” header on the page. (See Settings ->Design ->Store Language)
- [giftregistry_home-create-registry] – Displays the Text of the “Would you like to create your own Gift Registry?” section. (See Settings ->Design ->Store Language)
- [giftregistry_header-create-registry] – Displays the Title of the “Create my Gift Registry” button/link. (See Settings ->Design ->Store Language)
These variables will be active when Searching for a Gift Registry.
- [giftregistry_home-header-search] – Displays the Title of the “Search a Friend’s Registry header. (See Settings ->Design ->Store Language)
- [giftregistry_header-name] – Displays the Title of the “Registry Name” field. (See Settings ->Design ->Store Language)
- [intMonth] – Used by the Software to control the Event Date “Month” selector.
- [selected] – Used by the Software to reference the option selected.
- [month] – Used by the Software to reference the event “Month” selection.
- [day] – Used by the Software to reference the event “Day” selection.
- [year] – Used by the Software to reference the event “Year” selection.
- [giftregistry_create-firstname] – Displays the Title of the Registry form’s “First Name Field. (See Settings ->Design ->Store Language)
- [firstname] – Inserts/References the entered “First Name”
- [giftregistry_create-lastname] – Displays the Title of the Registry form’s “Last Name Field. (See Settings ->Design ->Store Language)
- [lastname] – Inserts/References the entered “Last Name”
- [giftregistry_home-search] – Displays the Title of the “Search Registry” link/button. (See Settings ->Design ->Store Language)
These variables will work for Returned Search Results.
- [giftregistry_home-header-searchresult] – Displays the Title of the “Result” section of the page. (See Settings ->Design ->Store Language)
- [regFirstName] – Inserts the registry’s “First Name” information.
- [regLastName] – Inserts the registry’s “Last Name” information.
- [giftregistry_home-select-registry] – Displays the Title of the “View This Registry” button/link. (See Settings ->Design ->Store Language)
- [giftregistry_home-search-noresults] – If no search results are found, this variable inserts the message that no registries have been found. (See Settings ->Design ->Store Language)