Modular Merchant
QuickCode™ Glossary
{IF-USING-WISH-LISTS-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-USING-WISH-LISTS-BEGIN}
<< {FIELD-WISH-LIST-SELECT} {IF-USING-WISH-LISTS-END} >>
{IF-USING-WISH-LISTS-BEGIN} Updated: 05/15/2013

The {IF-USING-WISH-LISTS-BEGIN} QuickCode Tag may be used in combination with the {IF-USING-WISH-LISTS-END} QuickCode Tag within any storefront template to show or hide content based on whether or not the store's Wish Lists Module is enabled.

The store's Wish List Module may be enabled or disabled by toggling the Enable the Wish List Module in the storefront? setting, located at [Modules > Wish Lists], and then clicking the Save Changes button located below the toggle.

 

Content between {IF-USING-WISH-LISTS-BEGIN} and {IF-USING-WISH-LISTS-END} will be displayed if the Wish List Module is enabled, or hidden if the Wish List Module is disabled.

If the {ELSE} QuickCode Tag is inserted between {IF-USING-WISH-LISTS-BEGIN} and {IF-USING-WISH-LISTS-END}, then content between {IF-USING-WISH-LISTS-BEGIN} and {ELSE} will be shown only if the Wish List Module is enabled, and content between {ELSE} and {IF-USING-WISH-LISTS-END} will be shown only if the Wish List Module is disabled.

 

Requirements / Prerequisites

The {IF-USING-WISH-LISTS-BEGIN} QuickCode Tag must be used in combination with the {IF-USING-WISH-LISTS-END} QuickCode Tag.

The {ELSE} QuickCode Tag may optionally be used between {IF-USING-WISH-LISTS-BEGIN} and {IF-USING-WISH-LISTS-END}.

Example of Use
  1. Add the following code to a storefront template:
    Code
    Are Wish Lists enabled?
    {IF-USING-WISH-LISTS-BEGIN}
    Wish Lists are enabled.
    {ELSE}
    Wish Lists are disabled.
    {IF-USING-WISH-LISTS-END}

     
  2. Enable the store's Wish List Module by setting the Enable the Wish List Module in the storefront? setting, located at [Modules > Wish Lists], to YES, and then clicking the Save Changes button.
     
  3. The corresponding storefront page will display:
    Are Wish Lists enabled?
    Wish Lists are enabled.

  4. Disable the store's Wish List Module by setting the Enable the Wish List Module in the storefront? setting, located at [Modules > Wish Lists], to NO, and then clicking the Save Changes button.
     
  5. The corresponding storefront page will display:
    Are Wish Lists enabled?
    Wish Lists are disabled.
Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-USING-WISH-LISTS-BEGIN} 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