Back to Opencart

{{ text_address_book }}

upload/catalog/view/template/account/address.html

4.1.0.32.0 KB
Original Source

{{ text_address_book }}

{% if addresses %}

{% for address in addresses %} | {{ address.address }} | {% if address.default %} {{ text_default }} {% endif %} | | {% endfor %}

{% else %}

{{ text_no_results }}

{% endif %}

{{ button_back }}

{{ button_address_add }}

{{ text_address }}

{{ entry_firstname }}

{{ entry_lastname }}

{{ entry_company }}

{{ entry_address_1 }}

{{ entry_address_2 }}

{{ entry_city }}

{{ entry_postcode }}

{{ entry_country }} {{ text_select }}

{{ entry_zone }} {{ text_select }}

{% for custom_field in custom_fields %} {% if custom_field.type == 'select' %} {{ custom_field.name }} {{ text_select }} {% for custom_field_value in custom_field.custom_field_value %} {{ custom_field_value.name }} {% endfor %}

{% endif %} {% if custom_field.type == 'radio' %} {{ custom_field.name }}

{% for custom_field_value in custom_field.custom_field_value %} {{ custom_field_value.name }} {% endfor %}

{% endif %} {% if custom_field.type == 'checkbox' %} {{ custom_field.name }}

{% for custom_field_value in custom_field.custom_field_value %} {{ custom_field_value.name }} {% endfor %}

{% endif %} {% if custom_field.type == 'text' %} {{ custom_field.name }}

{% endif %} {% if custom_field.type == 'textarea' %} {{ custom_field.name }} {% if address_custom_field[custom_field.custom_field_id] %}{{ address_custom_field[custom_field.custom_field_id] }}{% else %}{{ custom_field.value }}{% endif %}

{% endif %} {% if custom_field.type == 'file' %} {{ custom_field.name }}

{{ button_upload }}

{% endif %} {% if custom_field.type == 'date' %} {{ custom_field.name }}

{% endif %} {% if custom_field.type == 'time' %} {{ custom_field.name }}

{% endif %} {% if custom_field.type == 'datetime' %} {{ custom_field.name }}

{% endif %} {% endfor %} {{ entry_default }}

{{ text_yes }}

{{ text_no }}

{{ button_back }}

{{ button_continue }}