Warning: simplexml_load_string(): Entity: line 1: parser error : Space required after the Public Identifier in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SystemLiteral " or ' expected in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: hr line 7 and body in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): ^ in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and ending tag mismatch: body line 4 and html in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 Warning: simplexml_load_string(): Entity: line 9: parser error : Premature end of data in tag html line 2 in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 341 QC: {IF-WISH-LIST-IS-PUBLIC-BEGIN}
Modular Merchant
QuickCode™ Glossary
{IF-WISH-LIST-IS-PUBLIC-BEGIN}
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 > {IF-WISH-LIST-IS-PUBLIC-BEGIN}
<< {IF-WISH-LIST-END} {IF-WISH-LIST-IS-PUBLIC-END} >>
{IF-WISH-LIST-IS-PUBLIC-BEGIN} Updated: 05/17/2013
The {IF-WISH-LIST-IS-PUBLIC-BEGIN} QuickCode Tag may be used in combination with the {IF-WISH-LIST-IS-PUBLIC-END} QuickCode Tag to show or hide content based on whether or not a wish list is 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 {IF-WISH-LIST-IS-PUBLIC-BEGIN} QuickCode Tag must be used in combination with the {IF-WISH-LIST-IS-PUBLIC-END} QuickCode Tag.

{IF-WISH-LIST-IS-PUBLIC-BEGIN} and {IF-WISH-LIST-IS-PUBLIC-END} 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.

The {ELSE} QuickCode Tag may optionally be used between {IF-WISH-LIST-IS-PUBLIC-BEGIN} and {IF-WISH-LIST-IS-PUBLIC-END}. If the {ELSE} QuickCode Tag is inserted, then content between {IF-WISH-LIST-IS-PUBLIC-BEGIN} and {ELSE} will be shown only if the wish list is publicly viewable, and content between {ELSE} and {IF-WISH-LIST-IS-PUBLIC-END} will be shown only if the wish list is not publicly viewable.

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 /><br />
                  <!-- Show the content between IF-WISH-LIST-IS-PUBLIC-BEGIN and ELSE only if this wish list is public. -->
    {IF-WISH-LIST-IS-PUBLIC-BEGIN}
    <em>(Public Wish List)</em><br />To share this wish list, send this access code your friends:<br />
    <strong>Public access code: {WISH-LIST-ACCESS-CODE}</strong><br />
    <span>{FACEBOOK-SHARE-BUTTON} {GOOGLE-PLUS-SHARE:annotation=none} {TWITTER-TWEET-BUTTON:count=none}</span>
                <!-- Show the content between ELSE and {IF-WISH-LIST-IS-PUBLIC-END only if this wish list is not public. -->
    {ELSE}
    <em>(Private Wish List)</em>
                  <!-- End of content to show/hide based on whether the wish list is public. -->
    {IF-WISH-LIST-IS-PUBLIC-END}
                </div>
    <!-- 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 (Public Wish List)

    To share this wish list, send this access code to your friends:
    Public access code: 1a111b123c456d789f0000g1h2222i3j

    Wish List Name: What I want to buy later (Private Wish List)

    Thanks for visiting, please come again soon...
Source Code Source Code Updated: Warning: date() expects parameter 2 to be long, string given in /var/www/vhosts/qc.modularmerchant.com/httpdocs/article.php on line 796
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-WISH-LIST-IS-PUBLIC-BEGIN} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2018 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map