Small fix for admin page when searching for component

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
Odettes
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 102
Joined: Wed Apr 02, 2008 11:00 am
Location: Stockholm, Sweden
Contact:

Small fix for admin page when searching for component

Post by Odettes » Mon Sep 04, 2017 9:54 pm

Hi!

I'm using Gold R11 SR1, Build 7.0.91.8858 and had some problems when adding an existent component to my Kit.
When searching it doesn't shows the names of the products in the component, it's just displays something like this:
[1] $name @ 120 kr ea.

I don't now if this is fixed in the latest version, but if you make a small change in the file:
/Admin/Products/Kits/AttachComponent.aspx

On row 57, change this:

Code: Select all

<asp:Label ID="Name" runat="server" Text='<%#Eval("Name")%>' />
To:

Code: Select all

<asp:Label ID="Name" runat="server" Text='<%#Eval("DisplayName")%>' />
And it will show up correctly and display the products name in the component like this:
[1] Candlelight @ 120 kr ea.

Now it's much easier to locating the right component.
Sincerely,
Thomas Berglund

https://traileronline.se
AbleCommerce Gold R11 Custom

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2649
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Small fix for admin page when searching for component

Post by Katie » Tue Sep 05, 2017 9:01 am

Hi Thomas,

I just checked the latest version of Gold R12 SR1 and the product names shown on the AttachComponent page are working for me, but at least you have a fix here in case someone else has the same issue.

Thanks for taking the time to post it.
Katie
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Post Reply