Ralf
66540f1b5d
Moved accessibility labels for checkout after woocommerce_checkout_fields filter
2019-04-15 12:09:33 +02:00
Mike Jolley
55b27a2afc
Adjust calling code prefix logic in paypal
2019-03-06 12:33:46 +00:00
Mike Jolley
65c0169726
Merge branch 'master' into fix/21110
2019-03-06 12:25:12 +00:00
Mike Jolley
4330b2eb38
Update calling code handling
2019-03-06 12:25:06 +00:00
SASAGAWA, Kiyoshi
3b6bbd2f3d
Fixing order of JP address.
...
JP address must be ordered as 'Postal Code' -> 'State (Prefecture)' -> 'City' -> 'address'.
Changing the priority.
2019-02-20 01:20:02 +09:00
Mike Jolley
1e74b2567f
Merge pull request #22357 from woocommerce/pr/22125
...
State and country field handling improvements
2019-02-19 09:52:34 +00:00
Mike Jolley
4672a47d67
Update from master
2019-02-18 11:41:05 +00:00
Mike Jolley
8a1a1d3e73
get_calling_code_for_country
2019-02-08 11:09:42 +00:00
Mike Jolley
73f283bf4a
Update CA address format
2019-02-08 10:35:01 +00:00
Mike Jolley
1dea9d6f48
Merge branch 'enhancement/21758'
2019-01-31 13:44:35 +00:00
Mike Jolley
99f663ad5c
Merge pull request #22131 from willgorham/improve-shipping-zone-continents
...
Improve shipping zone continents [Fixes #22130 ]
2019-01-23 13:27:16 +00:00
Mike Jolley
380201be33
Merge pull request #22417 from woocommerce/fix/21175
...
Sort countries using new ascii comparison function
2019-01-22 14:47:41 +00:00
Peter Fabian
ede86d8307
Made municipality address field optional for Latvia.
2019-01-17 13:18:31 +01:00
Gerhard
0a5d3b1675
Sort countries based on wc_ascii_uasort_comparison
2019-01-11 13:40:38 +02:00
Will Gorham
56fa520b8e
Tests for get_shipping_continents()
2019-01-09 13:31:30 -05:00
Will Gorham
1fc4ef6c59
Clean up docblocks and unused vars
2019-01-09 12:54:37 -05:00
Will Gorham
8051a0b0fc
Only show available shipping continents in zone regions
2019-01-09 12:48:18 -05:00
Mike Jolley
04d7e54d42
Set country value when loading fields rather than in template files
2019-01-07 16:04:01 +00:00
Mike Jolley
f1afbcf03a
Single state file to avoid loops and reading multiple files on page load.
2019-01-04 12:04:47 +00:00
Mike Jolley
64aafeca27
phpcs alignment
2019-01-04 11:08:01 +00:00
Mike Jolley
0e43ad40f3
Load all states rather than just from allowed countries
...
Doesn't appear to cause much of a perf issue and doesn't appear to break the UI in any way. If anything, may expose states where not previously seen in some cases but since you can search this shouldn't be problematic.
2019-01-04 11:07:23 +00:00
Claudio Sanches
a0e77eb40c
Use wc_strtoupper on formatted address
2018-11-30 15:59:28 -02:00
Claudiu Lodromanean
d8119dd1e9
Merge pull request #21865 from Prospress/fix/21857
...
consistent logic on `woocommerce_formatted_address_force_country_display` filter name
2018-11-27 09:12:04 -08:00
Rodrigo Primo
242641e931
Merge pull request #21987 from webdados/patch-2
...
Fix Angolan "State" label to "Province"
2018-11-23 11:21:08 -02:00
Rodrigo Primo
05bae41b24
Fix phpcs violations automatically using phpcbf
2018-11-23 11:17:43 -02:00
Marco Almeida
276d6f3526
Fix Angolan "State" label to "Province"
...
In Angola "states" are called "Províncias" (or "Provinces" in English)
2018-11-20 14:17:11 +00:00
Marco Almeida
b19941dae4
Fix locale for São Tomé and Príncipe
...
Remove Postal Code for São Tomé and Príncipe, because they still don't have it in place. Also the stat field should have "District" as label.
2018-11-20 13:29:45 +00:00
Marco Almeida
9282c1a619
Remove postal code for Angola
...
Angola still doesn't have a postcode system in place.
References:
https://pt.wikipedia.org/wiki/C%C3%B3digo_postal#_Angola
https://en.wikipedia.org/wiki/List_of_postal_codes
2018-11-20 12:36:45 +00:00
Ron Rennick
91ddf1f7c1
make logic consistent with `woocommerce_formatted_address_force_country_display` filter name
2018-11-08 16:35:57 -04:00
Gerhard
879139d81e
Apply priority filtering on additional filters to accomodate pages like my account edit address.
2018-11-07 14:16:05 -05:00
Rodrigo Primo
bdb8f26d44
Use array instead of string to define class for address line 2 input on checkout
...
Doing this to be consistent with the other instances where a class is added to one of the checkout fields and thus make it easier for third-parties to add classes to checkout fields.
2018-10-30 14:59:08 -03:00
Claudio Sanches
3aa9b60b61
Merged similar strings to reduce number of translateable strings
2018-10-26 18:16:14 -03:00
amit.chauhan
8ea696f57a
Fixed woocommerce_localisation_address_formats for country code IN file class-wc-countries.php and removed comment
2018-10-24 19:19:16 +05:30
amit.chauhan
b753548df3
Fixed woocommerce_localisation_address_formats for country code IN file class-wc-countries.php
2018-10-24 18:32:59 +05:30
claudiulodro
87054ece9a
Add hidden label on address line 2 input on checkout
2018-08-24 11:57:30 -07:00
Claudiu Lodromanean
66c7c244ca
Merge pull request #21186 from woocommerce/fix/string-i18n
...
Use entire sentence for checkout address_2 placeholder string
2018-08-24 10:04:54 -07:00
Rodrigo Primo
e1aa7bba4d
Use entire sentence for checkout address_2 placeholder string
...
The placeholder string that is displayed in the address_2 field in the checkout was changed in #20639 to hide the "(optional)" part when the field is mandatory. The problem is that this was done splitting the sentence in two parts which goes against i18n best practices (https://developer.wordpress.org/themes/functionality/internationalization/#best-practices-for-writing-strings ) as the order of the words can be different depending on the language. This commit creates two full sentences one with the "(optional)" part and another one without it to better support the translation of both strings.
2018-08-24 09:45:16 -03:00
Gerhard Potgieter
bea8151533
Make RO state required.
2018-08-24 09:16:07 +02:00
Peter Fabian
9319b3c262
Bahrain postcode visible, but not required.
2018-08-21 11:15:09 +02:00
Peter Fabian
a777f9b548
Disable postcode requirement for Bahrain.
2018-08-20 12:40:53 +02:00
Luminus Olumide Alabi
798cd36f04
Make postcode field optional and hidden for Nigeria and label State correctly
2018-08-15 10:36:20 +01:00
Luminus Olumide Alabi
a3d8c6d599
Make city field optional and hidden for Singapore addresses
2018-08-09 10:02:09 +01:00
Mike Jolley
1186a62d04
Merge pull request #20639 from woocommerce/pr/20622
...
Update Pr/20622 - conditionally add optional text to address 2 field
2018-06-27 10:33:06 +01:00
Mike Jolley
0e589f641e
Allow string reuse by moving brackets outside of string.
2018-06-27 10:31:41 +01:00
vishalkakadiya
d765ca9ec4
ISSUE-20621 Move space outside of the localised string
2018-06-26 20:30:29 +05:30
vishalkakadiya
95d7dc0933
ISSUE-20621 Address feedbacks
2018-06-26 19:18:29 +05:30
vishalkakadiya
dd14157682
ISSUE-20621 Add (optional) text on condition bases
2018-06-26 18:43:53 +05:30
vishalkakadiya
c6fa14fe53
Remove unwanted(double) condition for address line 2
2018-06-26 18:21:29 +05:30
vishalkakadiya
f282b4f126
ISSUE-20621 Remove (optional) text from Address line 2 field's placeholder
2018-06-26 00:10:47 +05:30
Will Gorham
1d4f76490e
Remove malta state field
2018-06-11 11:23:27 -04:00