Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Ship To Fax is missing in the shipping summary on the view order page. It was displayed in Gold R12.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
You are right. We missed the display code of the ShipToFax property. I am registering this as a bug and sharing the fix. 1- Open Website\Areas\Admin\Models\OrderModels.cs 2- Search for Code:public string LastShipmentDate { get; set; }
public string GetShipmentStatusStyle(string status)
{
status = status.ToLower();
if (status == "unshipped") return "text-warning";
else return "text-success";
}
3- Replace with Code:public string LastShipmentDate { get; set; }
public string ShipToFax { get; set; }
public string GetShipmentStatusStyle(string status)
{
status = status.ToLower();
if (status == "unshipped") return "text-warning";
else return "text-success";
}
4- Open Website\Areas\Admin\Controllers\OrdersController.cs 5- Search for Code:model.ShipToPhone = order.Shipments[0].ShipToPhone;
6- Replace with Code:model.ShipToPhone = order.Shipments[0].ShipToPhone;
model.ShipToFax = order.Shipments[0].ShipToFax;
7- Open Website\Areas\Admin\Views\Orders\_ShippingSummary.cshtml 8- Search for Code:@if (!string.IsNullOrEmpty(Model.ShipToPhone))
{
<li>
<span class="fa fa-phone m-r-xs"></span>
@Model.ShipToPhone
</li>
}
9- Replace with Code:@if (!string.IsNullOrEmpty(Model.ShipToPhone))
{
<li>
<span class="fa fa-phone m-r-xs"></span>
@Model.ShipToPhone
</li>
}
@if (!string.IsNullOrEmpty(Model.ShipToFax))
{
<li>
<span class="fa fa-fax m-r-xs"></span>
@Model.ShipToFax
</li>
}
10- You will need to compile the code to apply these changes.
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Thanks, I had fixed it myself in a similar fashion. Later on, I found the TaxExemption information wasn't showing like it was in Gold in the Billing information so I added that also.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close