Modular Merchant
QuickCode™ Glossary
{IF-PRODUCT-FIELD-DESCRIPTION-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{COMPOSITE-PRODUCT-IMAGE-SWAP}

{DIGITAL-SAMPLE-BLOCK-BEGIN}

{DIGITAL-SAMPLE-BLOCK-END}

{DIGITAL-SAMPLE-FILE}

{DIGITAL-SAMPLE-NAME}

{IF-BASKET-CONTAINS-SUBSCRIPTION-PRODUCTS-BEGIN}

{IF-DIGITAL-FILE-ELIGIBLE-BEGIN}

{IF-DIGITAL-FILE-ELIGIBLE-END}

{IF-DIGITAL-FILE-RELEASED-BEGIN}

{IF-DIGITAL-FILE-RELEASED-END}

{IF-DIGITAL-SAMPLE-BEGIN}

{IF-DIGITAL-SAMPLE-END}

{IF-PRODUCT-ATTRIBUTE-DESCRIPTION-BEGIN}

{IF-PRODUCT-ATTRIBUTE-DESCRIPTION-END}

{IF-PRODUCT-ATTRIBUTES-BEGIN}

{IF-PRODUCT-ATTRIBUTES-END}

{IF-PRODUCT-FIELD-DESCRIPTION-BEGIN}

{IF-PRODUCT-FIELD-DESCRIPTION-END}

{IF-PRODUCT-IN-ORDER-BEGIN}

{IF-PRODUCT-IN-ORDER-END}

{IF-PRODUCT-IN-SUBSCRIPTION-BEGIN}

{IF-PRODUCT-IN-SUBSCRIPTION-END}

{IF-PRODUCT-MSRP-SAVINGS-BEGIN}

{IF-PRODUCT-MSRP-SAVINGS-END}

{IF-PRODUCT-USES-STOCK-BEGIN}

{IF-PRODUCT-USES-STOCK-END}

{IF-RESULT-BEGIN}

{IF-RESULT-END}

{LIST-CATEGORIES}

{NEWEST-PRODUCT-BLOCK-BEGIN}

{NEWEST-PRODUCT-BLOCK-END}

{PRODUCT-ACTIVE}

{PRODUCT-ADD-TO-BASKET-BUTTON}

{PRODUCT-ATTRIBUTE-DESCRIPTION}

{PRODUCT-ATTRIBUTE-TITLE}

{PRODUCT-ATTRIBUTE-VALUE}

{PRODUCT-BREADCRUMB-LINKS}

{PRODUCT-FIELD-DESCRIPTION}

{PRODUCT-FIELD-TITLE}

{PRODUCT-FIELD-VALUES}

{PRODUCT-FIELD}

{PRODUCT-IMAGE-CAPTION}

{PRODUCT-IMAGE-TAG}

{PRODUCT-IMAGE-URL}

{PRODUCT-IN-SUBSCRIPTION-SUMMARY}

{PRODUCT-LINE-PRICE}

{PRODUCT-LONG-DESCRIPTION}

{PRODUCT-MODIFIER-MENUS}

{PRODUCT-MODIFIER-PRICE-ADJUSTMENT}

{PRODUCT-MODIFIER-VERSION}

{PRODUCT-MSRP-SAVINGS}

{PRODUCT-MSRP}

{PRODUCT-NAME}

{PRODUCT-ORIGINAL-PRICE}

{PRODUCT-PART-NUMBER}

{PRODUCT-PRICE-ORIGINAL}

{PRODUCT-PRICE-SUFFIX}

{PRODUCT-PRICE}

{PRODUCT-QUANTITY-FIELD}

{PRODUCT-REBILL-TERM-TEXT}

{PRODUCT-SHORT-DESCRIPTION}

{PRODUCT-SID}

{PRODUCT-STATUS}

{PRODUCT-UNITS-IN-STOCK}

{PRODUCT-UNITS-IN-STOCK}

{PRODUCT-WEIGHT}

{RECENTLY-VIEWED-PRODUCT-BLOCK-BEGIN}

{RECENTLY-VIEWED-PRODUCT-BLOCK-END}

{RELATED-PRODUCT-BLOCK-BEGIN}

{RELATED-PRODUCT-BLOCK-END}

{SUBCATEGORY-ACTIVE}

{VENDOR-ATTRIBUTE-TITLE}

{XSELL-BLOCK-BEGIN}

{XSELL-BLOCK-END}

Products > {IF-PRODUCT-FIELD-DESCRIPTION-END}
<< {IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} {IF-PRODUCT-IN-ORDER-BEGIN} >>
{IF-PRODUCT-FIELD-DESCRIPTION-END} Updated: 07/16/2013

The {IF-PRODUCT-FIELD-DESCRIPTION-END} QuickCode Tag may be used with the {IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} QuickCode Tag to create a block of content that will only be shown if a certain product field has a public description assigned to it.

{IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} and {IF-PRODUCT-FIELD-DESCRIPTION-END} are used between {PRODUCT-FIELD-BLOCK-BEGIN} and {PRODUCT-FIELD-BLOCK-END} so that public descriptions are shown for any product fields that have a public description, without leaving blank spaces or other formatting flaws for product fields that do not have a public description. {PRODUCT-FIELD-DESCRIPTION} is placed between {IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} and {IF-PRODUCT-FIELD-DESCRIPTION-END}, which in turn are placed between {PRODUCT-FIELD-BLOCK-BEGIN} and {PRODUCT-FIELD-BLOCK-END}.

Assigning a public description to a product field is as simple as typing the description text into the Public Description option in the Product Field Editor, and then clicking the Save Changes to this Product Field button.

Once the product field has been created and configured, including any desired public description, the product field may be assigned to one or more products. Assigning a product field to a product allows the product field to capture input relevant to that product when the product is included in an order. To assign a product field to a product, in the Product Fields section of the Product Editor:

  1. Click the Assign Fields to this product link
  2. Search for the product field in the Search Product Fields popup window
  3. Click the Select button next to the desired product field in the Search Results section
  4. Close the Search Product Fields popup window
  5. Click the blue Save Changes button at the bottom of the Product Editor page
Requirements / Prerequisites

The {IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} QuickCode Tag must be used in combination with the {IF-PRODUCT-FIELD-DESCRIPTION-END} QuickCode Tag.

{IF-PRODUCT-FIELD-DESCRIPTION-BEGIN} and {IF-PRODUCT-FIELD-DESCRIPTION-END} must be placed between {PRODUCT-FIELD-BLOCK-BEGIN} and {PRODUCT-FIELD-BLOCK-END}.

Example of Use

1. Assign the public description "This is a public description" to product field SID 2:

Example

2. Do not assign a public description to product field SID 4.

3. Assign product field SID 2 and product field SID 4 to product SID 123:

Example

4. Add the following to the product template (product.tpl):

5. Product SID 123's storefront product detail page will display the following:

Example
Field SID 2
This is a public description.


PF4

Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-PRODUCT-FIELD-DESCRIPTION-END} 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