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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bcweaver’s picture

I have created a tarball of a vanilla commerce install which demonstrates the bug.

  • There is a database dump file in sites/default which can be loaded with drush sqlc < db_20140619_1631.sql
  • The database name/user/pass are all 'drupal'.
  • The admin account user:pass is admin:admin
  • There is a non-privileged account nobody:nobody
bcweaver’s picture

bcweaver’s picture

Issue summary: View changes
mglaman’s picture

This needs to be tested without Commerce Addressbook to see if it's not just a bug in Commerce Shipping.