|
|
{COMPOSITE-COMPANY-ADDRESS} |
Updated: 07/14/2009 |
Displays the contents of any of the fields in the Company Address System Setting that are not blank. |
Requirements / Prerequisites |
May be used in any template.
Displays the same content no matter which template or block tag it is used in. |
Example of Use |
Example One
- The first field in the Company Address System Setting contains: Vladimir's Discount Sandwiches.
The second field in the Company Address System Setting contains: Suite 123.
The third field in the Company Address System Setting contains: Department ABC.
- The following content in the web page's template:
Our address is:
{COMPOSITE-COMPANY-ADDRESS}
- Will display the following when viewing that web page in the storefront:
Our address is:
Vladimir's Discount Sandwiches
Suite 123
Department ABC
Example Two
- The first field in the Company Address System Setting contains: Vladimir's Discount Sandwiches.
The second field in the Company Address System Setting is left blank.
The third field in the Company Address System Setting contains: Department ABC.
- The following content in the web page's template:
Our address is:
{COMPOSITE-COMPANY-ADDRESS}
- Will display the following when viewing that web page in the storefront:
Our address is:
Vladimir's Discount Sandwiches
Department ABC
Note that the tag removes the blank extra line for the empty second field.
|
|
Source Code |
Source Code Updated: |
Related Articles |
LOG IN TO ADD COMMENTS
|