Renovate Bot
b109b76e94
Update dependency husky to v3.0.4
2019-08-17 13:34:10 +00:00
Akeda Bagus
aae802f319
Add support to allow in-app purchase installation after connected.
2019-08-17 00:36:28 +07:00
Nico Hauser
5291767228
Add new filter in addition to existing action
...
Currently there is no way to change the data fed into the importer. An example use of it is the following filter:
add_filter('woocommerce_product_import_before_process_item', "product_import_before_process_item", 10, 1);
function product_import_before_process_item($data){
//modify the data before importing e.g. prevent inserting an empty name!
foreach($data as $key => $value){
if(isset($data[$key]) && empty($value)){
unset($data[$key]);
}
}
return $data;
}
2019-08-15 22:00:31 +02:00
Nico Hauser
ee8f831909
Merge pull request #1 from woocommerce/master
...
Update to master
2019-08-15 21:56:07 +02:00
kolyasapphire
fe3395cd6b
Add 'applied_coupon' trigger to checkout.js
...
To check it’s working correctly:
add_action( 'woocommerce_after_checkout_form', 'alert_on_coupon');
add_action( 'woocommerce_after_cart', 'alert_on_coupon');
function alert_on_coupon() { ?>
<script type="text/javascript">
jQuery(document).ready(function($) {
$( document.body ).on( 'applied_coupon', function(event,code){
alert(code);
});
});
$( document.body ).trigger( 'applied_coupon', [ data.coupon_code ] );
2019-08-14 19:09:18 +03:00
Renovate Bot
3fb1a2aef4
Update dependency grunt-sass to v3.1.0
2019-08-14 12:02:16 +00:00
Jonathan Moore
d88fdb6adf
add $this param to woocommerce_email_additional_content_
...
add $this param to woocommerce_email_additional_content_ filter to be consistent with 'woocommerce_email_subject_' . and 'woocommerce_email_heading_' . filters.
2019-08-14 08:02:04 +01:00
Claudio Sanches
0adb229e96
Added ref link
2019-08-13 23:48:56 -03:00
David Stone
d685964df6
Use correct parameter order for implode. Solves deprecation notice in PHP 7.4
2019-08-13 13:03:09 -06:00
David Stone
3a74d03705
Fix typo in function_exits check so function can be properly overridden
2019-08-12 16:55:08 -06:00
Claudio Sanches
5407c4bf75
Moved UG states to new i18n/states.php
...
i18n/states/ directory is deprecated since WooCommerce 3.6.
2019-08-12 19:08:29 -03:00
Gerhard
5a1615a152
PHPCS fix
2019-08-12 20:26:34 +02:00
Rodrigo Primo
f687412acd
Merge pull request #24353 from woocommerce/fix/24334
...
Avoid PHP notice when getting order item type
2019-08-12 14:11:41 -03:00
Claudio Sanches
66dbb44100
Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean
2019-08-12 12:45:43 -03:00
Claudio Sanches
8ef99cf1de
Check if order exists before create downloads hash
2019-08-12 12:18:35 -03:00
Gerhard
3d2d50f0fa
Update grunt contributors command to take a branch input
2019-08-12 17:13:31 +02:00
Claudio Sanches
9cfde9caf4
Updated template docblocks
2019-08-12 11:06:18 -03:00
Yash Kapoor
5b9b67ace1
Make matched shipping zone notice translatable ( #24366 )
...
* Update class-wc-shipping.php
Added translation.
* Update class-wc-shipping.php
Added translation.
* Update class-wc-shipping.php
Fixed phpcs error.
* Update class-wc-shipping.php
2019-08-12 10:32:44 -03:00
Gerhard Potgieter
8e5048bba6
Merge pull request #24382 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
...
Update dependency woocommerce/woocommerce-blocks to v2.3.0
2019-08-12 15:17:56 +02:00
Renovate Bot
67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0
2019-08-12 11:52:22 +00:00
Janak Kaneriya
77e4ed9b40
fixed the security check error while previewing the email template
2019-08-12 12:55:39 +05:30
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