Modular Merchant
QuickCode™ Glossary
{WISH-LIST-IS-PUBLIC}
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 > {WISH-LIST-IS-PUBLIC}
<< {WISH-LIST-BLOCK-END} {WISH-LIST-ITEM-BLOCK-BEGIN} >>
{WISH-LIST-IS-PUBLIC} Updated: 05/17/2013
The {WISH-LIST-IS-PUBLIC} QuickCode Tag may be used to display "Yes" if a wish list is set to be publicly viewable, or "No" if a wish list is not set to be publicly viewable.
 
When a wish list is first created, the option is available to set the wish list to be publicly viewable or not. The wish list may also be edited later to update the setting. Only the customer who created the wish list, or a store admin, may alter a wish list's publicly viewable setting.
 
If the customer who created the wish list is logged into their customer account, they may manage their wish lists through the storefront wish list page (http://[storedomain]/wish_list.php).
 
Store admins may use the Search Wish Lists page (located at [Modules > Wish Lists > Search Wish Lists] to view all wish lists. The publicly viewable setting may be altered directly from the Search Wish Lists page, or an individual wish list may be selected to view and edit all of its settings in the Wish List Editor.
Requirements / Prerequisites

The {WISH-LIST-IS-PUBLIC} QuickCode Tag must be used within the {WISH-LIST-BLOCK-BEGIN} {WISH-LIST-BLOCK-END} block.

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
    View your wish lists here:<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}
        <!-- Show the content between WISH-LIST-BLOCK-BEGIN and WISH-LIST-BLOCK-END once for each of the user's wish lists. -->
    {WISH-LIST-BLOCK-BEGIN}
                    <div style="border:1px dashed black;padding:5px;width:400px;">
    <strong>Wish List Name:</strong> <strong><span style="color: rgb(51, 51, 153);">{WISH-LIST-NAME}</span></strong><br />
                    <em>Is this wish list public? <strong>{WISH-LIST-IS-PUBLIC}</strong></em><br />
    </div>
                    <br />
    <!-- End of content to be displayed once for each of the user's lists. -->
    {WISH-LIST-BLOCK-END}
    <!-- 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
    View your wish lists here:
    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, and the customer has one public wish list named "What I want for my birthday", and one private wish list named "What I want to buy later", the following would display:
    Example
    View your wish lists here:
    Wish List Name: What I want for my birthday 
    Is this wish list public? Yes

    Wish List Name: What I want to buy later 
    Is this wish list public? No

    Thanks for visiting, please come again soon...

 

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {WISH-LIST-IS-PUBLIC} 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