product attributes reset

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 年 前
I have several product attributes on a single product

1 - combobox with 3 options
2 - required textbox

I select option 2 in the combobox, leave the textbox empty and 'Add to cart'
The message 'textbox is required' appears
The screen is rebuild, and the combobox is reset to the 1 (default) option.

Of course you could argue it is not a bug, the user can reselect the other option again.
But if for example the options are 2,3,4 . The user selected 3 as option but after
the required message it is reset to 2 and that may easily be missed by the user.
So he fills out the required textbox and buys his item. The result may well be that he ordered something very wrong (like the size).

And a software problem that causes wrong orders I consider a bug.

But if someone can point me in the direction of how to get the filled out values when the cshtml is reparsed I would be more than happy to fix it myself. In ASP.NET it's in the viewstate but I don't (yet) know how this works in MVC

Tnx
12 年 前
This is a known bug. It'll be fixed in the next release
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.