Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Use format_address templatetag
Marcin Gębala2a6ab4df32c4
diff --git a/templates/dashboard/order/detail.html b/templates/dashboard/order/detail.htmlindex f7a2d93cfe..cbc4808349 100644--- a/templates/dashboard/order/detail.html+++ b/templates/dashboard/order/detail.html@@ -2,6 +2,7 @@{% load babel %}{% load prices_i18n %}{% load i18n %}+{% load i18n_address_tags %}{% load materializecss %}{% load status %}{% load staticfiles %}@@ -215,7 +216,11 @@<span class="card-title black-text">{% trans "Shipping address" context "" %}</span>- {% include 'dashboard/includes/_address.html' with address=order.shipping_address only %}+ {% if order.shippig_address %}+ {% format_address order.shipping_address %}+ {% else %}+ {% trans "No shipping address" context "Missing shipping address message" %}+ {% endif %}</div>{% if perms.order.edit_order %}<div class="card-action">@@ -233,7 +238,7 @@<span class="card-title black-text">{% trans "Billing address" context "" %}</span>- {% include 'dashboard/includes/_address.html' with address=order.billing_address only %}+ {% format_address order.billing_address %}</div>{% if perms.order.edit_order %}<div class="card-action">