Commit Graph

254 Commits

Author SHA1 Message Date
Marco Almeida ea734d2500
Fix comment
Fix comment for PR #26107
2020-04-10 10:46:46 +01:00
Marco Almeida 80576cb149
Revert deprecation of the $type parameter on the get_european_union_countries method
See woocommerce#26105
2020-04-07 23:01:46 +01:00
Albert Juhé Lluveras 515f5604f4 Add comma before 'etc.' in address 2 placeholder 2020-03-05 10:31:19 +01:00
Peter Fabian d3a33f8d05
Merge pull request #24943 from woocommerce/refactor/eu-vat-brexit
Brexit and VAT refactor
2020-02-05 19:41:40 +01:00
Peter Fabian b385404861 Fixed deprecated since version. 2020-02-05 19:18:08 +01:00
Claudio Sanches 2dbebdfb29 Updated deprecated message 2020-02-05 11:20:23 -03:00
Claudio Sanches f5d2c98c3e Updated unit test 2020-02-05 11:16:29 -03:00
Claudio Sanches aa9082d54d Fixed variable 2020-02-05 11:11:46 -03:00
Claudio Sanches 8b2651a353 Deprecated old method 2020-02-05 11:11:24 -03:00
林博仁(Buo-ren Lin) 4887159146 Use "Country / Region" for country selection drop-down label to (try to) avoid political complaints (#24425)
Due to the One China Policy, vendors will be blamed on if a certain region is labeled as either "Country" or "Province of Country", avoid this problem in advance by generalizing the label of selecting them.

Refer-to: #24237 add Hong Kong, Taiwan as Chinese states; fix name of Macao by nobodxbodon · Pull Request #24425 · woocommerce/woocommerce <https://github.com/woocommerce/woocommerce/pull/24425>
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
2020-01-30 12:26:35 +01:00
Claudio Sanches 6aa118c8aa Added since tag 2020-01-27 13:19:16 -03:00
Claudio Sanches 2a63091829 Fixed coding standards 2020-01-27 13:17:36 -03:00
Claudio Sanches b3ea0b17b4 Merge branch 'master' into refactor/eu-vat-brexit 2020-01-27 13:15:54 -03:00
Claudio Sanches f132dbc8e1 Fixed undefined function 2020-01-27 11:49:13 -03:00
4selin 8007c7c3a3 Address in shipping calculator malformed for Canada #25094 2019-11-30 19:55:35 +03:00
Luminus Olumide Alabi 36821c88a8 Add 8 more countries to the list 2019-11-09 10:54:09 +00:00
Luminus Olumide Alabi a09efed82e Update the list of non-EU countries using VAT 2019-11-08 17:14:18 +00:00
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
Gerhard f03c82d749 Fix method call and unit test 2019-10-31 11:28:19 +02:00
Gerhard 00ade79647 Remove GB from WC_Countries::get_european_union_countries and add them to WC_Countries::get_vat_countries 2019-10-31 09:33:14 +02:00
Gerhard 34e486940d Refactor WC_Countries::get_european_union_countries method to exclude VAT handling.
Add new WC_Countries::get_vat_countries for returning countries supporting VAT.
2019-10-31 09:18:34 +02: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