System crash if linked accessory item disabled
-
- Commander (CMDR)
- Posts: 121
- Joined: Sat Sep 23, 2006 1:00 pm
System crash if linked accessory item disabled
If an item with an accessary item(s) linked, if the accessary item being disabled and the item being added to the cart, it will throw out an application error. I found this problem since versin 7.0 be still not being fixed yet.
Re: System crash if linked accessory item disabled
If this bug was reported in 7.0 then I am sure it must have been fixed. I think what you are seeing is probably different. If you can the post the error details it will be more helpful.
-
- Commander (CMDR)
- Posts: 121
- Joined: Sat Sep 23, 2006 1:00 pm
Re: System crash if linked accessory item disabled
I didn't report it to the Abls about the issue when I found it on v7.0. Now the version of mine is v7.06 and I still see that problem exist so I decided to post it here as I think it's a very damaging problem. Once an item being checked out with a disabled accessory item linked, it crashed. See picture belwo:




Re: System crash if linked accessory item disabled
Here is quick fix for you. Edit ConLIb/ProductAccessoriesGrid.ascx.cs file and locate following code line
then update it like
Hopefully that will do the trick. Thanks for reporting the issue. I am going to log this.
Code: Select all
addToCartLink.Visible = false;
Code: Select all
if(addToCartLink != null)
addToCartLink.Visible = false;
-
- Commander (CMDR)
- Posts: 121
- Joined: Sat Sep 23, 2006 1:00 pm
Re: System crash if linked accessory item disabled
Yes, it fix the problem. Won't throw out the application no more