Commit Graph

17050 Commits

Author SHA1 Message Date
Mike Jolley 50ca24e5d9 set_coupon_discount_amounts should support woocommerce_tax_round_at_subtotal 2019-01-11 13:09:20 +00:00
Mike Jolley caffa319f4 set_item_discount_amounts should support woocommerce_tax_round_at_subtotal 2019-01-11 13:06:26 +00:00
Mike Jolley 50af71b9bd Calculated items_subtotal_tax using rounded tax subtotals. 2019-01-11 12:59:23 +00:00
Mike Jolley dabfe66464 Correct use of rounding functions in cart class 2019-01-11 12:41:06 +00:00
Mike Jolley af3707d75a Always round to precision. Negate need to call get_tax_total to handle rounding. Instead it just sums. 2019-01-11 12:38:05 +00:00
Mike Jolley 11d14b30a4 PHPCS fixes 2019-01-11 12:28:52 +00:00
Mike Jolley 96603720ca Item subtotal rounding must match cart calc class
Fixes #21871
2019-01-11 11:41:22 +00:00
Rodrigo Primo a7463c5535 Merge branch 'master' of github.com:woocommerce/woocommerce 2019-01-10 16:39:22 -02:00
Rodrigo Primo 3b3da24546 Fix typo in inline comment 2019-01-10 16:38:58 -02:00
Rodrigo Primo c2b49dc6e3 fix phpcs violation 2019-01-10 16:38:26 -02:00
Mike Jolley 96ba549b2b Remove type hint 2019-01-10 13:23:49 +00:00
Mike Jolley f67ab4e447 correct version 2019-01-10 13:20:02 +00:00
Mike Jolley 1815928208 Merge branch 'master' into pr/21217 2019-01-10 13:10:11 +00:00
Mike Jolley f4ed56a894
Merge pull request #21153 from jamesckemp/patch-12
`woocommerce_variation_option_name` Parameters
2019-01-10 12:28:21 +00:00
Rodrigo Primo 519886838c
Merge pull request #21969 from woocommerce/add/21964
Add woocommerce_valid_location_types filter
2019-01-09 17:02:20 -02:00
Mike Jolley bf5ea249b5
Merge pull request #21991 from johnbillion/21989/user-switching-support
User Switching support
2019-01-09 17:01:47 +00:00
Mike Jolley fe02144d0a
Merge pull request #21927 from woocommerce/add/21925
Make links in order notes clickable.
2019-01-09 16:52:37 +00:00
Mike Jolley b4427e0c25 Merge branch 'pr/22298' 2019-01-09 13:51:30 +00:00
Mike Jolley 06b5480f2d
Merge pull request #22071 from Prospress/fix/22060
don't html escape sku used in product lookup
2019-01-09 13:07:04 +00:00
Mike Jolley 5820faba78
Merge pull request #21986 from JPry/wc_customer_has_capability_return_doc
Use proper return value for wc_customer_has_capability() docblock
2019-01-09 12:10:34 +00:00
Mike Jolley 21d8f74cb3
Merge pull request #22389 from woocommerce/renovate/wp-cli-wp-cli-2.x
Update dependency wp-cli/wp-cli to v2
2019-01-09 11:54:11 +00:00
Mike Jolley 8edadae4df
Merge pull request #22123 from helgatheviking/additional-args-for-woocommerce_add_to_cart_redirect
Add param for woommerce_add_to_cart_redirect filter
2019-01-09 11:53:26 +00:00
Renovate Bot d74ccb991f
Update dependency wp-cli/wp-cli to v2 2019-01-09 02:46:18 +00:00
Claudiu Lodromanean c3050db67c
Merge pull request #22337 from woocommerce/fix/22048
Restore non-cart notice printing opportunity during checkout
2019-01-08 12:16:20 -08:00
pierrebuet 9ca3ae3453 Check for customer before checking for VAT excemption
In the actual form, the check done in the function is_taxable()  of a shipping method can only be done in the frontend, since WC()->customer must be defined.  Checking for a customer before checking the excemption would make the function also callable in the backend for different pre-calculation. If a customer is not defined, an exemption can not exists.
2019-01-08 15:57:21 +00:00
Mike Jolley ade1021eff
Merge pull request #22205 from woocommerce/fix/22200
Introduce wc_is_webhook_valid_status
2019-01-08 15:32:57 +00:00
Mike Jolley 6e5a4201cf Merge branch 'pr/21635' 2019-01-08 15:30:31 +00:00
Mike Jolley eef05fafe9 update from master 2019-01-08 15:00:23 +00:00
Mike Jolley 9644241cef update from master 2019-01-08 14:51:05 +00:00
Mike Jolley 868e7841e6
Merge pull request #21860 from rellect/wc_case
Rename wc() to WC() for consistency
2019-01-08 14:29:59 +00:00
Mike Jolley a69ce0bfcb
Merge pull request #21764 from leewillis77/wc_get_template_filter
Allow plugins to filter located template location before failing
2019-01-08 14:23:58 +00:00
Mike Jolley b7e5c1b047
Merge pull request #21679 from amielucha/master
Fixes typos in class comments.
2019-01-08 11:11:42 +00:00
renovate[bot] 82397c2f7f Pin dependencies (#21842) 2019-01-08 11:07:32 +00:00
claudiulodro f9b4cced41 Correct number of items added logic in notif 2019-01-07 11:44:13 -08:00
Claudiu Lodromanean 9649759c04
Merge pull request #22331 from woocommerce/fix/22099
Check stock status when repopulating items in the cart from an order
2019-01-07 11:41:51 -08:00
Claudiu Lodromanean 2e1e77f6f0
Merge pull request #22330 from woocommerce/fix/21708
Add special button style for connect button
2019-01-07 11:40:31 -08:00
Claudiu Lodromanean 3b14bfb90b
Merge pull request #22270 from Prospress/fix/22149
strip slashes from tax classes on save
2019-01-07 11:39:35 -08:00
Mike Jolley 00a8972b68
Merge pull request #22230 from Prospress/fix/22129
add out of stock criteria to tax_query array instead of replacing it
2019-01-07 16:35:32 +00:00
Mike Jolley 9ce3f408a6
Merge pull request #22344 from woocommerce/fix/breadcrumbdata
Product structured data tweak to show both BreadcrumbList and Product structured data.
2019-01-07 13:49:54 +00:00
Mike Jolley ba5c4c4fbd Merge branch 'master' of https://github.com/woocommerce/woocommerce 2019-01-07 13:36:13 +00:00
Mike Jolley 217c039262 Merge branch 'pr/21465' 2019-01-07 13:29:40 +00:00
Mike Jolley f4dbd5a723 Define consistently 2019-01-07 13:29:09 +00:00
Mike Jolley 848eecf6a6
Merge pull request #21537 from jespervnielsen/patch-2
allow-filtering-on-wiget-get_current_page_url
2019-01-07 13:12:43 +00:00
Mike Jolley 6ccf385f8b
Merge pull request #22005 from woocommerce/add/21992
Add woocommerce_gallery_image_html_attachment_image_params filter
2019-01-07 13:05:53 +00:00
Mike Jolley 9e1f1f2255
Merge pull request #22160 from bordoni/lib-action-scheduler-php-52
Lib Action Scheduler PHP 5.2 Compatible
2019-01-07 12:56:10 +00:00
Mike Jolley 241cf4dece
Merge pull request #21442 from danielbitzer/master
Add coupon object param to get coupon data filter
2019-01-07 12:53:04 +00:00
Mike Jolley 4d0306b977
Merge pull request #21402 from xlplugins/master
Added new filter to modify order status during orders using cheque as a gateway.
2019-01-07 12:50:35 +00:00
Mike Jolley 0da7f9f06f
Merge pull request #21896 from jespervnielsen/patch-3
Add dependency to WC_Product_CSV_Importer_Controller
2019-01-07 12:48:45 +00:00
Mike Jolley fb9847bcca
Merge pull request #21853 from rellect/incorrect_call
Remove non existent parameter
2019-01-07 12:47:40 +00:00
Mike Jolley 6dba8f3b05
Merge pull request #21498 from liquidweb/feature/sanitize-order-id-tests
Add tests for wc_sanitize_order_id()
2019-01-07 12:46:11 +00:00