Claudio Sanches
ee36ad3d3a
Merge pull request #23712 from woocommerce/renovate/lint-staged-8.x
...
Update dependency lint-staged to v8.1.7
2019-05-15 13:10:10 -03:00
Peter Fabian
9f0fb0b404
Foxed the use to correct stock quantity parameter.
2019-05-15 16:18:24 +02:00
Peter Fabian
1d29b36c4c
Removed comments that are no longer relevant.
2019-05-15 15:46:53 +02:00
Gerhard Potgieter
30ce9ff6a3
Merge pull request #23689 from woocommerce/add/get_used_coupon_codes
...
Deprecate get_used_coupons in favor of get_coupon_codes
2019-05-15 15:34:40 +02:00
Peter Fabian
af7950910c
Removed the transaction and locking code.
...
NOWAIT is not supported on MySQL server 5.5,
SELECT ... FOR UPDATE can leave lingering locks on InnoDB ("When InnoDB performs a complete rollback of a transaction, all locks set by the transaction are released. However, if just a single SQL statement is rolled back as a result of an error, some of the locks set by the statement may be preserved. This happens because InnoDB stores row locks in a format such that it cannot know afterward which lock was set by which statement.", via https://dev.mysql.com/doc/refman/5.5/en/innodb-deadlock-detection.html )
2019-05-15 15:09:16 +02:00
Peter Fabian
68a325249f
Removed the extra parameter that didn't make sense.
...
Also get_data_for_lookup_table should not be checking db value of _manage_stock as that can be in the process of being changed.
2019-05-15 14:20:27 +02:00
parmarhardip
d5337fac70
fix- 23589 I have fixed pricing issue.
2019-05-15 17:49:46 +05:30
Gerhard
aadc7a1069
Add todo
2019-05-15 11:23:41 +02:00
Gerhard
8ed1a647bc
Restore backward compatibility meta_key for coupon date_expires. @todo: migrate expiry_date in next release to date_expires
2019-05-15 11:21:52 +02:00
Gerhard
3d57a4b474
Use WC_Cache_Helper::get_cache_prefix for prefixing webhook count cache, fixes issue with cache not clearing when incrementing the prefix.
2019-05-15 10:47:50 +02:00
sokolby
cb9f765eb2
Fix prefix filter name
2019-05-15 11:44:54 +03:00
James Allan
6069854d9f
Replace wc_get_base_location() with individual getters
2019-05-15 15:43:15 +10:00
Renovate Bot
0d272fddc3
Update dependency lint-staged to v8.1.7
2019-05-15 05:18:04 +00:00
Rodrigo Primo
47188f05cb
Fix unit tests after changes in the default enabled payment gateways
2019-05-14 19:46:38 -03:00
Rodrigo Primo
c8b55ff62d
Improve WC_Admin_Setup_Wizard::get_wizard_in_cart_payment_gateways() tests
...
This commit moves two functions declared inside a test method to their
own protected methods inside the same test class to make it easier to
read the tests and it fixes the order of the parameters for the calls to
Assert::assertEquals(). The first parameter passed to this method should
be the expected value and the second parameter should be the actual
value and not the opposite.
2019-05-14 18:38:53 -03:00
Rodrigo Primo
ba792a6589
Fix PHPCS errors
2019-05-14 18:34:21 -03:00
Claudio Sanches
a0e5234be2
Merge pull request #23706 from woocommerce/renovate/husky-2.x
...
Update dependency husky to v2.3.0
2019-05-14 17:50:51 -03:00
Renovate Bot
fcffed6929
Update dependency husky to v2.3.0
2019-05-14 16:46:03 +00:00
Claudio Sanches
836083c064
Fixed number of args for woocommerce_valid_order_statuses_for_cancel
2019-05-14 12:52:54 -03:00
Andrey Barashkov
58132056bd
Add Filter for wc_prices_include_tax() function return
...
It's great to have a filter, because there are some scenarios when it is necessary to create custom logic for displaying prices.
2019-05-14 13:14:50 +03:00
Gerhard Potgieter
b7facc0674
Merge pull request #23663 from danielbitzer/add_get_coupons_method
...
Add WC_Abstract_Order::get_coupons()
2019-05-14 11:35:21 +02:00
Gerhard
486321161c
Update usage of get_used_coupon_codes to get_coupon_codes
2019-05-14 11:21:27 +02:00
Gerhard
efe3e4c5d6
Move get_used_coupons to WC_Abstract_Legacy_Order and renamed get_used_coupon_codes to get_coupon_codes.
2019-05-14 11:19:48 +02:00
Daniel Bitzer
3024043bb4
Add unit test for WC_Abstract_Order::get_coupons()
2019-05-14 15:46:49 +09:30
Daniel Bitzer
0705730121
Add WC_Abstract_Order::get_coupons()
2019-05-14 15:46:48 +09:30
Gerhard
b694efcb63
Klarna should not be featured.
2019-05-14 07:36:15 +02:00
James Allan
45b461639e
Calculate base store taxes including the store's zip and city
2019-05-14 13:43:57 +10:00
Gerhard
e131b01133
Modify payment gateway placement, defaults and new logos.
2019-05-13 15:54:44 +02:00
Gerhard
5ceca30f39
CSS changes to remove black backround from old klarna and square logos.
2019-05-13 15:52:48 +02:00
Gerhard
31acfbcb4a
Deprecate WC_Abstract_Order::get_used_coupons in favor of WC_Abstract_Order::get_used_coupon_codes, this reflects the actual data being returned better.
2019-05-13 14:40:54 +02:00
Gerhard Potgieter
3755b23db5
Merge pull request #23680 from hexboy/fix-woocommerce_shop_loop-hook
...
WC_Structured_Data::generate_product_data() no more hooked in to woommerce_shop_loop action, which has been removed in #22912
2019-05-13 14:18:27 +02:00
Gerhard
b79c02658d
Fix eslint for meta-boxes-product-variation.js
2019-05-13 13:36:21 +02:00
Gerhard
b77c7fbbd8
Trigger input_changed function when download files removed for variations.
2019-05-13 13:32:30 +02:00
Gerhard
36cab83d76
Update out of stock dashboard widget to use same query as in reporting, this only counts published products.
2019-05-13 11:02:50 +02:00
Hassan Yousefi
a50464d781
WC_Structured_Data::generate_product_data() no more hooked in to woocommerce_shop_loop ,which has been removed in #22912
2019-05-11 20:45:54 +04:30
Claudio Sanches
f4e7ffd180
Merge pull request #23653 from parmarhardip/enhance-23649
...
#23649 I have added the filter into the out of stock message in varia…
2019-05-10 12:51:12 -03:00
Claudio Sanches
c96ed877af
Merge pull request #23660 from gocodebox/master
...
add filter to allow disabling endpoint 404 behavior, per #23622
2019-05-10 12:50:29 -03:00
Gerhard Potgieter
292650ee63
Merge pull request #23538 from Mahjouba91/issue/23537
...
Add a woocommerce_before_thankyou hook, Fix Issue/23537
2019-05-10 11:45:24 +02:00
Gerhard Potgieter
07941afacd
Merge pull request #23532 from Mahjouba91/patch-1
...
When the user did not added any address on its account, change wording to "Add" instead of "Edit" in the link
2019-05-10 11:42:48 +02:00
Gerhard Potgieter
249ee5ecda
Merge pull request #23478 from woocommerce/fix/23476
...
Force delete rather than trash variations on product type change
2019-05-10 11:41:14 +02:00
Gerhard Potgieter
a228975801
Merge pull request #23671 from woocommerce/fix/wc-tracker-order-totals
...
Corrects WC Tracker's order total calculation.
2019-05-10 11:23:55 +02:00
Gerhard Potgieter
64a76ea0fa
Merge pull request #23666 from woocommerce/update/wc-update-cli-db-version
...
WC Update CLI DB Version
2019-05-10 11:21:58 +02:00
Gerhard Potgieter
b9a75c474a
Merge pull request #23579 from n-dawson/fix-23578
...
Fixes #23578 - Check taxes enabled before adding totals row to order
2019-05-10 11:21:19 +02:00
Gerhard Potgieter
32769d0d76
Merge pull request #23625 from woocommerce/fix/23549
...
Use attribute's orderby option to sort terms in product's edit screen
2019-05-10 11:19:08 +02:00
Gerhard Potgieter
18e2332cfc
Merge pull request #23590 from woocommerce/fix/23587
...
Stock sorting issue when Yoast installed
2019-05-10 11:17:26 +02:00
Gerhard Potgieter
8c665d6572
Merge pull request #23615 from parmarhardip/23596
...
#23596 - I have solve this issue.
2019-05-10 11:16:06 +02:00
Gerhard Potgieter
3d017856e9
Merge pull request #23617 from woocommerce/fix/23606
...
Fix system status connected to woocommerce.com status
2019-05-10 11:13:11 +02:00
Gerhard Potgieter
902cc1f0b0
Merge branch 'master' into fix/23606
2019-05-10 11:12:54 +02:00
Gerhard Potgieter
46bcf42559
Merge pull request #23611 from woocommerce/fix/23583
...
Prevents undefined offset for empty arrays in wc_change_get_terms_defaults
2019-05-10 11:02:13 +02:00
Gerhard Potgieter
364093056d
Merge pull request #23580 from woocommerce/report-bug-link
...
Change the link of the "Report a bug" button
2019-05-10 10:59:24 +02:00