Closed (outdated)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Commerce
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jun 2010 at 21:09 UTC
Updated:
22 Feb 2019 at 17:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Bojhan commentedSo suggested was in the case of shipping and payment differences to have just two lists rather than combining one. However I would suggest having a checkbox. My billing is in the same country, kind of thing?
Comment #2
rszrama commentedAhh, that would be quite helpful. : D
Comment #3
redben commentedAre the countries going to be defined in commerce module ? I think theres an function in d7 core includes that returns the list of countries ? couldn't that be used ?
Comment #4
rszrama commentedIt could be, but we'll need more information than core defines. I suppose we can use hook_countries_alter(), though, as defined by country_get_list(). The only problem is if we alter that array to include extra information, I'm not sure what else it'd break... so it might not be possible.
Comment #5
tr commented+1
Comment #6
joachim commentedAs far as helper modules go, there's http://drupal.org/project/countries for D7, and the more basic http://drupal.org/project/countries_api (still D6 only).
Comment #7
joshuabud commentedAs per this post information utilizing the Address Field settings here http://drupal.org/node/1176408 I managed to implement this as well but for some reason it doesn't work properly for the shipping address field.
On the cart page I was able to limit the drop down to 2 countries on the Billing Address section but the Shipping Address section of the same page displays all countries. Any suggestions?
Comment #8
1kenthomas commented@JoshuaBud:
I have no problem restricting both billing & shipping fields to the US (single country). FWIW.
Comment #9
quardzadmin/commerce/customer-profiles/types/shipping/fields/commerce_customer_addressadmin/commerce/customer-profiles/types/shipping/fields/commerce_customer_address
Comment #10
tim.plunkettFixing input format.
Comment #11
bojanz commented