Commit Graph

754 Commits

Author SHA1 Message Date
Claudio Sanches 464992a232 Fixed file version 2019-05-22 21:07:46 -03:00
Claudio Sanches dc35b89df7
Merge pull request #23178 from davidofug/master
Uganda Billing/Shipping address
2019-05-22 21:07:09 -03:00
Claudio Sanches c92968582c
Merge pull request #23431 from dimadin/fix/remove-tax-rates-from-locale-info
Remove tax rates from locales information
2019-05-22 20:13:31 -03:00
Gerhard Potgieter 5c46e0aaa1
Merge pull request #23428 from dimadin/rs/locale-info
Add locale info for Serbia
2019-05-10 10:21:38 +02:00
Milan Dinić 8c6d3c614a Remove tax rates from locales information. 2019-04-21 22:52:57 +02:00
Milan Dinić 9c8327bdaa Do not use state for Serbia. 2019-04-21 22:43:47 +02:00
Milan Dinić c9cf2c7d3f Add locale info for Serbia. 2019-04-21 20:13:48 +02:00
Mike Jolley fa83a90c53 pot 2019-04-16 14:36:43 +01: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 b60f587b68
Update UG.php 2019-03-30 16:40:13 +03:00
David Wampamba 5802220d69
Create UG.php
Add Districts of Uganda.
2019-03-30 16:38:53 +03:00
Mike Jolley 308d08f97e Run grunt tasks
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley f90f0203b5 Grunt dev 2019-03-15 12:21:51 +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
Mike Jolley fa2515b219 Update codes to php array 2019-03-06 12:20:20 +00:00
Luminus Olumide Alabi f4524fadd2 Rename Macedonia to North Macedonia 2019-02-19 10:54:59 +00:00
Mike Jolley b46a9e5941 Calling codes 2019-02-08 11:09:35 +00:00
Mike Jolley 1dea9d6f48 Merge branch 'enhancement/21758' 2019-01-31 13:44:35 +00:00
Mike Jolley 4d4d34a2d1
Merge pull request #22514 from woocommerce/update/mailchimp-branding-setup-wizard
Updates Mailchimp branding in setup wizard
2019-01-22 12:39:24 +00:00
Gareth Allison 2dcc823e46 Updates mentions of "MailChimp"
Updates mentions of "MailChimp" to "Mailchimp" as per their branding guidelines: https://mailchimp.com/about/brand-assets/
2019-01-21 16:34:31 +02:00
Jesper V Nielsen 1430dcb11d
Added DK (Danish ) To locale-info
Added danish locale-info settings.
example: DKK 12.345,67
The tax rate is called "Moms"

