I have a question about the Improve Product Attributes/Item Editor contribution.
After installing this contribution, I noticed the boxes with the selectable attributes is 5 lines long and hard-coded into the contribution. For some attributes, I have 3 options, for others I have 10 or more. The boxes remain at 5 lines and I either have 2 lines of blank white space or have to scroll down through the box to find options.
Is there a way to have this contribution "read" the amount of attribute options for each attribute and automatically make that given box however long or short it needs to be?
For example, if an attribute has 2 options, the box is 2 lines long holding both options. If there are 10 options, the box will be 10 lines long.
The appropriate line in the contribution that sets the boxes to 5 lines is here:
echo '<select multiple name="attributes" size=5 style="width: 136;">';
The contribution is here:
Note: This contribution was originally by Andrew Backway, This contrubution is NOT the same as "Product Attributes/Item Editor/Price v. 1" by Arnold Gamboa.