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: {SUBCATEGORY-BLOCK-END}
Modular Merchant
QuickCode™ Glossary
{SUBCATEGORY-BLOCK-END}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:


{CATEGORIES-BULLETED-LIST}

{CATEGORY-ACTIVE}

{CATEGORY-ATTRIBUTE-DESCRIPTION}

{CATEGORY-ATTRIBUTE-TITLE}

{CATEGORY-ATTRIBUTE-VALUE}

{CATEGORY-BLOCK-BEGIN}

{CATEGORY-BLOCK-END}

{CATEGORY-BREADCRUMB-LINKS}

{CATEGORY-DESCRIPTION}

{CATEGORY-DISPLAY-ORDER}

{CATEGORY-HOMEPAGE}

{CATEGORY-IMAGE-TAG}

{CATEGORY-IMAGE-URL}

{CATEGORY-NAME}

{CATEGORY-NUMBER-OF-PRODUCTS}

{CATEGORY-NUMBER-OF-SUBCATEGORIES}

{CATEGORY-PARENT-CATEGORY-NAME}

{CATEGORY-PARENT-CATEGORY-SID}

{CATEGORY-RESULTS-BLOCK-BEGIN}

{CATEGORY-RESULTS-BLOCK-END}

{CATEGORY-SID}

{CATEGORY-TEMPLATE}

{CATEGORY-URL}

{IF-CATEGORY-ATTRIBUTE-BEGIN}

{IF-CATEGORY-ATTRIBUTE-END}

{IF-CATEGORY-IMAGE-BEGIN}

{IF-CATEGORY-IMAGE-END}

{IF-CATEGORY-IS-ROOT-BEGIN}

{IF-CATEGORY-IS-ROOT-END}

{PAGINATION}

{SHIPPING-OPTION-NAME}

{SUBCATEGORY-BEGIN}

{SUBCATEGORY-BLOCK-BEGIN}

{SUBCATEGORY-BLOCK-END}

{SUBCATEGORY-END}

Categories > {SUBCATEGORY-BLOCK-END}
<< {SUBCATEGORY-BLOCK-BEGIN} {SUBCATEGORY-END} >>
{SUBCATEGORY-BLOCK-END} Updated: 02/14/2013

 The {SUBCATEGORY-BLOCK-BEGIN} QuickCode Tag, when used in conjunction with the {SUBCATEGORY-BLOCK-END} QuickCode Tag, will repeat the content between {SUBCATEGORY-BLOCK-BEGIN} and {SUBCATEGORY-BLOCK-END} once for each active subcategory of the current product category.

The content within the subcategory block may include static items that are repeated identically for each subcategory, as well as compatible category and subcategory QuickCode Tags to display individualized content for each subcategory. 

Requirements / Prerequisites

The {SUBCATEGORY-BLOCK-END} QuickCode Tag must be used in conjunction with the {SUBCATEGORY-BLOCK-BEGIN} QuickCode Tag.

The {SUBCATEGORY-BLOCK-BEGIN} and {SUBCATEGORY-BLOCK-END} QuickCode Block Tags may only be used within category templates such as the default category.template.php. When a specific category page is rendered in the storefront, content between the {SUBCATEGORY-BLOCK-BEGIN} and {SUBCATEGORY-BLOCK-END} QuickCode Block Tags will be displayed once for each subcategory associated with the specific category.

Example of Use

If the following code is added to category.template.php:

{CATEGORY-NAME}
{SUBCATEGORY-BLOCK-BEGIN}
*start block*
This text is static content that will be displayed the same for every subcategory.
Individualized content for each subcategory may be generated by compatible QuickCode Tags: {CATEGORY-NAME}
*end block*
{SUBCATEGORY-BLOCK-END}


When the stofront category page for Example Category is displayed in the storefront, if Example Category has the subcategories OneTwo, and Three, the following will be displayed:

Example Category
*start block*
This text is static content that will be displayed the same for every subcategory.
Individualized content for each subcategory may be generated by compatible QuickCode Tags: One
*end block*
*start block*
This text is static content that will be displayed the same for every subcategory.
Individualized content for each subcategory may be generated by compatible QuickCode Tags: Two
*end block*
*start block*
This text is static content that will be displayed the same for every subcategory.
Individualized content for each subcategory may be generated by compatible QuickCode Tags: Three
*end block*

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 {SUBCATEGORY-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