Som will argue, that the currency code could be "kr", but thats not default in WooCommerce, and the organizations who has to accept cart payment on the shops, states that if a danish shop, sells to foregin countries, the currency must be DKK
2019-01-18 11:22:07 +01:00
Mike Jolley 976f79c683 Add UM islands as states. 2019-01-15 17:48:32 +00:00
Mike Jolley f0412008d3 Rename virgin islands to prevent accidental selection vs US 2019-01-15 17:48:17 +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
Manos Psychogyiopoulos 8de917937c Add last array element comma back (coding stds) 2018-11-19 11:01:49 +02:00
Manos Psychogyiopoulos 58ddc92339 Remove comma from last element in array 2018-11-16 14:07:48 +02:00
Manos Psychogyiopoulos f618219a4d Modify greek admin regions to default to English version based on ISO 3166-2 translation 2018-11-16 13:50:48 +02:00
dixitadusara 2613770f09 remove Over to you text from admin order confirmation email 2018-10-27 13:02:05 +05:30
nishitlangaliya cbcd647a34 Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD
# Conflicts:
#	.github/CONTRIBUTING.md
#	includes/gateways/cod/class-wc-gateway-cod.php
#	includes/wc-formatting-functions.php
#	templates/single-product/product-image.php
2018-10-27 12:14:09 -08:00
Mike Jolley 988b25b7ef angola states (#16092)
* Added cantons of Angola

* fix cantons of Angola

fix cantons of Angola. Angola (ISO Country code)

Subdivision names are listed as in the ISO 3166-2 standard published by
the ISO 3166 Maintenance Agency (ISO 3166/MA).

source: https://en.wikipedia.org/wiki/ISO_3166-2:AO

* fix indentation

* fix indentation

* fix indentation update

* fix indenting again
2017-07-12 15:22:48 +01:00
Marco Zink dce55fcc86 Update MX.php
Fix extra space
2017-07-10 17:41:06 -05:00
Marco Zink d066a05410 Update MX.php
Accented characters are now using the correct HTML code `acute`, users were experiencing problems in order acceptance when using a state with a special character.
2017-07-10 15:45:17 -05:00
Claudio Sanches 87de43b00f Added cantons of Switzerland 2017-07-05 19:41:56 -03:00
Claudio Sanches cca7bd7c60 Merge pull request #15852 from dabodude/patch-2
Update MX.php Changing to 2 Letter Code
2017-07-04 14:15:07 -03: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
dabodude 32b78a3c62 Update MX.php Changing to 2 Letter Code
Sorry, it seems the 3 letter code causes conflicts with some shipping services such as Fedex. Moving to 2 letter code.
2017-06-28 12:20:08 -05:00
dabodude 00fba29c6e Update MX.PHP
Renamed Distrito Federal to Ciudad de Mexico which is the new official name of the "Capital State"
Changed States to a 3 letter ISO 3166:2 Code https://es.wikipedia.org/wiki/ISO_3166-2:MX
2017-06-28 01:04:34 -05:00
claudiulodro 506c01f56a Fix codesniffer violations 2017-06-27 14:19:59 -07:00
Claudio Sanches 594aa66f4e 3.1.0-rc.1 2017-06-14 16:07:22 -03:00
Claudio Sanches cb4ea0c356 3.1.0-beta.2 2017-06-07 18:13:20 -03:00
claudiulodro e9e8c3c011 formatting 2017-06-01 09:05:17 -07:00
claudiulodro 677802db71 formatting 2017-06-01 09:04:23 -07:00
claudiulodro 981fb2ce87 Add Romanian states 2017-06-01 09:03:23 -07:00
Claudio Sanches 01d3f780eb POT 2017-05-31 16:11:41 -03:00
Mike Jolley 532ddfa6b0 Merge conflicts 2017-05-31 12:23:52 +01:00
Mike Jolley a3f35d6e96 Checkout fallback regex tweaks (#15210)
* *Improve JSON regex #15159

* Run parse on invalid JSON to ensure validity and make regex more greedy.

Closes #15161

* Add is_valid_json helper

* Improve return
2017-05-25 11:20:05 +01:00
Mike Jolley 15f47e00a2 Merge branch 'master' into feature/13088
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	assets/css/twenty-seventeen-rtl.css
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-rtl.css
#	assets/css/woocommerce.css
2017-05-23 16:35:17 +01:00
Mike Jolley ec03133ebc Merge remote-tracking branch 'origin/master' 2017-05-23 16:23:11 +01:00
Mike Jolley a1a79e57b5 Merge branch 'master' into pr/14896
# Conflicts:
#	assets/js/frontend/single-product.min.js
2017-05-23 16:22:18 +01:00
Mike Jolley db012b3a12 Merge pull request #15011 from woocommerce/fix/14999
Add abspath checks
2017-05-23 15:57:35 +01:00
Mike Jolley d31a58b117 More abspath 2017-05-23 15:40:19 +01:00
Umesh Ghimire b026e9839c Tweak - Nepali zone name update 2017-05-22 14:14:07 +05:45
Mike Jolley bc4d36fd3f Add abspath checks
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley 891e55e1cf Merge pull request #14721 from woocommerce/fix/14670
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley 38279a72f3 version 2017-04-27 11:26:44 +01:00
Mike Jolley 801f5e1eb1 Avoid escaped quote chars in strings
Closes #14670
2017-04-26 13:51:53 +01:00
Roman Random 412cebc813 Added Bolivian states 2017-04-18 14:31:05 +02:00
Claudio Sanches d6b2fbedc0 POT 2017-04-04 09:23:49 -03:00
Mike Jolley b61c378e17 Fix mistake in #13846 with PL locale 2017-04-04 11:36:10 +01:00
Mike Jolley 0f50466219 Poland uses space for thousands
Fixes #13846
2017-03-31 12:57:53 +01:00
Mike Jolley 1bc194945f Version bump and POT 2017-03-24 15:11:55 +00:00
Mike Jolley e57aa55894 POT file update 2017-03-21 13:24:57 +00:00
Claudio Sanches 95d36bd399 POT 2017-03-15 15:57:50 -03:00
Claudio Sanches 095e062d74 POT 2017-03-15 14:00:42 -03:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley 8951bef0ee Version and minification 2017-02-28 19:11:41 +00:00
Mike Jolley 908c2d0599 Merge branch 'pr/13355' 2017-02-28 09:42:49 +00:00
Mike Jolley c0d6d3d051 Sort 2017-02-28 09:42:42 +00:00
Claudiu Lodromanean 4a4de2a951 Americanize some words 2017-02-27 14:59:37 -08:00
Anwer AR bd2db65d50 Updated author and version 2017-02-28 00:31:28 +05:00
Mike Jolley 790dd57933 Apologise -> american english
Closes #13370
2017-02-27 17:39:08 +00:00
Mike Jolley 906b7dbf10 Ireland naming
Closes #13352
2017-02-27 10:44:47 +00:00
Anwer Abdul Rehman 51d2f80cb2 List of States in Pakistan
Added PK.php in states for Pakistani states. all province codes are accoring to ISO 3166 Standard
2017-02-26 23:50:51 +05:00
Claudio Sanches 1eccb65d85 Fixed coding standards 2017-02-24 17:30:41 -03:00
Claudio Sanches 5294e43350 2.7 beta 4 2017-02-24 17:20:23 -03:00
Claudio Sanches 84d4d449d0 2.7 beta 3 2017-02-17 16:10:39 -02:00
Claudio Sanches 486a81bf12 Fixed coding standards 2017-02-17 16:10:15 -02:00
Mike Jolley d8a00b97a1 Minify 2017-02-16 10:44:43 +00:00
Claudio Sanches f2767dbf5e 2.7.0-beta-2 2017-02-09 15:08:39 -02:00
Mike Jolley de6d1d23be Merge branch 'fix-12922'
# Conflicts:
#	assets/js/frontend/single-product.js
2017-01-26 14:59:30 +00:00
Mike Jolley 41f3572b23 Merge branch 'fix-12922' 2017-01-26 14:57:51 +00:00
Toni Viemerö 2078c9b816 Add Finnish defaults 2017-01-25 11:59:32 +02:00
Claudio Sanches 2191a391c8 Added romanian information for the installer 2017-01-17 15:51:19 -02:00
Mike Jolley 57ef639f8d Minify 2017-01-17 14:35:47 +00:00
Mike Jolley b15465bbdd Fix fade in 2016-12-23 14:08:39 +00:00
Mike Jolley 04c28403c8 Minify 2016-12-23 14:08:39 +00:00
Mike Jolley 2e77e38d33 colour -> color
#12627
2016-12-19 11:41:48 +00:00
Claudio Sanches 99e0562bf5 POT 2016-12-15 15:12:28 -02:00
Sidsector9 a8e6b265d4 Update IN.php
Spelling corrected from "Dadar and Nagar Haveli" to "Dadra and Nagar Haveli" on line 44.
2016-12-09 01:55:24 +05:30
Michel Poulain 6cfc7a731f Update locale-info.php
In France, the VAT is called «TVA» = Taxe sur la Valeur Ajoutée.
2016-11-22 19:13:30 +01:00
Mike Jolley fdedc08f70 BE tax rate
Closes #12431
2016-11-22 14:50:17 +00:00
Claudio Sanches f5a228509a Fixed coding standards 2016-11-17 18:07:58 -02:00
Claudio Sanches 2f425861ab Merge pull request #12389 from hussong/patch-1
Add Cyprus to Europe
2016-11-17 18:05:17 -02:00
hussong 09ab05d24b Add Cyprus to Europe
Added missing country Cyprus (CY) to the Europe set. 

Arguably, you could also consider adding Greenland (GL), since it's one of the Overseas Countries and Territories (OCT) of the EU and you've already included Svalbard and Jan Mayen, which is equally far from Europe in a geographic sense.
2016-11-17 20:24:38 +01:00
Mike Jolley 76b32c9aa5 WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Sanitize ids later

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Bump template version

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* Made abstract function useful

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* Allow WP_Query to preload post data, and meta in wc_get_products()

Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Sanitize ids later

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Bump template version

* Made abstract function useful

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* Prevent notices

* Handle image_id from parent

* Fix error

* Remove _wc_save_product_price

* Remove todo

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* [Product CRUD] Abstract todos (#12305)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Revert "[Product CRUD] Abstract todos (#12305)"

This reverts commit 9a6136fcf8.

* Remove deprecated get_variation_id()

* New default attributes method

* [Product CRUD] Product Datastore (#12317)

* Fix up tests in the product/* folder.

* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.

* Variations & variable changes.

* Update -functions.php calls to use data store.

* Add an interface for the public product data store methods.

* Finished product factory tests

* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.

* Fix up delete in all versions of the api

* Handle feedback

* Match protected decloration to parent

* Product crud abstract todos (#12316)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Fix up store

* Fixed method returning in write context

* Fix error in variation admin

* Check for parent value - fixes tax class

* Remove old/complete todos

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* Remove deprecated get_variation_id()

* New default attributes method

* Fixed method returning in write context

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed coding standards

* TODO is not accurate.

* Should pass WC_Product instancies to WC_Comments methods (#12327)

* Use new method in abstract order class to prevent headers sent issue in tests

* Fixed variable description in REST API

* Updated how create initial product variation

* Fixed a few fatal errors and warnings in Products CRUD (#12329)

* Fixed a few fatal errors and warnings in Products CRUD

* Fixed sync functions

* Add variations CRUD to legacy API (#12331)

* Apply crud to variable products in legacy API v1

* New REST API do not need fallback for default attributes

* Apply variations CRUD to legacy API v2

* Legacy v2 - save default attributes

* Variations in legacy API v2 do not have descriptions

* Fixed legacy API v2 variations params

* Applied variations CRUD to legacy API v3

* Sync before save in legacy apis

* Punc

* Removed API todos

* Removed test

* Products endpoint tweaks (#12354)

* Var type already normalized on CRUD

* Let Product CRUD handle with validation, sanitization and conditional checks

* Set downloads using WC_Product_Download

* Stop try catch exceptions more than one time

* Handle WC_Data_Exception in legacy API

* Complete remove products when fails on creating

* On creating I mean!

* Already have a method to complete delete products

* Fixed standards using WP CodeSniffer

* get_the_terms() returns false when empty

* get_manage_stock returns boolean

@claudiosanches

* Merge conflict

* Variations API endpoint fixes

* Product CRUD improvements (#12359)

* args is not used any more - remove todo

* Added test for attributes

* wc_get_price_excluding_tax usage

* parent usage

* Fix rating counts

* Test fixes

* Cleanup after tests

* Make sure status transition code runs even during API calls, not just in admin.

* Default visibility

* Fix attribute setting in API

* Use get name instead of get title

* variation id usage

* Improved cross sell templates

* variation_data

* Grouped product sync

* Notices

* Sync is not needed in API

* Delete

* Rename interfaces

* Update counts in data store
2016-11-16 12:38:24 +00:00
Zachary 09f53ce778 Add counties for Republic of Ireland, change Postcode label to Eircode (#12180) 2016-11-03 11:48:14 +00:00
Vishal Kakadiya 06f206c49b Changed file name from 'class-' to 'abstract-' (#12159)
* Changed file name from 'class' to 'abstract'

* Changed file name from 'class' to 'abstract'

* Changed file name from 'class-' to 'abstract-'
2016-10-24 21:49:22 -02:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Jonathan Belcher 45739697e0
Change Add-ons to Extensions within the admin 2016-10-05 14:25:28 -04:00
Matty ae75f8b8cd Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'. 2016-09-28 12:17:40 +02:00
flyonthenet 050f7f8497 Changed 'L'Aquila' to 'L\'Aquila'
In orders admin view, city name is converted to uppercase L'AQUILA - not legal HTML entity
2016-09-17 12:08:04 +02:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley d756b9c7ba Merge branch 'pr/11337'
# Conflicts:
#	assets/css/admin.css
2016-08-02 14:44:00 +01:00
Claudio Sanches 0657c39d2d Fixed coding standards and file version for i18n/states/NG.php 2016-07-20 17:07:21 -03:00
Mike Jolley 663bbd3b13 Merge pull request #11093 from hoshomoh/master
Added Nigerian Provinces to i18n/state
2016-07-20 14:32:43 +02:00
Claudio Sanches d35bbc01fa POT 2016-07-19 15:28:34 -03:00
Mike Jolley 4e83d45491 POT and min 2016-07-19 18:08:45 +01:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
Claudio Sanches b6f1c4e913 POT 2016-06-30 14:57:01 -03:00
Mike Jolley 8d7c636782 POT 2016-06-30 11:46:28 +01:00
Claudio Sanches 161b2d807c Removed duplicated Saint Martin 2016-06-30 04:40:33 -03:00
Claudio Sanches 148228b505 Added missing Sint Maarten country and fixes the continents
Fixed missing Bonaire, Saint Eustatius and Saba (BQ) from the continents
list.
Fixed Curaçao, thats belongs to the North America continent.

Closes #11217
2016-06-29 18:26:06 -03:00
Mike Jolley 4cda0ead66 POT file 2016-06-28 15:42:58 +01:00
Mike Jolley 6649500b79 Merge branch 'group-notices-11226'
# Conflicts:
#	assets/js/frontend/checkout.min.js
2016-06-24 16:01:03 +01:00
Mike Jolley 117990d95f Merge branch 'pr/11219'
# Conflicts:
#	assets/js/frontend/cart.min.js
2016-06-24 12:39:47 +01:00
Mike Jolley b9eb873229 minify 2016-06-24 12:28:50 +01:00
Mike Jolley 5f8ccafaa5 Add curacao to south america 2016-06-23 11:34:50 +01:00
Mike Jolley 1353160330 Removed non-existent country (Netherlands Antilles) from https://en.wikipedia.org/wiki/ISO_3166-1.
Closes #11217
2016-06-22 11:35:21 +01:00
Mike Jolley 2019cdf108 Version bumps and POT file 2016-06-16 18:17:50 +01:00
Mike Jolley 303058ec79 POT 2016-06-14 15:00:50 +01:00
Oshomo Oforomeh 86e58c8890 Added Nigerian Provinces to state 2016-06-10 21:04:23 +01:00
Claudio Sanches bd2342a0a5 2.6.0-RC1 2016-06-07 12:45:45 -03:00
Claudio Sanches ea993bbe7f Fixed woocommerce_rest_cannot_view description 2016-06-05 19:43:23 -03:00
Claudio Sanches e4736402dd 2.6.0 beta 4 2016-06-02 19:50:34 -03:00
Mike Jolley 2295f40fcd Update jquery payment
Closes #11012
2016-06-01 11:33:53 +01:00
hideokamoto eb096170a7 [ISO_3166-1]'Western Samoa' should be 'Samoa', #11017 2016-06-01 17:12:28 +09:00
Mike Jolley 9d3195991c POT update 2016-05-27 15:43:42 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Claudio Sanches 1f2cda5a49 Version 2.6.0-beta-2 2016-05-13 14:40:21 -03:00
Claudio Sanches 1c2f8de4ca POT 2016-05-04 10:20:47 -03:00
Michel Chouinard 1bb8aeee91 Update locale-info.php
Added translation strings for Canadian Tax Rates.
2016-05-02 14:50:55 -04:00
Claudio Sanches 016a9abd9e Updated POT file 2016-04-22 14:09:24 -03:00
Mike Jolley 76dd7447dc No SS
Closes #10745 or feed
2016-04-20 10:24:35 +01:00
Job d3cb293e2d Sidekick removal
Partnership with Sidekick ended:

* Removed all styles and mentions of Sidekick
* Updated docs prompt on last step on boarding: *Read more* > *Learn
more*
2016-04-19 11:01:22 +02:00
Mike Jolley 826613db3c Grunt dev 2016-04-18 15:37:19 +01:00
Claudio Sanches 7c81119a04 [2.5] Changed CuraÇao to Curaçao 2016-03-17 02:14:17 -03:00
Mike Jolley 1b54c00a63 POT 2016-03-14 12:26:30 +00:00
Claudio Sanches ede64f7aa9 Minify and POT 2016-03-11 14:42:34 -03:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley 75c264837f Justins feedback/code tidy 2016-02-10 13:21:16 +00:00
Mike Jolley 75cbb74520 Rating widget standards 2016-02-09 15:18:27 +00:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Claudio Sanches 267c280a6b POT for 2.5 2016-01-18 11:48:53 -02:00
Claudio Sanches 64a176920d RC3 tag and POT 2016-01-15 13:54:52 -02:00
Claudio Sanches 626c1a127a POT 2016-01-12 14:03:20 -02:00