Modular Merchant
QuickCode™ Glossary
{IF-CUSTOMER-BILL-ADDRESS-2-BEGIN}
QuickCode Tag Glossary Home
See also:
Knowledge Base
Articles in this category:
{COMPOSITE-FREE-DOWNLOADS}

{CREDIT-CARD-APPLY-TO-SUBSCRIPTIONS-URL}

{CREDIT-CARD-BLOCK-BEGIN}

{CREDIT-CARD-BLOCK-END}

{CREDIT-CARD-DELETE-URL}

{CREDIT-CARD-EXPIRATION-MONTH}

{CREDIT-CARD-EXPIRATION-YEAR}

{CREDIT-CARD-LAST-FOUR-DIGITS}

{CUSTOMER-ATTRIBUTE-DESCRIPTION}

{CUSTOMER-ATTRIBUTE-TITLE}

{CUSTOMER-ATTRIBUTE-VALUE}

{CUSTOMER-BILL-ADDRESS-1}

{CUSTOMER-BILL-ADDRESS-2}

{CUSTOMER-BILL-CITY}

{CUSTOMER-BILL-COUNTRY-ISO}

{CUSTOMER-BILL-COUNTRY-NAME}

{CUSTOMER-BILL-FIRST-NAME}

{CUSTOMER-BILL-LAST-NAME}

{CUSTOMER-BILL-STATE-ISO}

{CUSTOMER-BILL-STATE-NAME}

{CUSTOMER-BILL-ZIP}

{CUSTOMER-CREDIT-ACCOUNT-AVAILABLE-CREDIT}

{CUSTOMER-CREDIT-ACCOUNT-BALANCE}

{CUSTOMER-CREDIT-ACCOUNT-CREDIT-TERM}

{CUSTOMER-CREDIT-ACCOUNT-TERM-REMAINING}

{CUSTOMER-CREDIT-ACCOUNT-TERM-USAGE}

{CUSTOMER-CREDIT-ACCOUNT-VALUE}

{CUSTOMER-EMAIL}

{CUSTOMER-FIELD-BLOCK-BEGIN}

{CUSTOMER-FIELD-BLOCK-END}

{CUSTOMER-FIELD-DESCRIPTION}

{CUSTOMER-FIELD-TITLE}

{CUSTOMER-FIELD}

{CUSTOMER-IP-ADDRESS}

{CUSTOMER-NEWS}

{CUSTOMER-PASSWORD}

{CUSTOMER-PHONE-AREA-CODE}

{CUSTOMER-PHONE-NUMBER}

{CUSTOMER-SHIP-ADDRESS-1}

{CUSTOMER-SHIP-ADDRESS-2}

{CUSTOMER-SHIP-ADDRESS-SID}

{CUSTOMER-SHIP-CITY}

{CUSTOMER-SHIP-COUNTRY-ISO}

{CUSTOMER-SHIP-COUNTRY-NAME}

{CUSTOMER-SHIP-FIRST-NAME}

{CUSTOMER-SHIP-LAST-NAME}

{CUSTOMER-SHIP-SID}

{CUSTOMER-SHIP-STATE-ISO}

{CUSTOMER-SHIP-STATE-NAME}

{CUSTOMER-SHIP-ZIP}

{CUSTOMER-SID}

{CUSTOMER-SUBSCRIBER-NEWS}

{FEATURED-PRODUCT-BLOCK-BEGIN}

{FEATURED-PRODUCT-BLOCK-END}

{FIELD-APPLY-CC-TO-SUBSCRIPTIONS}

{FIELD-CC-IS-PRIMARY}

{FIELD-CC-MONTH}

{FIELD-NEW-CC-MONTH}

{FIELD-NEW-CC-NAME}

{FIELD-NEW-CC-NUMBER}

{FIELD-NEW-CC-YEAR}

{FIELD-TOGGLE-CC-LIST}

{FREE-DOWNLOADS-BLOCK-BEGIN}

{FREE-DOWNLOADS-BLOCK-END}

