I am using Drupal 7 with Drupal Commerce (not kickstart). My products are boxes setup in Series varying by height.
Examples: Series 500 has 3 boxes box 1 has dimensions of 120x20x10 box 2 has 120x20x20 box 3 has 120x20x30
Everything else about the boxes are the same, so "height" is my product attribute. Drupal Commerce attributes by default need to be an options_select field, but I have over 1000 products of varying heights and I really didn't want to have to build and maintain a gigantic array of heights down to a thousandth of a inch (whether in the gui or in code).
My original thoughts were to build a module that has a sql table to store product heights. Then add two fields to the product, a decimal and an options field and hide the options field. When the user enters a decimal in the height field on the product page, on save the module will check to see if the value exists and if not insert the value into the sql table. The options field will be setup to use an allowed values function to query the sql table to build the "heights" array so again on save after the module stores the decimal in the sql table, it will then set the value in the options field keeping the two in sync.
This would allow me to have an options field I don't have to maintain, but seemed a little hacky so wondered if there was anyone else out there that found better way (as I have googled and had no luck).