{% from "erpnext/templates/includes/cart/cart_macros.html" import show_address %} {% if addresses | length == 1%} {% set select_address = True %} {% endif %} {% set show_coupon_code = frappe.db.get_single_value('E Commerce Settings', 'show_apply_coupon_code_in_website') %} {% if show_coupon_code == 1%}
{% endif %}
{{ _("Shipping Address") }}

{% for address in shipping_addresses %} {% if doc.shipping_address_name == address.name %}
{% include "templates/includes/cart/address_card.html" %}
{% endif %} {% endfor %}
{{ _("Billing Address") }}

{% for address in billing_addresses %} {% if doc.customer_address == address.name %}
{% include "templates/includes/cart/address_card.html" %}
{% endif %} {% endfor %}