kits, variants, and sku's bug??

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

kits, variants, and sku's bug??

Post by compunerdy » Wed Jul 22, 2009 2:06 pm

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.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: kits, variants, and sku's bug??

Post by mazhar » Fri Jul 24, 2009 8:16 am

This seems to be bug, I have logged it you can track progress here
http://bugs.ablecommerce.com/show_bug.cgi?id=8256

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: kits, variants, and sku's bug??

Post by compunerdy » Fri Jul 24, 2009 10:49 am


User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: kits, variants, and sku's bug??

Post by compunerdy » Mon Dec 14, 2009 3:27 pm

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 :(

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: kits, variants, and sku's bug??

Post by compunerdy » Tue Feb 16, 2010 12:29 pm

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.

bradsjm
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Wed Feb 17, 2010 7:55 pm

Re: kits, variants, and sku's bug??

Post by bradsjm » Sat Feb 20, 2010 2:47 pm

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:

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;
            }
        }
And add this one line:

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;
            }
        }

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: kits, variants, and sku's bug??

Post by compunerdy » Sun Feb 21, 2010 2:03 pm

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 :mrgreen: Thanks Katie..hopefully it will get fixed in the next release.

michaewa
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Nov 10, 2009 9:22 pm

Re: kits, variants, and sku's bug??

Post by michaewa » Thu Sep 06, 2012 12:31 pm

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.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: kits, variants, and sku's bug??

Post by Logan Rhodehamel » Tue Sep 11, 2012 5:39 pm

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
Image.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.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: kits, variants, and sku's bug??

Post by compunerdy » Tue Sep 11, 2012 6:01 pm

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..

michaewa
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Nov 10, 2009 9:22 pm

Re: kits, variants, and sku's bug??

Post by michaewa » Wed Sep 12, 2012 6:42 pm

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!

Post Reply