Commit Graph

30338 Commits

Author SHA1 Message Date
Mike Jolley 1f63d59244
Merge pull request #22257 from manchumahara/patch-1
Add $orderby and $order params to filter woocommerce_get_catalog_ordering_args
2019-01-14 17:00:37 +00:00
Mike Jolley 5dc977802c
Merge pull request #22418 from woocommerce/fix/22037
Remove mention of payment from processing emails
2019-01-14 16:49:09 +00:00
Mike Jolley fad3568e12
Merge pull request #22426 from JohnTendik/remove-unnecessary-variable-from-test-case
removed variable that was not being used in test case
2019-01-14 16:46:19 +00:00
Mike Jolley 283f3ba355
Merge pull request #22431 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.4.5
2019-01-14 16:45:39 +00:00
Mike Jolley 4f4d7e6c9c API - Rather than error, add users to blog like the checkout does 2019-01-14 16:31:52 +00:00
Mike Jolley 668c078bcf This check is not needed - super admin should see it only 2019-01-14 16:31:05 +00:00
Mike Jolley 1b337dea64 Load customer data regardless of current blog 2019-01-14 16:30:47 +00:00
Mike Jolley bd611172c2 Hide 0 costs for local pickup 2019-01-14 15:14:44 +00:00
Mike Jolley 47bd97862a Change priority of notices on the account page so they appear above forms/content 2019-01-14 15:09:07 +00:00
Mike Jolley f6fe8d1abc Priority should use integers
#22227
2019-01-14 14:58:00 +00:00
Mike Jolley d83c9c5f5b When page is ready, make fields update for all country fields 2019-01-14 14:44:54 +00:00
Mike Jolley 3922d186e0 trigger event when ready (wc_address_i18n_ready) 2019-01-14 14:44:14 +00:00
Mike Jolley 9799301b0a Add script dep 2019-01-14 14:43:53 +00:00
Mike Jolley 1e563aea29 Use wp_get_attachment_image if we have an attachment based placeholder 2019-01-14 13:55:12 +00:00
Mike Jolley 198fdce1bf Larger placeholder to allow more resizing 2019-01-14 13:54:01 +00:00
Mike Jolley 549a0f01c0 Placeholders need srcset and sizes 2019-01-14 12:54:54 +00:00
Mike Jolley 510ed70d1e Fix check during install to create placeholder image. 2019-01-14 11:32:57 +00:00
Gerhard dc0f8fb696 PHPCS fixes 2019-01-14 09:41:24 +02:00
Gerhard 9d3053ce9a Check if WooCommerce is active on blog before running WooCommerce queries for the MS widget. 2019-01-14 09:40:04 +02:00
Gerhard 6220399163 Switch to use v3 of the API for network orders. 2019-01-14 09:15:20 +02:00
Jesús Ramirez 88335691cd
Updating Venezuelan Currency
The new Venezuelan currency is Bs S
2019-01-13 10:01:37 -04:00
Renovate Bot 9b42f74cf1
Update dependency autoprefixer to v9.4.5 2019-01-12 17:18:40 +00:00
unknown 883ecc3ca4 removed variable that was not being used 2019-01-11 19:19:15 -05:00
Kathy Daring 1e51bf3e69 switch ordered_again hook to ref_array 2019-01-11 12:14:29 -05:00
Ron Rennick 6b1341138f phpcs sniff fixes for class-wc-ajax.php 2019-01-11 12:57:33 -04:00
Mike Jolley 5016e4c858 Removed unused query 2019-01-11 16:56:51 +00:00
Mike Jolley 938992cbae Exit early, add back fallback code 2019-01-11 16:52:57 +00:00
Ron Rennick 641884b71b return coupon error messages as text message for alert() 2019-01-11 12:50:44 -04:00
Mike Jolley da80c154fc Query tweaks 2019-01-11 16:48:05 +00:00
Mike Jolley 4bda1c9cad Code style improvements 2019-01-11 15:52:43 +00:00
Matthew Rochow 7c50a29d2d Update class-wc-product-data-store-cpt.php 2019-01-11 14:47:41 +00:00
Matthew Rochow 07b2bcc726 Update class-wc-product-data-store-cpt.php 2019-01-11 14:47:41 +00:00
Matthew Rochow 01d7eaf92f Update class-wc-product-data-store-cpt.php
Updating find_matching_product_variation() function to be faster
2019-01-11 14:47:41 +00:00
Mike Jolley 12a73d4f8d Clarify how discount is applied 2019-01-11 14:43:32 +00:00
Mike Jolley 940ba59ab5 Merge branch 'fix/21871' into refactor/tax-rounding-methods 2019-01-11 14:09:03 +00:00
Mike Jolley 14b0e87301 Fixes edge case due to orders screen expecting unrounded values. 2019-01-11 14:07:41 +00:00
Mike Jolley 22ce8aa8b8 Order items respect wc_round_tax_total 2019-01-11 13:20:57 +00:00
Mike Jolley 42f77950bd Make total recalc use unrounded tax values to fix test WC_Tests_Order_Coupons::test_add_coupon_to_order 2019-01-11 13:17:06 +00:00
Mike Jolley 28ac24d870 update_taxes can safely round all values, as lines would already be rounded if applicable 2019-01-11 13:12:31 +00:00
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
Gerhard 2974154ae8 Update processing order email copy as per feedback https://github.com/woocommerce/woocommerce/pull/22418#discussion_r247105693 2019-01-11 15:04:06 +02:00
Mike Jolley 50af71b9bd Calculated items_subtotal_tax using rounded tax subtotals. 2019-01-11 12:59:23 +00:00
Gerhard cf38ed4aba Remove on-hold orders from tax reports as they are not paid yet. Tax reports should only contain paid orders. 2019-01-11 14:44:09 +02: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
Gerhard 4c6da744fe PHPCS fixes 2019-01-11 14:30:13 +02:00
Gerhard 77537d2cd3 Update copy for processing order emails to not mention payment as some stores take payment after orders are placed. 2019-01-11 14:29:21 +02:00
Mike Jolley 11d14b30a4 PHPCS fixes 2019-01-11 12:28:52 +00:00
Gerhard c24faa8ab4 Use array_values when checking assertSame for sort comparison of arrays. 2019-01-11 14:02:54 +02:00