kits, variants, and sku's bug??
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
kits, variants, and sku's bug??
When I add a item with variants to a kit it uses the default sku and not the variant modified sku. Not sure if this is just a display issue or not yet. This will cause a lot of problems with sales reporting and transfering to quickbooks etc though if its not.
Re: kits, variants, and sku's bug??
This seems to be bug, I have logged it you can track progress here
http://bugs.ablecommerce.com/show_bug.cgi?id=8256
http://bugs.ablecommerce.com/show_bug.cgi?id=8256
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: kits, variants, and sku's bug??
This did not get addressed for 7.0.4?
I would understand if this was a feature request but it was a bug introduced with 7.0.3
I would understand if this was a feature request but it was a bug introduced with 7.0.3

- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: kits, variants, and sku's bug??
Is this ever going to be addressed?
It was working in 7.0.2 and was broken in 7.0.3 and was ignored for 7.0.4 any hopes for 7.0.5? The bug has not been updated in months.
It was working in 7.0.2 and was broken in 7.0.3 and was ignored for 7.0.4 any hopes for 7.0.5? The bug has not been updated in months.
Re: kits, variants, and sku's bug??
I've found a quick one-line workaround for it that might help until the bug is properly fixed, it doesn't change the issue just fixes the display on the admin order screen which is to simply copy the Sku from the variant (if it is defined) to the main order item sku before displaying it. At least I can now see what the sku should be when viewing the order
You would need to do something similar for the shipments display too.
In Admin/ViewOrder.aspx.cs line 287 change this:
And add this one line:

In Admin/ViewOrder.aspx.cs line 287 change this:
Code: Select all
OrderItemCollection itemList = new OrderItemCollection();
foreach (OrderItem item in _Order.Items)
{
switch (item.OrderItemType)
{
case OrderItemType.Tax:
case OrderItemType.GiftCertificatePayment:
break;
default:
itemList.Add(item);
break;
}
}
Code: Select all
OrderItemCollection itemList = new OrderItemCollection();
foreach (OrderItem item in _Order.Items)
{
switch (item.OrderItemType)
{
case OrderItemType.Tax:
case OrderItemType.GiftCertificatePayment:
break;
default:
if (item.ProductVariant != null) item.Sku = item.ProductVariant.Sku; // Work around for bug #8256
itemList.Add(item);
break;
}
}
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: kits, variants, and sku's bug??
I dont have a problem with how it is displayed as much as what happens when I transfer my orders into quickbooks and I am recording sales for the wrong items.
The bug has been updated
Thanks Katie..hopefully it will get fixed in the next release.
The bug has been updated

Re: kits, variants, and sku's bug??
Can anyone let me know if this has been addressed? I can't seem to access the link nor set up an account with bugtrack.
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Re: kits, variants, and sku's bug??
The problem was resolved in AC 7.0.5. We switched to a new bug tracking system so the link above is no longer valid.
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: kits, variants, and sku's bug??
Is there a new bug system which we can see? It was nice to be able to search and see what was being addressed before submitting bugs, etc..
Re: kits, variants, and sku's bug??
I don't suppose there would be any way to get the code that fixed that bug short of upgrading to 7.0.5? That isn't a very realistic option for me right now, but the bug is causing problems. I'm comfortable making the updates if anyone could point me to the files / functions that need to be tweaked...
Thanks!
Thanks!