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: {ELSE}
Modular Merchant
QuickCode™ Glossary
{ELSE}
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 > {ELSE}
<< {COUPON-VALUE} {ERRORS} >>
{ELSE} Updated: 01/10/2013

This tag can be used with any of the QuickCode tags that contain an "IF" statement. Using the {ELSE} tag will cause whatever is displayed between the {ELSE} tag and the {END}, to only be displayed if the original condition was not met.

Example of Use

Example:
{IF-CUSTOMER-LOGGED-IN-BEGIN}
Welcome, {CUSTOMER-BILL-FIRST-NAME} {CUSTOMER-BILL-LAST-NAME}
{ELSE}
Please log into your account:
My Account
{IF-CUSTOMER-LOGGED-IN-END}


Results:
If the customer is logged into their account, the following will appear:
"Welcome, Bob Slidell" will appear if Bob Slidell is logged in.

If the customer is not logged into an account, the following will appear:
Please log into your account: My Account 

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 {ELSE} 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