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: {WISH-LIST-BLOCK-END}
Modular Merchant
QuickCode™ Glossary
{WISH-LIST-BLOCK-END}
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-BLOCK-END}
<< {WISH-LIST-BLOCK-BEGIN} {WISH-LIST-IS-PUBLIC} >>
{WISH-LIST-BLOCK-END} Updated: 05/24/2013

The {WISH-LIST-BLOCK-END} QuickCode Tag may be used in combination with the {WISH-LIST-BLOCK-BEGIN} QuickCode Tag within any storefront template, to create a block of content that will be shown once for each of the curent customer's wish lists.

Requirements / Prerequisites

The {WISH-LIST-BLOCK-END} QuickCode Tag must be used in combination with the {WISH-LIST-BLOCK-BEGIN} QuickCode Tag.

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 IF-USING-WISH-LISTS-END only if the store's Wish List Module is enabled. -->
    {IF-USING-WISH-LISTS-BEGIN}
    <div style="border:1px solid black;">
        <!-- Show the content between IF-CUSTOMER-LOGGED-IN-BEGIN and ELSE only if a customer is currently logged in. -->
    {IF-CUSTOMER-LOGGED-IN-BEGIN}
           <strong>Wish Lists</strong><br />
           <form action="{THIS-PAGE}" method="post" name="update_wish_lists_form">

    <!-- Show the content between WISH-LIST-BLOCK-BEGIN and WISH-LIST-BLOCK-END once for each of the customer's wish lists. -->
    {WISH-LIST-BLOCK-BEGIN}
    <div style="border:1px solid red;">
    <strong>Wish list name:</strong> {FIELD-WISH-LIST-NAME}<br />
                            <strong>Delete this wish list:</strong> {FIELD-WISH-LIST-DELETE}<br />
    </div>

                     <!-- End of content to show once for each wish list. -->
                     {WISH-LIST-BLOCK-END}

        <input class="SUBMIT-BUTTON" name="submit_wish_list_update" type="submit" value="Update Wish Lists" /><br />
        </form>
     
    <!-- Show the content between ELSE and IF-CUSTOMER-LOGGED-IN-END only if a customer is not currently logged in. -->
        {ELSE}
                 <a href="{URL-STORE-HOME}customer_login.php">Login</a> or <a href="{URL-STORE-HOME}customer_register.php">create an account</a> to create and edit wish lists.
          
        <!-- End of content to show/hide based on whether a customer is logged in. -->

        {IF-CUSTOMER-LOGGED-IN-END}

    </div>
    <!-- End of content to show/hide based on whether the store's Wish List Module is enabled. -->
    {IF-USING-WISH-LISTS-END}<br />

    Thanks for shopping, please come again soon...

     
  2. If the store's Wish List Module is enabled, and a customer is currently logged in, and the customer has two wish lists (named "What I want for my birthday" and "What I want to buy later"), the following would display:
    Example
    Welcome to my store!
    Wish Lists
    Wish list name: 
    Delete this wish list: 
    Wish list name: 
    Delete this wish list: 
    Thanks for shopping, please come again soon...

     
  3. If the store's Wish List Module is enabled, and a customer is currently logged in, but the customer does not have any wish lists, the following would display:
    Example
    Welcome to my store!
    Wish Lists
    Thanks for shopping, please come again soon...

     
  4. If the store's Wish List Module is enabled, but no customer is currently logged in, the following would display:
    Example
    Welcome to my store!
    Login or create an account to create and edit wish lists.
    Thanks for shopping, please come again soon...

     
  5. If the store's Wish List Module is disabled, the following would display:
    Example
    Welcome to my store!
    Thanks for shopping, 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 {WISH-LIST-BLOCK-END} QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2019 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map