Closed (fixed)
Project:
SagePay Form Integration for Drupal Commerce
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Jul 2011 at 00:44 UTC
Updated:
22 Apr 2012 at 22:51 UTC
Currently there is no consistent way to pull the delivery address from the order.
Comments
Comment #1
jdelaune commentedI'm surprised there isn't a 'delivery address' customer profile which gets created by the shipping module or similar. Then we could have a setting where users get choose which customer profile the delivery address is pulled from (Billing Information by default).
I can't even see where you add new customer profiles...
Comment #2
ikos commentedWhilst it's easy to set up a new address field for the customer profile, what I am not sure about yet is the "right way" to do it.
You're right in that it could be included in the shipping module.
I'll seek some guidance from CommerceGuys on this one.
Comment #3
jdelaune commentedI think the commerce shipping module now has a standard place to find this. We should try and use this and fall back to the billing address otherwise.
Comment #4
ikos commentedI am not sure that Commerce Shipping has actually stabilised on this yet.
RIght now, I have been adding a new customer profile type as a patch to Commerce Shipping on my projects - I think it's the right way to go and it seems to work well.
I'll have a word with @googletorp to see if there's agreement.
Comment #5
jdelaune commentedThe latest dev of shipping does have a shipping address field as standard. But feel free to talk with @googletorp
Comment #6
fonant commentedAgree that delivery/shipping address, if required, should come from commerce_shipping, which now provides this. Pleased to see that this module defaults to the billing address otherwise, as my site has non-shippable items for purchase :)
Comment #7
ikos commentedNow Commerce shipping 2.0 is out and in use, we will be implementing shipping address support as discussed in this thread.
Stay tuned!
Comment #8
ikos commentedLatest Dev version will have support for shipping address when using Commerce Shipping 2.x