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: {CATEGORY-GENERATION}
Modular Merchant
QuickCode™ Glossary
{CATEGORY-GENERATION}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{ACCOUNT-PATH}

{CATEGORY-GENERATION}

{CUSTOMER-FIELD-VALUE}

{DROPSHIP-COMPANY}

{DROPSHIP-FIRST-NAME}

{DROPSHIP-LAST-NAME}

{FIELD-PRODUCT-QUANTITY}

{IF-TRACKING-NUMBER-BEGIN}

{IF-TRACKING-NUMBER-END}

{TEMPLATE-PACKAGE}

Administration > {CATEGORY-GENERATION}
<< {ACCOUNT-PATH} {CUSTOMER-FIELD-VALUE} >>
{CATEGORY-GENERATION} Updated: 02/18/2013

Categories and subcategories have a generation level, starting at 0 for the root level category. For example:

Category 1: Generation level of 0
    Subcategory 1: Generation level of 1
        Subcategory 2: Generation level of 2
            Subcategory 3: Generation level of 3
                etc.

This QuickCode Tag creates a transparent spacer image to the left of the category name, and defines how wide the image is based on the parameter given to the tag. This is what causes the indentation of the subcategories.

Requirements / Prerequisites

The tag uses a pixel width parameter, and takes the GENERATION LEVEL x PARAMETER, to create the spacer image. By default, the tag defaults to a parameter of 0, so in order for the tag to create spacer images larger than 0 pixels wide, a parameter must be defined.

Example of Use

If the QuickCode Tag were defined as {CATEGORY-GENERATION:20}, it would take the generation level of the subcategory(ies), and multiply it by 20 pixels.

Category One (gen level 0) x 20 = 0 pixel wide image
    Subcategory One (gen level 1) x 20 = 20 pixel wide image
        Subcategory Two (gen level 2) x 20 = 40 pixel wide image

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 {CATEGORY-GENERATION} 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