diff --git a/modules/cart/commerce_cart.module b/modules/cart/commerce_cart.module index 47b43a3b..0f88763a 100644 --- a/modules/cart/commerce_cart.module +++ b/modules/cart/commerce_cart.module @@ -1875,6 +1875,9 @@ function commerce_cart_add_to_cart_form($form, &$form_state, $line_item, $show_q // from causing the AJAX refresh not to work. $form['#attributes']['class'][] = drupal_html_class(commerce_cart_add_to_cart_form_id($product_ids)); + // Disable autocomplete on Add to Cart form elements. + $form['#attributes']['autocomplete'] = 'off'; + // Store the customer uid in the form so other modules can override with a // selection widget if necessary. $form['uid'] = array(