Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Many of the products have 3, 4 or even 5 option dropdowns for all of the variant choices.
We're seeing noticeable lag in the postback after a dropdown selection is made. So much so that the shopper can actually be in the middle of choosing the next dropdown choice when the control unexpectedly refreshes. This disrupts the selection process on that control. Since it happens on every dropdown, the issue quickly frustrates the shopper.
Is there a possible workaround?
We're fine with the shopper being forced to make linear dropdown choices. We just don't know how to identify the dropdown controls in play and where in the sequence of dropdowns the shopper currently is.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Thank you for the example link. That was my thought as well but I couldn't think of a way to easily do it.
So basically wrap all the option dropdowns being rendered in one fieldset, then modify the onchange() in app.js to disable the whole fieldset after a selection is made. The postback fires, the AJAX refreshes the controls and now the dropdowns are unlocked again. Am I on the right track?
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Unfortunately this does not work. A disabled form control will not pass it's value to the controller in the postback.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Try disabling the form feild after submit is called. You will have to define ajax onBegin function where you will disable the fields and in onSuccess you will enable the fields.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close