{IF-CUSTOMER-ATTRIBUTE-BEGIN}

{IF-CUSTOMER-ATTRIBUTE-END}

{IF-CUSTOMER-BILL-ADDRESS-2-BEGIN}

{IF-CUSTOMER-BILL-ADDRESS-2-END}

{IF-CUSTOMER-FIELDS-BEGIN}

{IF-CUSTOMER-FIELDS-END}

{IF-CUSTOMER-HAS-CREDIT-ACCOUNT-BEGIN}

{IF-CUSTOMER-IN-GROUP-BEGIN}

{IF-CUSTOMER-IN-GROUP-END}

{IF-CUSTOMER-LOGGED-IN-BEGIN}

{IF-CUSTOMER-LOGGED-IN-END}

{IF-CUSTOMER-SHIP-ADDRESS-2-BEGIN}

{IF-CUSTOMER-SHIP-ADDRESS-2-END}

{IF-FIELD-CUSTOMER-CUSTOM-BEGIN}

{IF-FIELD-CUSTOMER-CUSTOM-END}

{IF-FREE-DOWNLOADS-BEGIN}

{IF-FREE-DOWNLOADS-END}

{ORDER-HISTORY-BLOCK-BEGIN}

{ORDER-HISTORY-BLOCK-END}

{ORDER-HISTORY-DOWNLOAD-PASSWORD}

{ORDER-HISTORY-PRODUCT-BLOCK-BEGIN}

{ORDER-HISTORY-PRODUCT-BLOCK-END}

{PRODUCT-BILL-DATE}

{PRODUCT-SHIP-DATE}

{SCHEDULED-ORDERS-BLOCK-BEGIN}

{SCHEDULED-ORDERS-BLOCK-END}

{SCHEDULED-ORDERS-ESTIMATED-ORDER-VALUE}

{SCHEDULED-ORDERS-PRODUCT-BLOCK-BEGIN}

{SCHEDULED-ORDERS-PRODUCT-BLOCK-END}

{URL-EMAIL-UNSUBSCRIBE}

{VENDOR-HOMEPAGE}

{VENDOR-PHONE}

Customers > {IF-CUSTOMER-BILL-ADDRESS-2-BEGIN}
<< {IF-CUSTOMER-ATTRIBUTE-END} {IF-CUSTOMER-BILL-ADDRESS-2-END} >>
{IF-CUSTOMER-BILL-ADDRESS-2-BEGIN} Updated: 07/20/2009

Performs a check to determine whether or not the user has a second address line on file.

Requirements / Prerequisites

Must be used in conjunction with the {IF-CUSTOMER-BILL-ADDRESS-2-END} tag.

Example of Use

The following code will display line 2 of the customer's address if they have entered data into the field created by {FIELD-BILL-ADDRESS-2}.

  1. A customer has entered 123 Example Street into the field created by {FIELD-BILL-ADDRESS-2}.
  2. The following content in the web page's template:
    {IF-CUSTOMER-BILL-ADDRESS-2-BEGIN} Address 2: {CUSTOMER-BILL-ADDRESS-2} {IF-CUSTOMER-BILL-ADDRESS-2-END}
  3. Will display the following when viewing that web page in the storefront:
    Address 2: 123 Example Street

The following code will hide line 2 of the customer's address if they have not entered data into the field created by {FIELD-BILL-ADDRESS-2}.

  1. A customer has skips the field created by {FIELD-BILL-ADDRESS-2} and enters nothing into it.
  2. The following content in the web page's template:
    {IF-CUSTOMER-BILL-ADDRESS-2-BEGIN} Address 2: {CUSTOMER-BILL-ADDRESS-2} {IF-CUSTOMER-BILL-ADDRESS-2-END}
  3. Will display the nothing when viewing that web page in the storefront:
Source Code Source Code Updated:
When a web page using a template that contains this QuickCode Tag is viewed in the storefront, the {IF-CUSTOMER-BILL-ADDRESS-2-BEGIN} 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