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
Mike Jolley
588be3a780
merge master
2018-06-11 13:46:04 +01:00
Mike Jolley
6d0c1b2bac
Remove luxemberg state field
...
Closes #20378
2018-06-05 11:09:08 +01:00
Gerhard Potgieter
f324113b6d
Make Bahrain state not required ( #20363 )
...
* If coupon contains discount as well as free shipping add free shipping in brackets behind value
* Revert "If coupon contains discount as well as free shipping add free shipping in brackets behind value"
This reverts commit dce5bc2f0b
.
* Make Buhrein state not required, it has not states
2018-06-04 10:47:41 +01:00
Mike Jolley
243c33d9ca
Show country by default and improve separator
2018-06-01 21:29:07 +01:00
Gerhard Potgieter
c61e0688c6
Merge pull request #20123 from woocommerce/fix/20110
...
Prevent autofocus on checkout
2018-05-18 14:32:30 +01:00
Mike Jolley
20c184274b
Prevent autofocus on checkout
2018-05-18 10:39:51 +01:00
Mohammed Saimon
0b4847d75d
fix(missing-country-code): add bahrain country code in the load_country_states method
2018-05-14 13:26:25 +06:00
Mike Jolley
d73d15a73d
Phone was required in 3.3 - set default
2018-04-26 11:52:36 +01:00
Mike Jolley
4e9984718d
Simplify required field option
2018-04-11 13:40:42 +01:00
Mike Jolley
46815d1d01
Add controls to control if address 2, company, and phone fields are optional, required, or hidden.
2018-04-05 17:51:43 +01:00
Claudio Sanches
0b5aef0fd3
Fixed includes/class-wc-countries.php PHPCS violations
2018-03-19 19:42:55 -03:00
Mike Jolley
da32586251
Remove isle of man state
...
Fixes #18932
2018-02-12 10:34:40 +00:00
Claudiu Lodromanean
373ff64ff8
Merge pull request #18315 from alexminza/master
...
Fixed Moldova states, added Moldova information for the installer
2018-01-02 14:31:30 -08:00
Mike Jolley
3defa83a81
Missing spaces between city and state.
...
Closes #18305
2018-01-02 11:45:56 +00:00
Alexander Minza
2307febfa1
Fixed Moldova states
2017-12-30 14:34:12 +02:00
Claudio Sanches
d69f67bfd5
Auto fixed minor coding standards with PHPCBF
2017-12-21 18:18:04 -02:00
Claudio Sanches
514087e4aa
Fixed coding standards
2017-12-21 18:10:55 -02:00
Claudio Sanches
2198eb136c
Remove Postcode from Suriname
2017-12-21 17:49:56 -02:00
Alexander Minza
fca5ef8dd8
Added Moldova states
2017-12-19 23:44:25 +02:00
Mike Jolley
f90c7bfc26
Form row wide for email
...
Remove arbitrary widths. Closes #17288
2017-10-20 16:15:48 -07:00
Mike Jolley
e0a01d7018
syntax error
2017-09-06 10:40:40 +01:00