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: UNIVERSAL-CONTENT
Modular Merchant
QuickCode™ Glossary
UNIVERSAL-CONTENT
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
UNIVERSAL-CONTENT

{AMOUNT-OVER-MAX-ORDER-VALUE}

{AMOUNT-UNDER-MIN-ORDER-VALUE}

{BEST-SELLERS-BLOCK-BEGIN}

{BEST-SELLERS-BLOCK-END}

{CAPTCHA}

{COMPANY-LOGO}

{COUPON-VALUE}

{ELSE}

{ERRORS}

{EVENT-DESCRIPTION}

{EVENT-END-DATE}

{EVENT-NAME}

{EVENT-SID}

{EVENT-START-DATE}

{FORCE-HTTPS}

{FORCE-HTTP}

{GOOGLE-ANALYTICS-TRAFFIC}

{GOOGLE-ANALYTICS-TRANSACTION}

{IF-COMPANY-LOGO-BEGIN}

{IF-COMPANY-LOGO-END}

{IF-ERRORS-BEGIN}

{IF-ERRORS-END}

{IF-EVENTS-BEGIN}

{IF-EVENTS-END}

{IF-GOOGLE-ANALYTICS-BEGIN}

{IF-GOOGLE-ANALYTICS-END}

{IF-MESSAGES-BEGIN}

{IF-MESSAGES-END}

{INCLUDE-JAVASCRIPT-FILES}

{INCREMENT-RESULT}

{MAXIMUM-ORDER-VALUE}

{MESSAGES}

{MINIMUM-ORDER-VALUE}

{NULL}

{NUMBER-OF-RESULTS}

{PAGE-TITLE}

{POWERED-BY-MM}

{PRODUCT-UNIT-PRICE}

{REDIRECT-AFFILIATE-ACCOUNT-1}

{REDIRECT-CUSTOMER-ACCOUNT-1}

{REDIRECT-STORE-HOME}

{RESULTS-PER-PAGE}

{SEARCH-RESULTS-BLOCK-BEGIN}

{SEARCH-RESULTS-BLOCK-END}

{SEARCH-SCORE}

{SHOPPING-SESSION-ID}

{THIS-PAGE}

{URL-BASKET}

{URL-CHECKOUT}

{URL-CUSTOMER-ACCOUNT}

{URL-CUSTOMER-FETCH-LOGIN}

{URL-CUSTOMER-LOGIN}

{URL-LOG-OUT}

{URL-PRINT-ORDER-FORM}

{URL-SEARCH-RESULTS}

{URL-STORE-HOME}

Universal > UNIVERSAL-CONTENT
{AMOUNT-OVER-MAX-ORDER-VALUE} >>
UNIVERSAL-CONTENT Updated: 09/12/2011

A Template Package contains roughly 35 different templates, one for each section of the store's administration area. There are templates to control the design of the product pages, checkout pages, customer Account Area pages, etc.

However, new to MMv4 is the option to make an entire Template Package that consists of just one single template!
 
All MMv4 Template Packages must contain, at a minimum, a template titled universal.template.php. This universal template will be used in the place of any other template excluded from the Template Package.
 
For example, the Store Home page uses a template named storefront.template.php. It is the template that is used by the home page of the store's public shopping area. If a Template Package does not include the storefront.template.php template, then, when a customer view's the store's home page, the contents of the universal.template.php template will automatically be used to render the store's home page instead.

The universal template may contain any HTML content, just like any other template. However, it must also always include the {UNIVERSAL-CONTENT} QuickCode Tag. The location of the {UNIVERSAL-CONTENT} QuickCode Tag is up to the designer of the template, but it must be present in the universal template somewhere. This QuickCode Tag will be translated into the default content for the storefront page being viewed.

The universal templating system allows an entire Template Package to be created using just one template. One, some, or all of the other 35 templates can also be included in any Template Package. If a storefront page's corresponding template file is present in the Template Package, then it will be used. Otherwise, the universal.template.php template and its {UNIVERSAL-CONTENT} QuickCode Tag will be used in its place.

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 UNIVERSAL-CONTENT QuickCode Tag is changed into the source code below prior to the web page being displayed.
LOG IN TO ADD COMMENTS
  Copyright © 2001 - 2018 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map