address_book

address_book

Generates a list of data for each address in a customer address book

Example

[%address_book%]
  [%param *body%]
    <div>[@id@] - [@ship_title@] </div>
  [%/param%]
[%/address_book%]

Usage

Every customer in neto can have multiple addresses stored against them. The address book tag loads each of these addresses in the body param alongside supporting additional tags such as [@id@] & [@ship_title@] to label each address.

Parameters

Name Options Description
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for each option in the tag
footer HTML & b@se tags Renders a single usable space below the body

Data tags

Name Description
[@count@] Counts for every time the body parameter is run as a whole number integer
[@id@] The unique for each address
[@ship_city@] The city name for the shipping address
[@ship_company@] The company name for the shipping address
[@ship_country@] The country name for the shipping address
[@ship_fax@] The fax number for the shipping address
[@ship_first_name@] The first name for the shipping address
[@ship_last_name@] The last name for the shipping address
[@ship_phone@] The phone number for the shipping address
[@ship_state@] The state name for the shipping address
[@ship_street1@], [@ship_street2@] The street address fields for the shipping address
[@ship_title@] The title for the address in the address book
[@ship_zip@] The zip/postcode for the shipping address
[@customer_ref#@] Where # is to be replaced by a number 1 through 10, indicating a specific customer misc field.

Was this article useful?

Be notified when this page is updated. Optional.