Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add copy for empty states
weronka86de4121a03a
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.htmlindex acfe22a8cc..5f2b23ef45 100644--- a/templates/userprofile/details.html+++ b/templates/userprofile/details.html@@ -56,6 +56,9 @@</div></div>{% endfor %}+ {% if orders|length == 0 %}+ <h3 class="text-sm-center">{% trans "There are not any completed orders yet." %}</h3>+ {% endif %}</div></div><div class="tab-pane" id="password" role="tabpanel">@@ -83,6 +86,9 @@<div class="card-deck">{% endif %}{% endfor %}+ {% if addresses|length == 0 %}+ <h3 class="text-sm-center">{% trans "You will see new addresses here after first successful checkout." %}</h3>+ {% endif %}</div></div></div>