Modular Merchant
QuickCode™ Glossary
{FIELD-WISH-LIST-ACCESS-CODE}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{FIELD-WISH-LIST-ACCESS-CODE}

{FIELD-WISH-LIST-DELETE}

{FIELD-WISH-LIST-IS-PUBLIC}

{FIELD-WISH-LIST-ITEM-COMMENT}

{FIELD-WISH-LIST-ITEM-DELETE}

{FIELD-WISH-LIST-ITEM-EXPIRATION-DATE}

{FIELD-WISH-LIST-ITEM-PRIORITY}

{FIELD-WISH-LIST-ITEM-REMOVE-WHEN-PURCHASED}

{FIELD-WISH-LIST-NAME}

{FIELD-WISH-LIST-SELECT}

{IF-USING-WISH-LISTS-BEGIN}

{IF-USING-WISH-LISTS-END}

{IF-WISH-LIST-BEGIN}

{IF-WISH-LIST-END}

{IF-WISH-LIST-IS-PUBLIC-BEGIN}

{IF-WISH-LIST-IS-PUBLIC-END}

{IF-WISH-LIST-OWNER-BEGIN}

{IF-WISH-LIST-OWNER-END}

{URL-ADD-TO-WISH-LIST}

{URL-ADD-WISH-LIST-TO-BASKET}

{WISH-LIST-ACCESS-CODE}

{WISH-LIST-BLOCK-BEGIN}

{WISH-LIST-BLOCK-END}

{WISH-LIST-IS-PUBLIC}

{WISH-LIST-ITEM-BLOCK-BEGIN}

{WISH-LIST-ITEM-BLOCK-END}

{WISH-LIST-ITEM-COMMENT}

{WISH-LIST-ITEM-CREATE-DATE}

{WISH-LIST-ITEM-EXPIRATION-DATE}

{WISH-LIST-ITEM-PRIORITY}

{WISH-LIST-ITEM-QUANTITY}

{WISH-LIST-ITEM-REMOVE-WHEN-PURCHASED}

{WISH-LIST-ITEM-SID}

{WISH-LIST-NAME}

Wish List > {FIELD-WISH-LIST-ACCESS-CODE}
{FIELD-WISH-LIST-DELETE} >>
{FIELD-WISH-LIST-ACCESS-CODE} Updated: 05/28/2013

The {FIELD-WISH-LIST-ACCESS-CODE} QuickCode Tag may be used to create a text field for store visitors to enter a public access code, in order to view the corresponding wish list.

When a wish list is created or edited, the option is available to set the wish list to be publicly viewable or not. If a wish list is set to be publicly viewable, the shopping cart will automatically generate an access code for visitors to enter, in order to view that particular wish list.
Requirements / Prerequisites

The {FIELD-WISH-LIST-ACCESS-CODE} QuickCode Tag must be placed within an HTML form. The form must include a submit button, and for best results, the form's action should be "wish_list.php", so that when a wish list access code is submitted, the store's wish list page will load to display the selected wish list.

It is recommended to always place any content related to wish lists between the {IF-USING-WISH-LISTS-BEGIN} and {IF-USING-WISH-LISTS-END} QuickCode Tags, so that the content will be shown when the store's Wish List Module is enabled, but hidden if the store's Wish List Module is disabled.

Example of Use
  1. Add the following code to a storefront template:
    Example
    Welcome to my store!<br />
    <!-- Show the content between IF-USING-WISH-LISTS-BEGIN and ELSE only if the store's Wish List Module is enabled. -->
    {IF-USING-WISH-LISTS-BEGIN}        
           To view a public wish list, simply enter the wish list access code below:
            <form name="view_wish_list_form" method="post" action="wish_list.php">
                     <strong>Access Code:</strong> {FIELD-WISH-LIST-ACCESS-CODE}<br />
                     <input type="submit" name="submit_view_wish_list_form" value="View Wish List" />
            </form>

    <!-- Show the content between ELSE and IF-USING-WISH-LISTS-END only if the store's Wish List Module is not enabled. -->
    {ELSE}
            <em>Wish lists are not allowed at this time.</em><br />

    <!-- End of content to show/hide based on whether the store's Wish List Module is enabled. -->
    {IF-USING-WISH-LISTS-END}
    Thanks for visiting, please come again soon...

  2. If the store's Wish List Module is not enabled, the following would display:
    Example
    Welcome to my store!
    Wish lists are not allowed at this time.
    Thanks for visiting, please come again soon...

     
  3. If the store's Wish List Module is enabled, the following would display:
    Example
    Welcome to my store!
    To view a public wish list, simply enter the wish list access code below:
    Access Code:

    Thanks for visiting, please come again soon...

    And if the store visitor entered a valid access code for a public wish list, then clicked the View Wish List button, the store's wish list page would load, displaying the selected public wish list.
Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {FIELD-WISH-LIST-ACCESS-CODE} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map