Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The quantity webform component should be removed, it's already present in the Ubercart form and it doesn't make sense to have duplicate information, especially when this field is in no way authoritative - the system works off the Ubercart field, not this new one.
Comments
Comment #1
AndyF CreditAttribution: AndyF commentedHi,
I'm worried that people might need that component for their particular workflow. However as you state, the component isn't authoritative and it's trivial to 'trick' the system into having one quantity for the webform submission, and another for the UC order. Perhaps rather than removing it, we could just set it after checkout? I guess we'd also want to change the initial quantity field to be the UC field rather than the webform field to avoid having any value in the webform data until explicitly set after checkout.
Thanks
Comment #2
joshuautley CreditAttribution: joshuautley commentedI agree. The dual quantity fields is confusing to the end user.
I'll hide is with CSS for now.