Commit Graph

33050 Commits

Author SHA1 Message Date
Rodrigo Primo 180f260f7f
Merge pull request #24468 from yash-webkul/patch-14
Update html-oauth-start.php
2019-08-22 09:52:35 -03:00
Rodrigo Primo 91501175d5
Merge pull request #24466 from mohit-webkul/patch-1
Update class-wc-admin-menus.php
2019-08-22 09:50:51 -03:00
Rodrigo Primo 14ca7805f3
Merge pull request #24467 from yash-webkul/patch-13
Update class-wc-admin-setup-wizard.php
2019-08-22 09:49:03 -03:00
Rodrigo Primo 6d1fb86ca7
Merge pull request #24463 from yash-webkul/patch-1
Update class-wc-shipping.php
2019-08-22 09:42:19 -03:00
Yash Kapoor c3791673ef
Update class-wc-admin-setup-wizard.php 2019-08-22 17:14:34 +05:30
Mohit Verma 71db4b4068
Update html-admin-page-addons.php
Added alt tag translation.
2019-08-22 17:01:08 +05:30
Yash Kapoor 478f8eae17
Update html-oauth-start.php
Added translation.
2019-08-22 16:47:01 +05:30
Yash Kapoor 365a701d34
Update class-wc-admin-setup-wizard.php
Added translation.
2019-08-22 16:40:57 +05:30
Mohit Verma c97ca103c1
Update class-wc-admin-menus.php
Fixed escaping in attribute.
2019-08-22 16:21:23 +05:30
Yash Kapoor e4456144f9
Update wc-template-functions.php 2019-08-22 12:35:38 +05:30
Yash Kapoor bd6c7cfb13
Update wc-template-functions.php
Fixed spelling of woocommerce_gallery_thumbnail_size
2019-08-22 12:10:54 +05:30
Yash Kapoor b6e0c0308b
Update class-wc-shipping.php
Fixed spelling of WooCommerce.
2019-08-22 11:57:27 +05:30
David Stone 7a7151bd44 Use brackets s instead of braces to avoid deprecation notice in PHP 7.4 2019-08-21 16:32:23 -06:00
Rodrigo Primo 58618caeb9
Merge pull request #24375 from itzmekhokan/add/woocommerce_shipping_show_shipping_calculator
Added a filter for reposition shipping calculator
2019-08-21 17:08:48 -03:00
Rodrigo Primo 524fe5a4d5
Merge pull request #24384 from woocommerce/fix/24368
Check if order exists before create downloads hash
2019-08-21 16:56:14 -03:00
Rodrigo Primo c3262eea3e
Merge pull request #24385 from woocommerce/fix/24356
Ensure WC_Product_Data_Store_CPT::is_existing_sku() return boolean
2019-08-21 16:52:13 -03:00
Rodrigo Primo 9914ac5030
Merge pull request #24388 from woocommerce/fix/ug-states
Moved UG states to new i18n/states.php
2019-08-21 16:45:25 -03:00
Rodrigo Primo 66f63149b8
Merge pull request #24403 from woocommerce/renovate/grunt-sass-3.x
Update dependency grunt-sass to v3.1.0
2019-08-21 16:40:26 -03:00
Rodrigo Primo 4b2bcec39c
Merge pull request #24426 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.2.1
2019-08-21 16:29:58 -03:00
Rodrigo Primo 9c9715ac8d
Merge pull request #24435 from strayobject/fix-show-error-in-myaccount-when-order-missing
fix: show error message in myaccount if order does not exist.
2019-08-21 16:29:10 -03:00
Rodrigo Primo 5392463dd2
Merge pull request #24438 from woocommerce/fix/24431
Fixed Namibian currency symbol
2019-08-21 16:27:21 -03:00
Rodrigo Primo fdca2b8323
Merge pull request #24437 from woocommerce/tweak/load-order-twice
Prevent load order twice
2019-08-21 16:26:40 -03:00
Rodrigo Primo bfc469123f
Merge pull request #24441 from woocommerce/fix/24416
[Tracker] Prevent PHP warning when order date is empty
2019-08-21 16:14:49 -03:00
Rodrigo Primo 557e9aae95 Remove myclabs/deep-copy from the list of Composer dev dependencies
myclabs/deep-copy was added to composer.json directly as a workaround an issue in
the Travis build when running PHP 5.6 (#24079). Removing it in this commit to
check if the issue in Travis has been fixed as we don't really use this
package for WooCommerce development.
2019-08-21 15:55:18 -03:00
Rodrigo Primo 147307f1e6
Merge pull request #24442 from woocommerce/fix-error-log-notice
Check if error_get_last() is not null
2019-08-21 15:36:55 -03:00
Rodrigo Primo 31cc407a88
Merge pull request #24455 from woocommerce/renovate/phpunit-phpunit-7.x
Update dependency phpunit/phpunit to v7.5.15
2019-08-21 15:34:48 -03:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Claudio Sanches 649b97b7a9
Merge pull request #24443 from itowhid06/master
update npm package version to 3.7.0
2019-08-20 17:39:23 -03:00
Claudio Sanches 3722c04156
Merge pull request #24445 from Spaggel/patch-1
Fix typo webhopk -> webhook in WC_Webhook
2019-08-20 17:38:29 -03:00
Claudio Sanches 2c02d21277 Remove Emoji from default additional email content 2019-08-20 11:54:21 -03:00
Renovate Bot b867a6c05c
Update dependency eslint to v6.2.1 2019-08-20 11:33:50 +00:00
Daniël van der Linden 0c885b8c24
Fix typo webhopk -> webhook in WC_Webhook 2019-08-20 08:43:50 +02:00
Nico Hauser 5c84557984
Updated filter name 2019-08-20 08:05:19 +02:00
Towhidul Islam 3aa14d3e6d update npm package version to 3.7.0 2019-08-20 11:41:32 +06:00
David Stone 1c47315b89 Fix trying to access array offset on a boolean notice 2019-08-19 20:11:43 -06:00
Claudio Sanches 8a278d3d96 Fixed coding standards 2019-08-19 20:42:42 -03:00
Claudio Sanches 6bc080fef0 Prevent PHP warning when date is null 2019-08-19 20:41:30 -03:00
Claudio Sanches 2e179fb3dc Updated wording of total of items in cart and review order 2019-08-19 19:47:02 -03:00
Claudio Sanches e50953bc24 Fixed Namibian currency symbol 2019-08-19 19:40:19 -03:00
Claudio Sanches 4b45905f18 Prevent load order twice 2019-08-19 18:19:36 -03:00
Claudio Sanches 500373f340
Merge pull request #24422 from woocommerce/renovate/husky-3.x
Update dependency husky to v3.0.4
2019-08-19 18:12:16 -03:00
Claudio Sanches 1845dab69a
Merge pull request #24423 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.2.3
2019-08-19 18:11:59 -03:00
Michal Zdrojewski b2e9584a53 fix: show error message in myaccount if order does not exist. 2019-08-19 16:47:17 +01:00
Renovate Bot 41f618f716
Update dependency lint-staged to v9.2.3 2019-08-17 17:28:51 +00:00
Akeda Bagus 62b42893b2
Rename URL param from wccom-helper-nonce to wccom-connect-nonce. 2019-08-17 22:37:02 +07:00
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