I love the functionality this module offers and am grateful for all the hard work you put into it!

A nice feature would be to support the Email Registration module (used by 22.500+ sites). According to it's project page this module:

Allows users to register and login using only an email address. Users can then log-in using their email address and password for authentication.

When using this module, Commerce Checkout Redirect's setting "Use username as order email" seems redundant. I wrote a patch that makes the two modules work together. If the Email Registration module is enabled:

  1. The "Use username as order email" setting will be disabled, accompanied by an explanation why this is so.
  2. The username field's title will not be changed, since this has already been done by the Email Registration module.

Extra's:

  1. Previously Commerce Checkout Redirect only altered the username's field value to "Email", but it's description remained untouched. This has been added.
  2. If a user leaves the checkout process and enters it again, the username's field had no value, though the previously entered e-mail address has had been stored as the order's mail property. This is also solved by this patch.

The patch depends on the following earlier submitted patches:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lmeurs’s picture

Status: Active » Needs review
FileSize
4.14 KB

Patch attached.

lmeurs’s picture

Status: Needs review » Needs work