Commit Graph

184 Commits

Author SHA1 Message Date
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
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
Brian Henry 6cf9f45978 Always apply woocommerce_countries_allowed_countries filter
'woocommerce_countries_allowed_countries' filter previously was not applied when 'all' was the selected option.
2017-09-05 16:37:29 -07:00
Mike Jolley 5443f44fcc Improve location step 2017-08-08 17:32:21 +01:00
Mike Jolley 77c938202f Merge branch 'add/15602-store-street-level-address'
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
2017-06-30 15:00:51 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
Allen Snook 0d1a1d1dbd Update WC_Countries to include new store address helpers 2017-06-15 10:54:24 -07:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley 7901653f94 Merge pull request #15003 from woocommerce/fix/15001
Use VAT for norway
2017-05-23 15:07:39 +01:00