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.
When finalising the order, the Billing address gets consequently duplicated without any change in the address or custom field data. I have one custom field for the Tax registration number.
Comments
Comment #1
svendecabooterIndeed there is a problem when the entity has custom fields attached to it.
This is caused by the Drupal Commerce code itself, and an issue has been reported for it: #1308754: The customer profile duplication code has numerous edge cases that cause profiles to be needlessly duplicated.
I will have to investigate further how we could solve this issue...
Comment #2
svendecabooterComment #3
itamair CreditAttribution: itamair commentedsubscribe.
Same problem for me ... I have 2 more custom fields (Vat number & fiscal code) in the customer (billing) profile
Comment #4
itamair CreditAttribution: itamair commentedsome improvements on this side in this sandbox, too?? http://drupal.org/node/1361330#comment-5569258
Comment #5
itamair CreditAttribution: itamair commentedmmmhhh ... I checked the 7.x-2.x branch for Commerce Adressbook in that sandbox (http://drupal.org/sandbox/eclipsegc/1409158).,
updating from this module, but still same addresses (with custom billing profile fields) get duplicated every time, though exactly identical ....
Comment #6
bojanz CreditAttribution: bojanz commentedThat's a Commerce bug, as noted in #1. No addressbook branch can solve it. Planning to jump into that soon.
Comment #7
bojanz CreditAttribution: bojanz commentedI've posted a Commerce patch in #1308754: The customer profile duplication code has numerous edge cases that cause profiles to be needlessly duplicated. Nothing else to do here.