Order address Loop
Order address loop displays order addresses information.
{loop type="order_address" name="the-loop-name" [argument="value"], [...]}Important informations :
* : argument is required
** : at least one of ** marked argument is required
Global arguments
| Argument | Description |
|---|---|
| backend_context |
Determine if loop is use in backend context. default : false example : backend_context="on" |
| force_return |
force return result for i18n tables even if there is no record default : false example : force_return="on" |
| limit |
The maximum number of results to display. example : limit="10" |
| name * |
The loop name. This name must be unique and is used to reference this loop further in the page (see ifloop, elseloop or pageloop) |
| offset |
The first product to display offset. Will not be used if `page` argument is set. default : 0 example : offset="1" |
| page |
The page to display. example : page="2" |
Loop arguments
| Argument | Description |
|---|---|
| id * |
A single order address id example : id="2" |
Global outputs
| Variable | Description |
|---|---|
| $LOOP_COUNT | the current results index, starting from 1 |
| $LOOP_TOTAL | the total number of results returned by the loop |
| $CREATE_DATE | The creation date of this Order_address |
| $UPDATE_DATE | The last modification date of this Order_address |
Loop outputs
| Variable | Description |
|---|---|
| $ADDRESS1 | the first order address line |
| $ADDRESS2 | the second order address line |
| $ADDRESS3 | the third order address line |
| $CELLPHONE >= 2.2.0-alpha2 | the order address cellphone |
| $CITY | the order address city |
| $COMPANY | the order address company |
| $COUNTRY | the order address country which might be use in country loop |
| $FIRSTNAME | the order address firstname |
| $ID | the order address id |
| $LASTNAME | the order address lastname |
| $PHONE | the order address phone |
| $TITLE | the order address title which might be use in title loop |
| $ZIPCODE | the order address zipcode |