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.
Under a very specific set of conditions, during checkout, if the customer checks and then unchecks the "my shipping information is the same as my billing information" checkbox, a second shipping service form appears instead of the shipping information form.
Steps to reproduce
- Basic commerce install with the necessary modules and their dependencies:
- commerce_cart
- commerce_checkout
- commerce_order
- commerce_product
- commerce_product_ui
- commerce_addressbook
- commerce_flat_rate
- Set up two or more flat rate shipping services
- Create a simple product on a simple product page
- Shipping information and shipping service checkout panes are on the same checkout page.
- The "shipping information" pane is configured to optionally copy from the billing information pane, but not by default
- Address book is enabled for the shipping information pane.
- As a logged-in user (not anonymous), add the product to your cart, proceed to checkout, and then check and uncheck the "my shipping information is the same as my billing information" checkbox.
Instead of the shipping information form reappearing, a duplicate of the shipping service form appears.
Comment | File | Size | Author |
---|---|---|---|
#2 | local.drupal.com-addressbook-error.tar_.gz | 6.02 MB | bcweaver |
commerce_addressbook_shipping_error.png | 47.37 KB | bcweaver |
Comments
Comment #1
bcweaver CreditAttribution: bcweaver commentedI have created a tarball of a vanilla commerce install which demonstrates the bug.
drush sqlc < db_20140619_1631.sql
Comment #2
bcweaver CreditAttribution: bcweaver commentedComment #3
bcweaver CreditAttribution: bcweaver commentedComment #4
mglamanThis needs to be tested without Commerce Addressbook to see if it's not just a bug in Commerce Shipping.