View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003350 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2011-11-02 16:06 | 2012-12-10 13:23 |
Reporter | leofonic | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.4 revision 39463 | ||||
Fixed in Version | 4.6.0_beta2 | ||||
Summary | 0003350: The first state from the list is lost during checkout | ||||
Description | When in the Address area form user selects the first state from the list during checkout, the state is saved and displayed correctly in order overview. When the user returns to place another order, his address is diplayed correctly in step 2. When moving to step 3 without changing the address, the state is deleted from the user. | ||||
Steps To Reproduce | 1. Create a user and select the first state in the dropdown. 2. Log in as this user and go through order steps 1-4 without opening the "change address" form. 3. In step 4, the state is gone 4. In backend, the state also has disappeared from user address | ||||
Additional Information | This might be solved with 0002680. If so, could you please provide the solution? | ||||
Tags | Order | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Is it possible to provide a quickfix for this? |
|
Fix: File: /out/azure/src/js/widgets/oxcountrystateselect.js Replace the function "addSelectOptions" with this: addSelectOptions: function(oSelect, aValues, aLables, selectedStateId) { for(var x = 0; x < aValues.length; x++) { if (selectedStateId == aValues[x]) { oSelect. append($('<option selected="selected"></option>'). attr("value",aValues[x]). text(aLables[x])); } else { oSelect. append($("<option></option>"). attr("value",aValues[x]). text(aLables[x])); } } return oSelect; }, |