jigoshop/jigoshop — Issue #359: 0.9.9.1-29-g94cf679 Assign multiple attributes - Disable/Enable Bug
Author: SangrelX
Created: 2011-10-29 08:30:19+00:00
State: open

I am new to github so if I post this in the wrong section I apologize....

I have found 2 bugs dealing with the same feature.

Bug 1. Assigning more then 2 attributes to a product will cause the dropdown menus to break. You can select a option from the first dropdown but the following 2 dropdowns will be disabled.

Bug 2. Assigning 2 attributes to a product will work normally however if the user chooses an item from dropdown 1. then chooses an item from dropdown 2 and for whatever reason goes back to dropdown one and sets it to "Choose an option". It disables all of them until a page reload.

I know this is a Jquery issue and I fixed it by changing the following

assets/js/script.js

Line 183: current_attr_select.find('option:gt(0)').attr('disabled', 'disabled');

Changed to
Line 183: //current_attr_select.find('option:gt(0)').attr('disabled', 'disabled');

I have found no ill effects from this change.