Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

New field - Address name - add missing field on list of addresses

support35b98b8c6dbe
diff --git a/src/Web/Grand.Web/Views/Account/Addresses.cshtml b/src/Web/Grand.Web/Views/Account/Addresses.cshtml
index 96de42021..044f81d46 100644
--- a/src/Web/Grand.Web/Views/Account/Addresses.cshtml
+++ b/src/Web/Grand.Web/Views/Account/Addresses.cshtml
@@ -35,7 +35,11 @@
<tr>
<td>
<h3 class="h5 mb-0">
- @address.FirstName @address.LastName
+ @if(address.NameEnabled && !string.IsNullOrEmpty(address.Name))
+ {
+ @address.Name <br/>
+ }
+ @address.FirstName @address.LastName
</h3>
@address.Email
</td>