Commit Graph

33395 Commits

Author SHA1 Message Date
itzmekhokan 148f22ac1d Added a filter for reposition shipping calculator 2019-08-10 19:22:32 +05:30
Claudio Sanches 1b2b9d528a Fixed Netherlands postcode formatting (#24284)
* Fixed Netherlands postcode formatting

Trim all spaces, fixes issues when postcode is empty.

* Always trim spaces

* Updated unit test for test_wc_format_postcode()
2019-08-09 15:00:40 -03:00
Rodrigo Primo 6c263c97b6
Merge pull request #24239 from Chouby/fix/delete_variations_actions
Fire related actions when deleting all product variations
2019-08-08 16:47:39 -03:00
Rodrigo Primo 7cea80a86a
Merge pull request #24291 from woocommerce/prod-shipping-class-alphabetical
Sort shipping classes under products alphabetically
2019-08-08 16:41:30 -03:00
Rodrigo Primo 353945f638
Merge pull request #23384 from CasperBraske/CasperBraske-patch-1
Moved HTML from widget code to template file
2019-08-08 15:46:45 -03:00
Rodrigo Primo 3039d84736
Merge pull request #24336 from shoheitanaka/patch-16
Update address setting for Japanese
2019-08-08 15:27:12 -03:00
Rodrigo Primo e6394ace27 Add note about using the ISO 3166-2 standard for states names 2019-08-08 15:12:57 -03:00
Rodrigo Primo c417250d33 Fix typo 2019-08-08 15:07:22 -03:00
Rodrigo Primo fe1ef02fbf Remove deprecated i18n/states directory
This commit removes the deprecated i18n/states directory. Since PR #22339,
more specifically commit f1afbcf03a,
the list of states for each country is defined in i18n/states.php and the
directory i18n/states/ is not used anymore. It is not clear from the PR
and commit descriptions if i18n/states/ was left on purpose or not.
I'm assuming it was not on purpose as it doesn't seem to be used
anywhere.
2019-08-08 15:03:29 -03:00
Rodrigo Primo 512f0fc447 fix phpcs error 2019-08-08 14:47:33 -03:00
Rodrigo Primo 91320201a7
Merge pull request #24307 from smaboshe/add-provinces-of-zambia
Add Zambia's Provinces to the list of states.
2019-08-08 14:46:37 -03:00
Rodrigo Primo 9136b8017c
Merge pull request #24358 from woocommerce/renovate/husky-3.x
Update dependency husky to v3.0.3
2019-08-08 14:31:24 -03:00
Rodrigo Primo 638a5cfef7
Merge pull request #24351 from woocommerce/fix/duplicate-tooltip-text-emails
Remove duplicate tooltip text in emails additional content
2019-08-08 10:49:13 -03:00
Rodrigo Primo b5cf46efde
Merge pull request #24199 from MahdiY/add/get-zone-criteria-filter
Add filter hook to get zone criteria
2019-08-08 09:56:49 -03:00
Renovate Bot 6bd8c09dd1
Update dependency husky to v3.0.3 2019-08-08 12:48:02 +00:00
Rodrigo Primo 21418bb28b Avoid PHP notice when getting order item type
This commit changes WC_Order_Item_Data_Store::get_order_item_type() to
avoid a PHP notice ("Notice: Trying to get property 'order_item_type' of
non-object") when there is no entry in the database for the order item
ID passed.
2019-08-07 18:03:26 -03:00
Gerhard 7484bd9199 Remove duplicate tooltip text 2019-08-07 17:49:38 +02:00
Julià Mestieri d1236021bb Added selectWoo as dependency of country-select. 2019-08-07 11:21:11 +02:00
Mahdi Yousefi 449a258781
Remove whitespace at end of line 2019-08-07 11:26:28 +04:30
Mahdi Yousefi c2d05b1fc0
Update class-wc-shipping-zone-data-store.php 2019-08-07 08:34:14 +04:30
vedanshujain 970271d0b7 Remove `blur` event to keep focus on select box.
This removes the `blur` call so that focus on select box is maintained for accessibility. This call was added way back in 2012 but from what it looks like, it can be removed safely.
2019-08-06 22:08:00 +05:30
Claudio Sanches b600b00091
Merge pull request #24337 from woocommerce/fix/uppercase-boolean-values-importer
Allow wc_string_to_bool to not be case sensitive
2019-08-06 13:12:40 -03:00
Shohei Tanaka 4312dc4834
add space
I added space
2019-08-06 21:41:16 +09:00
Gerhard 9c7e1d43b0 Update unit tests for wc_string_to_bool to test for camel case as well as uppercase values. 2019-08-06 14:12:42 +02:00
Gerhard 44421facfe convert string to lowercase before checking value in wc_string_to_bool 2019-08-06 14:10:31 +02: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
Rodrigo Primo bccb7c3283
Merge pull request #24191 from woocommerce/fix/24188
Only add the image node to structured data if product has image
2019-08-05 16:45:30 -03:00
Rodrigo Primo 3683cd0a8f
Merge pull request #24329 from woocommerce/update/travis-dist
Update travis dist to xenial
2019-08-05 10:29:15 -03:00
Gerhard 4eae977494 Chrome beta 2019-08-05 15:09:49 +02:00
Gerhard e7ce889c9c Use start-stop deamon 2019-08-05 14:52:43 +02:00
Gerhard 862c43c553 xvfb needs to be started in before_script 2019-08-05 14:43:54 +02:00
Gerhard 5a9cb3e862 Include headless browser in services 2019-08-05 14:34:42 +02:00
Gerhard a58cced761 Instruct mysql to start 2019-08-05 14:33:51 +02:00
Gerhard 4b624bc477 Xenial not Bionic 2019-08-05 14:29:09 +02:00
Gerhard c078fdb9e1 Update travis dist to bionic, bionic has support for PHP 5.6 and up. 2019-08-05 14:20:22 +02:00
Gerhard Potgieter 199615d34a
Merge pull request #24309 from woocommerce/fix/24305
Do not minify FlexSlider library in every build
2019-08-05 14:00:09 +02:00
Gerhard 5ea1b72b6a PHPCS fixes 2019-08-05 13:51:46 +02:00
Daniel Bitzer b59e633b15 Fix output escaping for menu titles
Menu title contains HTML
2019-08-05 13:51:45 +02:00
Vedanshu Jain 623f296a2a
Merge pull request #24323 from woocommerce/fix/24316
Add missing additional content output to new account email
2019-08-05 17:07:57 +05:30
Andrew Lazarus 2596e6ecda
Removed whitespace 2019-08-05 11:29:39 +02:00
Andrew Lazarus 3805794baf Fix - Issue on shipping rates tbody, toby set to inherit, should be table-row-group 2019-08-05 11:23:04 +02:00
Gerhard 958bd7d0dd Bump version number of template that was never done with changes. 2019-08-05 10:02:31 +02:00
Gerhard e48c5491aa Add missing additional content output to customer-new-account email template. 2019-08-05 09:58:30 +02:00
Paul Dechov e15e51868c Remove accidental jQuery references in favor of $ 2019-08-02 18:10:47 -04:00
Claudio Sanches 3dfe1037ba Use non-breaking space for product quantity in templates 2019-08-02 18:42:58 -03:00
Claudio Sanches f496dda56e Do not minify FlexSlider library in every build 2019-08-02 14:25:43 -03:00
Claudio Sanches 2b0fc6f50a Added sanitization for number of decimal points in JS 2019-08-02 14:02:33 -03:00
Claudio Sanches 375b989322 Added validation for multiple decimal points 2019-08-02 13:58:02 -03:00
Silumesii Maboshe 0a07a23ee6 Add Zambia's Provinces to the list of states.
Uses ISO_3166-2 standard to add Zambia's Provinces to WooCommerce. Ref: https://en.wikipedia.org/wiki/ISO_3166-2:ZM.
2019-08-02 17:38:36 +02:00
Rodrigo Primo 7c776e1593
Merge pull request #24279 from woocommerce/feature/23582
Introduced filter to prevent adjust product stock
2019-08-02 11:58:09 -03:00