AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Order link bad in Gift certificate transactions 9.0.3
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Clicking on the order number link on Admin/Payments/GiftCertificateTransaction?GiftCertificateId=xxx sends you to Admin/Order/ViewOrder?OrderNumber=xxx instead of Admin/Orders/ViewOrder/xxx
|
|
|
|
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)
|
I am able to confirm the issue. This is a small typo mistake. I am registering this as a bug. Thanks To resolve the issue: 1- Go to \Website\Areas\Admin\Controllers\PaymentsController.cs 2- Search for Code:protected string GetOrderLink(object obj)
{
GiftCertificateTransaction trans = obj as GiftCertificateTransaction;
if (trans == null) return "";
if (trans.Order == null) return "";
return Url.Action("ViewOrder", "Order" , new { OrderNumber = trans.Order.OrderNumber });
}
3- Replace with Code:protected string GetOrderLink(object obj)
{
GiftCertificateTransaction trans = obj as GiftCertificateTransaction;
if (trans == null) return "";
if (trans.Order == null) return "";
return Url.Action("ViewOrder", "Orders" , new { OrderNumber = trans.Order.OrderNumber });
}
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
Order link bad in Gift certificate transactions 9.0.3
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