Modular Merchant
QuickCode™ Glossary
{WISH-LIST-ITEM-SID}
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-ITEM-SID}
<< {WISH-LIST-ITEM-REMOVE-WHEN-PURCHASED} {WISH-LIST-NAME} >>
{WISH-LIST-ITEM-SID} Updated: 06/11/2013

The {WISH-LIST-ITEM-SID} QuickCode Tag may be used to display the SID number of specific item within a specific wish list. This QuickCode Tag is primarily used for development and testing purposes, and would rarely if ever be used to display information to the customer in the storefront.

The wish list item SID number is not the same as the product SID number. Multiple different wish lists might include the same product. If so, the shopping cart would create a unique wish list item SID number for each occurance of the product within a wish list.

Requirements / Prerequisites
The {WISH-LIST-ITEM-SID} QuickCode Tag must be used within the {WISH-LIST-ITEM-BLOCK-BEGIN} {WISH-LIST-ITEM-BLOCK-END} QuickCode Block, which in turn must be used within specific QuickCode Blocks. The {WISH-LIST-ITEM-BLOCK-BEGIN} and {WISH-LIST-ITEM-BLOCK-END} QuickCode Tag Glossary entries include detailed information about the requirements for the {WISH-LIST-ITEM-BLOCK-BEGIN} {WISH-LIST-ITEM-BLOCK-END} QuickCode 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
<!-- 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. -->
<h3>Wish Lists</h3>
 
<!-- Show the content between IF-WISH-LIST-BEGIN and ELSE only if the shopping session has a wish list. -->
<div style="border:2px solid black;padding:15px;width:700px;">
<!-- Show the content between WISH-LIST-BLOCK-BEGIN and WISH-LIST-BLOCK-END once for each wish list. -->
<ul style="border:2px solid grey;padding:15px;width:auto;list-style-type: none;">
<li style="text-align:center;"><strong>Wish List Name:</strong> WISH-LIST-NAME}</li>
<li>
<!-- Show the content between WISH-LIST-ITEM-BLOCK-BEGIN and WISH-LIST-ITEM-BLOCK-END once for each product in the current wish list. -->
<ul style="border:1px solid grey;padding:10px;width:auto;list-style-type: none;">
<li><strong>Product Name:</strong> {PRODUCT-NAME}</li>
<li><strong>Product SID:</strong> {PRODUCT-SID}</li>
<li><strong>Wish List Item SID:</strong> {WISH-LIST-ITEM-SID}</li>
</ul><br />
<!-- End of WISH-LIST-ITEM-BLOCK content. -->
</li>
<li style="text-align:center;"><a href="{URL-ADD-WISH-LIST-TO-BASKET}">Add entire wish list to my order.</a></li>
</ul><br />
<!-- End of WISH-LIST-BLOCK content. -->
 
</div>
<!-- End of content to be shown only if the shopping session has a wish list. -->
 
<!-- End of content to be shown only if the store's Wish List Module is enabled. -->                      
<hr />
 
 
2. If the store's Wish List Module is enabled -AND- the logged in customer owns two wish lists (named "What I want for my birthday" and "What I want to buy later"), then the following would display:
Example
Wish Lists
  • Wish List Name: What I want for my birthday
  •  
    • Product Name: Blue T-Shirt
    • Product SID: 123
    • Wish List Item SID: 100
    • Product Name: Blue Sneakers
    • Product SID: 456
    • Wish List Item SID: 101
  • Add entire wish list to my order.

  • Wish List Name: What I want to buy later
  •  
    • Product Name: Blue T-Shirt
    • Product SID: 123
    • Wish List Item SID: 102
    • Product Name: Red T-Shirt
    • Product SID: 125
    • Wish List Item SID: 103
  • Add entire wish list to my order.

 
 
3. If the store's Wish List Module is enabled -BUT- no wish lists are associated with the current shopping session, then the following would display:
Example
Wish Lists

 
 
4. If the store's Wish List Module is not enabled, then the following would display:
Example

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-ITEM-SID} 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