Commit Graph

234 Commits

Author SHA1 Message Date
Luminus Olumide Alabi f8709ab83f Account for non-EU countries that collect VAT and rename tax to VAT on the frontend for them 2019-11-07 19:48:05 +00:00
Rodrigo Primo 1457de1c14 Add filter to the method WC_Countries::get_european_union_countries()
This commit adds a filter called `woocommerce_european_union_countries`
to the method WC_Countries::get_european_union_countries(). This is to
let third party code to customize the list of countries returned by the
method.
2019-10-01 17:25:28 -03:00
Rodrigo Primo 272f99981e
Merge pull request #24158 from johncodeos/master
Hide Vietnam's state field
2019-09-24 18:07:11 -03:00
Shohei Tanaka 4312dc4834
add space
I added space
2019-08-06 21:41:16 +09:00
Shohei Tanaka 0aa2f160a9
Update address setting for Japanese
Update setting for Japanese Name and postcode and Prefecture.
2019-08-06 20:10:15 +09:00
John 052a6c6489
Hide Vietnam's state field
When you choose the country 'Vietnam' from a woocommerce website, the state field is hidden. So I added to be hidden in this class too.
2019-07-16 02:23:59 +03:00
Rodrigo Primo 9eed45af4e
Merge pull request #23740 from woocommerce/fix/23735
Rename "Postcode / ZIP" to "Postal code" when select Canada
2019-07-04 16:20:11 -03:00
Claudio Sanches c0a9b57d72 Shows city as an optional field for Singapore 2019-06-06 20:13:55 -03:00
Claudio Sanches 2fdf6de827
Merge pull request #23764 from jorgept/patch-1
Update class-wc-countries.php
2019-05-28 18:19:41 -03:00
Claudio Sanches dc35b89df7
Merge pull request #23178 from davidofug/master
Uganda Billing/Shipping address
2019-05-22 21:07:09 -03:00
jorgept e214a85a8c
Update class-wc-countries.php
Add MZ array
postcode => false, 
hidden => true
2019-05-19 22:23:36 +01:00
Claudio Sanches 144f011065 Rename "Postcode / ZIP" to "Postal code" when select Canada 2019-05-16 18:27:08 -03:00
Gerhard Potgieter df7d82f744
Merge pull request #23429 from dimadin/rs/address-format
Add address format for Serbia
2019-05-10 10:23:06 +02:00
Milan Dinić 9c8327bdaa Do not use state for Serbia. 2019-04-21 22:43:47 +02:00
Milan Dinić 67cf3062c0 Add address format for Serbia. 2019-04-21 20:28:58 +02:00
Mike Jolley b1ece1452c
Merge pull request #23365 from woocommerce/make-greece-state-optional
Make state/county optional for Greece
2019-04-18 12:17:44 +01:00
thomas shellberg 6f4217e429 make state/county option for Greece 2019-04-18 12:21:06 +02:00
Ralf 66540f1b5d Moved accessibility labels for checkout after woocommerce_checkout_fields filter 2019-04-15 12:09:33 +02:00
David Wampamba 1e09a7cfb6 Errors fixed 2019-04-10 13:03:30 +03:00
David Wampamba bc6cbfcadc Spaces fixed 2019-04-09 13:59:49 +03:00
David Wampamba 5de3d4d18b
Merge branch 'master' into master 2019-04-02 13:40:27 +03:00
David Wampamba 96c53643bb
Update class-wc-countries.php
Uganda locale
2019-03-30 16:49:44 +03:00
David Wampamba 6588a67fa4
Update class-wc-countries.php
Line 422: Uganda(UG) address format
2019-03-30 16:45:54 +03: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