Hi,

When I have more than one checkout pane the select list "Saved Addresses" appears in all panes with the same customer profile type. What this means is that, for example, saved addresses in the default customer profile (Billing information) end up appearing in new profile type.

For example, what I needed was distinct addresses for shipping and billing, so I used the default billing profile and created a new profile for shipping using the Commerce Shipping module. What happened was that saved addresses in the default billing profile showed up in the new shipping profile.

This patch corrects this problem, separates different customer profile types and only shows the select list when there is a saved customer profile.

Note: In this patch, to simplify things, the JS no longer loads the first saved address when the page is loaded.

CommentFileSizeAuthor
commerce_addressbook.patch8.2 KBfall_0ut
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

svendecabooter’s picture

Status: Active » Needs review
svendecabooter’s picture

Some big changes have been made in the 7.x-1.x branch of this module. The custom javascript file has been removed in favor of a Drupal #ajax callback.
The current code should make it possible to work with multiple checkout panes and customer profile entity types.
However it still needs some serious testing & cleanup.

svendecabooter’s picture

Assigned: fall_0ut » Unassigned
Status: Needs review » Fixed

Based on the latest code in the 7.x branch, this should no longer be a problem.
Let me know if you still encounter problems in this regard...

Automatically closed -- issue fixed for 2 weeks with no activity.