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:
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 - 2024 Modular Merchant™. All rights reserved.
Modular Merchant | Privacy Policy | Legal Statement | Terms of Service | Contact Us | Site Map