I am still trying to wrap my head around the use of customer profiles in commerce. It appears that they can be created in one of three areas, admin, checkout and order. However, if a user wants to update their own contact info, there is no way of doing so on their /user page (similar to how http://drupal.org/project/uc_addresses did it for ubercart). Thoughts on if this is necessary and can be addressed by this module?

Comments

j0rd’s picture

I know of this problem and proposed a solution here: http://drupal.org/node/1196304

vasike’s picture

Version: » 7.x-1.x-dev

Subscribe. An Address Book definitely should have this, in this case to add/edit profiles/addresses.
And this is something different than the widget solution #1196304: Change commerce_addressbook in to a field widget..

I thing about something like an user tabs:
- Billing addresses (for billing profile type)
- Shipping addresses (shipping profile type)
- Custom addresses (other custom profile type).

The administer pages could be built, ofcourse with Views as Drupal commerce does.

jsacksick’s picture

This has been done in this project (http://drupal.org/sandbox/jsacksick/1247482), I think the two modules are going to "merge".

vasike’s picture

i agree. i also noticed that use identical name "commerce_addressbook" so it's pretty difficult to try and ofcourse to help both modules.

svendecabooter’s picture

My plan is to integrate jsacksick's work on the management of addresses as much as possible in the near future.

svendecabooter’s picture

Assigned: Unassigned » svendecabooter
BassistJimmyJam’s picture

Has there been any progress made on this? We have a view we created to allow end users to edit/delete their address book entries but usability is poor. The primary issue we're facing is that an address can't be deleted or modified if it is referenced by an order. Modifying a customer profile that has been used creates a new customer profile and the old one remains. I understand why it functions in this way, but I can't expect end users to.

Some thoughts I have on the subject:

  1. Editing a customer profile that has not been referenced should edit the existing profile in place, as it currently does.
  2. Editing a customer profile that has been referenced should create a new profile and disable the old one so that it no longer appears for the user.
  3. Deleting a customer profile that has not been referenced should delete the profile, as it currently does.
  4. If a customer profile has been referenced there should be a "Disable" button in place of the "Delete", either in the view or on the confirmation page.

I think this would improve usability from an end users perspective as it would behave like other e-commerce sites (Amazon.com comes to mind), even if there is more to it going on behind the scenes.

ibuildit’s picture

pretty please with sugar on top? :* :)

svendecabooter’s picture

This will be fixed in the 7.x-2.x branch.
See http://drupal.org/sandbox/eclipsegc/1409158 for the work being done there

bojanz’s picture

Status: Active » Fixed

Implemented in the 7.x-2.x branch I just published.
Feel free to download the -dev release and test.

Status: Fixed » Closed (fixed)

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