Commit Graph

170 Commits

Author SHA1 Message Date
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
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Mike Jolley 55497b8671 Use VAT for norway 2017-05-10 17:48:03 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
hussong 3ca4c733c7 Change field label and placeholder to minimize user error, add translators notice
Status Quo:
Working with several high-volume WooCommerce shops (in the range of several thousand orders per day combined), we've seen that the current placeholder text (and its translations in particular) lead to quite a few users filling in their address data incorrectly. You'd be surprised by the number of people who fail to properly write down their own address (house number missing, house number in wrong place).

Problem:
This leads to incomplete shipping labels, unsuccessful deliveries, and costly returns (especially for international shipping: 10-40 Euros lost per parcel).

Solution:
While some of these may stem from misdirected or incomplete browser auto-fills, we've seen (by customizing the language files for German, French, Spanish and Italian) that a more descriptive placeholder text helps reduce user errors on address entry. The goal is basically to make this as fool-proof as possible.

Why this matters: 
At 1000 orders shipped per day, getting the error rate from 5% down to 4% means 10 less parcels coming back every day, which can save hundreds of Euros per day.

Choice of wording:
- "Address" is not just one field, but rather the sum of all address fields that will end up on a shipping label.
- "Street Address" is what the user needs to input here, hence the new label for the two address fields
- "House number and street name" is the most descriptive placeholder text I can come up with for this field (assuming the U.S. as default), hence the new placeholder text. 
- Translator notice added since many countries will have the house number after the street name.

References:
- https://en.wikipedia.org/wiki/Address_(geography)
2017-04-20 11:46:14 +10:00
rafsuntaskin 6334e95576 UAE state field set to not required, resolves #14409 2017-04-16 14:55:13 +06:00
Mike Jolley f5fdd59209 More states
Fixes #14270
2017-04-11 19:10:01 +01:00
Mike Jolley 6ad0f1755d KW does not have states
Fixes #14266
2017-04-11 19:02:23 +01:00
Claudio Sanches 5a7af35d46 Removed extra clear parameter from addresses 2017-04-05 11:57:39 -03:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Mike Jolley 3f7c1c7087 Fix email address field
Fixes #12642
2016-12-19 12:19:44 +00:00
pmaiorana 822c1353af Removes the State/Province field for Kuwait and Lebanon
As noted in support ticket #507320 (and verified) neither Kuwait nor Lebanon have States/Provinces.
2016-12-15 16:34:43 -05:00
Claudio Sanches 0da2f70e13 Fixed coding standards 2016-12-15 15:11:08 -02:00
Mike Jolley d32797b733 Handle BW compat priority. 2016-12-13 18:48:39 +00:00