sort order of options oddity
Hi all,
I am trying to figure out an odd problem regarding the order of advanced options for a store item on one of the backend admin screens.
The Advanced Option is labeled "Steps", and the value items were entered in the following order as "3 Step", "4 Step", "5 Step", "6 Step", and "7 Step", with "3 Step" being the default value.
In the "Manage Advanced Options" screen, the values display in the correct order. In the store front-end the values display in the correct order in the select list.
In the "Enter Information For Your Product" screen, the select list labeled "Choose the variation of this product to edit..." DOES NOT have them in the correct order. On this screen, the selection list is ordered as "3 Step", "4 Step", "7 Step", "6 Step", and then "5 Step".
????
This is creating a lot of confusion and incorrect information entry by both myself, my staff, and my client. What do I need to do -- short of deleting the product and starting a new product -- to remedy this?
I checked the product ID that is exposed in the URL in the backend, and even allowing for the "default" value to be forced first, it still does not correspond to the strange presentation order that I am seeing.
The problem seems to be limited to the SELECT element on the "Choose the variation of this product to edit..." and does not appear to be the underlying data in the database. Here is the code of that SELECT element:
<select name="ProductOptions[2]" id="ProductOptions_2" onChange="document.getElementById('WADAUpdateForm').submit()">
<option value="6" >3 Step</option>
<option value="7" >4 Step</option>
<option value="10" >7 Step</option>
<option value="9" >6 Step</option>
<option value="8" selected>5 Step</option>
</select>
I am happy to dig under the hood and modifying the coding that populates that selection list, but definitely need some direction as to what file amongst the myriad files contain the code that builds and populates that SELECT element.
Thanks,
Rob