cart_addresses

cart_addresses

Generates a list of addresses from the customer's address book

Example

[%cart_addresses ship_mode:'[@ship_mode@]'%]
    [%param *header%]
        <h4>Cart Addresses</h4>
    [%/param%]
    [%param *body%]
    [%/param%]
    [%param *footer%]
    [%/param%]
[%/cart_addresses%]

Usage

The cart_addresses tag queries a list of addresses from any customers address book.

cart_addresses Parameters

Name Options Description
ship_mode:'' b, m, s, p Determines the results, b is billing address, m is multiple addresses, s is different address and p is pickup address
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for result
footer HTML & b@se tags Renders a single usable space below the body

cart_addresses Data Tags

Name Description
[@ship_first_name@] The first name of the recipient for the shipping address
[@ship_last_name@] The surname name of the recipient for the shipping address
[@ship_phone@] The phone number for the shipping address
[@ship_fax@] The fax number for the shipping address
[@ship_company@] Company name for the shipping address
[@ship_state@] The state name of the shipping address
[@ship_street1@], [@ship_street2@] The street name and details of the shipping address
[@ship_zip@] The post code / zip code of the shipping address
[@ship_city@] The city name of the shipping address
[@ship_country@] The shipping country ID
[@ship_country_full@] The shipping country name
[@ship_title@] The shipping address title for the address book
[@addr_id@] The address unique ID
[@shipping_method_id@] The current method ID
[@ship_comment@] The comment / shipping instructions for the address
[@customer_ref1@], [@customer_ref2@], [@customer_ref3@], [@customer_ref4@] Customer reference misc field

Was this article useful?

Be notified when this page is updated. Optional.