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.
Currently, quoteCallback() uses the following selector:
input[name*=uid]
I recently experienced an issue on a site where because a View had an exposed username filter and broke the shipping quotes since the selector will take the value from the first form field with "uid" anywhere in its name. It would help to make the selector a bit more specific:
input[name*=uid][type=hidden]
Comment | File | Size | Author |
---|---|---|---|
#1 | ubercart-uc_quote_uid_selector-1511892-1.patch | 601 bytes | stewart.adam |
Comments
Comment #1
stewart.adam CreditAttribution: stewart.adam commentedPatch attached.
Comment #2
longwaveCommitted with the simpler selector of
input:hidden[name*=uid]