David Levin
ee2c6b8096
Change net payment to net total
2020-01-27 21:10:11 -08:00
David Levin
3c92aacfcb
update shipping methods
2020-01-27 19:22:04 -08:00
Timmy Crawford
9bfc7db3fb
Remove wc-admin install nudge.
2020-01-27 09:24:46 -08:00
Timmy Crawford
081afa256c
Change a/b test size of new onboarding to 50 percent.
2020-01-27 09:01:27 -08:00
vedanshujain
d768fcb139
Apply rounding only if value is integer to display "-" when needed.
2020-01-23 17:36:49 +05:30
Rodrigo Primo
8489d1bd33
Merge branch 'master' into fix/25394
2020-01-16 16:35:43 -03:00
Claudio Sanches
eedf82da38
Fixed coding standards
2020-01-15 20:40:55 -03:00
Claudio Sanches
5bafac3012
Improved maxmind_missing_license_key_notice logic
2020-01-14 23:32:55 -03:00
Christopher Allford
42269f965c
Added clarification that the MaxMind license key is not strictly necessary
2020-01-14 14:09:51 -08:00
Rodrigo Primo
241c6cd590
Make context for admin notice documentation more clear
2020-01-14 17:07:12 -03:00
Rodrigo Primo
23e1abe1dc
Fix typo in php docblock
2020-01-14 16:45:57 -03:00
Claudio Sanches
10cdbf88be
Use shop base address as default customer location
2020-01-14 16:29:48 -03:00
Claudio Sanches
978c5b5fb9
Apply woocommerce_maxmind_geolocation_display_notices filter in notices class
2020-01-14 15:22:53 -03:00
Claudio Sanches
1c874264d8
Removed MaxMind from System Status page
2020-01-13 21:48:23 -03:00
Joshua Flowers
902e1cc184
Check for the WooCommerce Admin class before adding notice
2020-01-13 17:43:27 +08:00
Christopher Allford
f5d07c954c
Adjusted the MaxMind license key notice to be clearer
2020-01-10 13:07:26 -08:00
Claudio Sanches
c3abe8ac65
Added missing license key notice and triggers
2020-01-10 15:07:05 -03:00
Claudio Sanches
cfeb07eaf7
Removed legacy code
2020-01-10 13:18:25 -03:00
David Levin
40c76b83a2
update order to play nice with gateways, add paid by customer when order is paid in full
2019-12-22 20:14:31 -08:00
David Levin
e4fcfc4d1a
add net payment calculation, and re-order refund item to bottom of rows
2019-12-20 14:28:06 -08:00
David Levin
34ff4544ff
trying to get net payment to work
2019-12-20 12:27:17 -08:00
David Levin
b7c455c9d1
Add line for net payment post refund
2019-12-20 12:06:11 -08:00
Rodrigo Primo
7337ab60c2
Fix PEAR.Functions.FunctionCallSignature violations
...
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Rodrigo Primo
86c1b61f03
Fix Generic.WhiteSpace.ScopeIndent violations
...
This commit fixes all violations of the Generic.WhiteSpace.ScopeIndent sniff automatically using phpcbf.
2019-12-20 14:48:11 -03:00
Rodrigo Primo
487f96d844
Fix WordPress.DateTime.CurrentTimeTimestamp vilations
...
This commit fixes all violations of the WordPress.DateTime.CurrentTimeTimestamp sniff automatically using phpcbf.
2019-12-20 14:23:05 -03:00
Rodrigo Primo
62d6b05b58
Fix Generic.Formatting.MultipleStatementAlignment violations
...
This commit fixes all violations of the Generic.Formatting.MultipleStatementAlignment sniff automatically using phpcbf.
2019-12-20 14:21:08 -03:00
Rodrigo Primo
94373f78ea
Fix WordPress.Arrays.MultipleStatementAlignment errors automatically using phpcbf
2019-12-20 13:51:26 -03:00
David Levin
b5bdb3dae0
change the order of shipping and fees in order line items
2019-12-19 12:11:50 -08:00
David Levin
25603cc190
display actual item price before discount in order item cost
2019-12-19 08:14:03 -08:00
David Levin
7ecae84d99
Rename coupons to discounts in order summary
2019-12-19 08:00:21 -08:00
David Levin
8c62fc72a6
update order summary totals
2019-12-19 07:53:35 -08:00
David Levin
5df30cdbd6
rename method to get fee totals
2019-12-18 21:34:40 -08:00
David Levin
c6cd7331f9
update order details summary with items subtotal and start to add fees
2019-12-18 20:51:45 -08:00
Justin Shreve
a5ee52a6c6
Add WP version check before recommending WooCommerce Admin
2019-12-18 09:29:21 -05:00
Rodrigo Primo
ae1717cd4f
Fix PHPCS violations automatically using PHPCBF
2019-12-13 17:51:14 -03:00
Rodrigo Primo
f06ad5d78a
Replace removed WordPress.Security.NonceVerification.NoNonceVerification
...
WordPress Coding Standard 2.0 removed the sniff
WordPress.Security.NonceVerification.NoNonceVerification:
```
The WordPress.Security.NonceVerification sniff used the same error code for both an error as well as a warning.
The old error code NoNonceVerification is no longer used.
The error now uses the Missing error code, while the warning now uses the Recommended error code.
```
(from
d45f5e5cf3/CHANGELOG.md (200-rc1---2018-12-31)
)
This commit updates WooCommerce code and replaces all instances where WordPress.Security.NonceVerification.NoNonceVerification verification was used with either WordPress.Security.NonceVerification.Missing or
WordPress.Security.NonceVerification.Recommended. In a few cases WordPress.Security.NonceVerification.NoNonceVerification was used but was not needed, so instead of replacing the sniff, the line was removed. In two other cases, I removed other unrelated sniffs that were not needed.
2019-12-13 17:45:32 -03:00
Rodrigo Primo
9c4de8f5e7
Fix indentation
2019-12-13 16:48:17 -03:00
Rodrigo Primo
d451b68488
Merge pull request #24929 from helgatheviking/feature/woocommerce_process_variation_object
...
Add woocommerce_admin_process_variation_object before $variation->save()
2019-12-13 16:46:22 -03:00
Peter Fabian
72925ef41c
Centralize check for default themes.
...
This should make Storefront appear in the Setup Wizard again.
2019-12-11 18:35:04 +01:00
Claudio Sanches
02ae29c8fc
Fixed support to older versions of WordPress
2019-12-10 22:12:50 -03:00
dsmithweb
5a17c63cc9
Update links
2019-12-10 18:41:55 -06:00
Claudio Sanches
57d5c88b13
Merge pull request #24876 from akshaya-rane/fix-product-bulk-edit
...
refs #24638 Fixed Stock status update on Bulk Edit
2019-12-10 12:29:48 -03:00
Peter Fabian
d8f49787a4
Better reflect variable purpose with updated name.
2019-12-10 14:22:30 +01:00
Peter Fabian
fd66112bb7
Add WP version number class to Setup Wizard/OBW body element.
2019-12-10 13:32:13 +01:00
Claudio Sanches
104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
...
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Claudio Sanches
5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
...
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00
Gerhard Potgieter
7d39222334
Merge pull request #25162 from woocommerce/fix/24018
...
Hid variable parent products from "Add Products" search on order page
2019-12-05 14:22:43 +02:00
Rodrigo Primo
6b61d5f025
Merge pull request #24934 from woocommerce/add/filter_invalid_variations_notice
...
Introduce show_invalid_variations_notice filter
2019-12-05 09:08:24 -03:00
Gerhard
216a86b558
Change filter name to woocommerce_show_invalid_variations_notice and also pass through the $product_object variable.
2019-12-05 08:08:07 +02:00
Claudio Sanches
5fdb880831
Merge branch 'master' into feature/24956
2019-12-04 16:18:39 -03:00
Claudio Sanches
8033d5751e
Changed wc_get_product_classname function name to wc_get_product_object
2019-12-04 16:15:16 -03:00
Claudio Sanches
24c473f932
Merge pull request #24991 from woocommerce/add/new-onboarding-ab-test
...
Onboarding - Show the new experience to 10% of new users
2019-12-04 11:00:23 -03:00
Christopher Allford
d3a7266848
Hid variable product types from "Add Products" search on order management page
2019-12-03 14:17:51 -08:00
Claudio Sanches
6a395e2485
Merge pull request #25064 from woocommerce/fix/24315
...
Optimize variable product duplication slug generation
2019-12-03 15:28:55 -03:00
Claudio Sanches
15ffaeee6b
Merge pull request #25101 from woocommerce/remove-call_user_func_array
...
Remove a few calls to func_get_args() and call_user_func_array()
2019-12-03 14:51:43 -03:00
Rodrigo Primo
7edd0561d3
Merge pull request #25098 from woocommerce/fix/wccom-back-url-encode
...
Url encode "wccom-back" param in in-app purchase product link
2019-12-02 18:00:55 -03:00
Rodrigo Primo
00896ffb11
Merge pull request #25026 from woocommerce/fix/25022
...
Made usage tracking link in setup more transparent
2019-12-02 17:19:10 -03:00
Claudio Sanches
2133ae9acb
Merge pull request #25132 from woocommerce/fix/24812
...
Added empty categories to the product exporter admin view
2019-12-02 17:01:41 -03:00
Rodrigo Primo
86f59dff09
Merge pull request #24961 from woocommerce/fix/admin-caching-incr
...
Changed wp_cache invalidation from using increment to using microtime.
2019-12-02 15:32:17 -03:00
Peter Fabian
309c48ab0e
Deprecated old cache function and replaced it with a new one.
2019-11-28 14:03:57 +01:00
Christopher Allford
44aed47f4d
Added empty categories to the product exporter admin view
2019-11-27 12:08:56 -08:00
Viszt Péter
3d6c3b3551
Fixes for alignment issues on the settings screen introduced by WP 5.3
2019-11-27 13:05:20 +01:00
Paul Dechov
7f65a33fe8
Honor tax rounding preference in edit item and refund flows
...
The default value ('no') of the setting to round taxes at subtotal was not being honored on the Edit Order screen, which resulted in off-by-one discrepancies between the checkout item total and the edited or refunded item total.
This change is to round to the proper precision (w.r.t. the 'woocommerce_tax_round_at_subtotal' setting) for the default value of the form, as well as when the values are dynamically recomputed.
2019-11-25 17:49:43 +05:30
Rodrigo Primo
193395ddf5
Simplify and modernize two methods
...
This commit replaces calls to call_user_func_array() with argument unpacking using the spread operator that was added in PHP 5.6 in the following methods:
- WC_Admin_Setup_Wizard::run_deferred_actions()
- WC_Mail::send()
2019-11-22 15:25:08 -03:00
Denis Dvali
0810c4a027
Url encode value of "wccom-back" GET param in product links on in-app marketplace.
2019-11-22 15:02:58 +03:00
Justin Shreve
1fabf2f145
Handle PR feedback
2019-11-21 12:23:05 -05:00
Justin Shreve
ff68f30c2c
Update opt-in value to 'yes'
2019-11-21 12:00:05 -05:00
Justin Shreve
18925f2218
Adds an a/b test for the new onboarding experience
2019-11-21 12:00:04 -05:00
Christopher Allford
8fd99a74b9
Added descriptive text to the usage tracking documentation link in the setup wizard
2019-11-20 12:47:56 -08:00
Christopher Allford
661f2b7722
Added a comment clarifying the suffix substring when checking slug uniqueness
2019-11-20 10:02:34 -08:00
Christopher Allford
55f49ae26a
Added an appropriate @since tag to the generate_unique_slug method
2019-11-20 09:55:35 -08:00
Rodrigo Primo
81187dc359
Merge pull request #25062 from itzmekhokan/fix/25056
...
Fixed issue #25056
2019-11-19 11:58:25 -03:00
Christopher Allford
753f39ff27
Added unique slug generation for variable product duplication
...
The standard wp_unique_post_slug() function will run one query per name collision, leading to a large number of queries being made when a product template is duplicated repeatedly. We can avoid this by doing the unique generation ourselves.
2019-11-18 13:49:41 -08:00
Christopher Allford
7f44e23813
Resolved all of the phpcs errors
2019-11-18 13:43:03 -08:00
khokan-cn
55e2a0e199
Fixed issue #25056
2019-11-18 18:03:59 +05:30
Claudio Sanches
ba0773d12e
Apply wc_get_product_classname() in the current code base
2019-11-13 15:30:09 -03:00
Claudio Sanches
0624894462
Introduced hooks before and after settings form
2019-11-13 13:20:18 -03:00
Christopher Allford
357cd28b77
Made the usage tracking information link in the setup wizard more transparent
2019-11-12 13:27:31 -08:00
Gerhard
40faecc8e7
Add show_invalid_variations_notice filter to hide the invalid variations notice.
2019-10-30 15:17:31 +02:00
Kathy Daring
e55af6431c
Add woocommerce_admin_process_variation_object before $variation->save()
2019-10-29 11:50:52 -06:00
Vedanshu Jain
8b04f37d22
Merge pull request #24810 from woocommerce/add/in-app-purchases-subs-cache-cleaning
...
Clean subscriptions' cache for auto-install flow
2019-10-25 10:27:47 +04:00
Akshaya Rane
19e3131d5e
Modified comment message
2019-10-22 10:56:08 +05:30
Akshaya Rane
b8cdeb2164
Fixed standards error
2019-10-22 00:21:44 +05:30
Akshaya Rane
8ed29fad7f
refs #24638 Fixed Stock status update on Bulk Edit
2019-10-21 22:45:05 +05:30
Julia Amosova
14e5d6b3ea
Capitalize `T` in `Move to trash` on order page
2019-10-18 14:44:47 +01:00
Rodrigo Primo
bb4ded8324
Update links to bug report and feature request issue templates
...
The name of the bug report and feature request issue templates was
changed in #24844 . This commit updates two places where links pointing
to those templates were outdated.
2019-10-17 16:28:01 -03:00
tgglv
b3c5dec0e7
Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning
2019-10-17 09:52:41 +05:00
Claudio Sanches
0112ee58a3
Merge pull request #24843 from sisou/patch-2
...
Use full year and 24h format in order note tooltip
2019-10-16 17:05:58 -03:00
Claudio Sanches
63c2bdafd2
Merge pull request #24793 from xristos3490/fix/24791
...
Fix/24791
2019-10-16 15:41:51 -03:00
tgglv
2ca1aeac42
Merge remote-tracking branch 'origin/master' into add/in-app-purchases-subs-cache-cleaning
2019-10-16 20:14:54 +05:00
Sören Schwert
8d0e37e6ca
Use full year and 24h format in order note tooltip
2019-10-16 14:59:36 +02:00
vedanshujain
451139e68e
Use MIN_PHP and MIN_WP constants in PHP_MIN_REQUIREMENT value so that we don't have to change it everytime.
2019-10-15 16:07:03 +05:30
vedanshujain
ec490409ea
Refactor to use constant so that we have easy way to reset admin notice version
2019-10-15 16:07:02 +05:30
xristos3490
9eafb785e9
Cleanup
2019-10-15 12:37:21 +03:00
xristos3490
16dac4864b
Add use of wp_unslash
2019-10-15 12:36:14 +03:00
tgglv
c277696b65
Make WCCOM helper subs cache cleaning public
...
Relates: https://github.com/Automattic/woocommerce.com/issues/6535
2019-10-11 17:59:39 +05:00
xristos3490
4e2205e17d
Fix file perms
2019-10-09 11:26:32 +03:00
xristos3490
d776c19dd4
Replace stripslashes with stripslashes_deep on non-scalar setting values
2019-10-09 11:25:41 +03:00
Gerhard Potgieter
2d796f825e
Merge pull request #24760 from jorostoyanov/jorostoyanov-patch-1
...
Add woocommerce_after_order_refund_item_name hook
2019-10-08 11:21:51 +02:00
Joro Stoyanov
5c55eea31c
Add woocommerce_after_order_refund_item_name hook
2019-10-03 08:53:10 +03:00
Claudio Sanches
78452a3f0f
Fixed post type count only when avaliable in REST API
2019-10-02 15:03:46 -03:00
Claudio Sanches
71d7ac5741
Removed duplicated include of WC_Admin_Importers
2019-10-02 11:35:27 -03:00
Vedanshu Jain
f15353cce5
Merge pull request #24745 from woocommerce/fix/24489
...
Also consider refunded item quantity while increasing stock.
2019-10-02 18:39:03 +05:30
vedanshujain
3c7e74f72d
Return early when diff is 0.
...
Earlier we were also update `_reduced_stock` meta everytime, but we don't need to when diff is 0 because this means that everything is already consistent.
2019-10-02 17:24:16 +05:30
Nico Mollet
8365365037
Removed space at the end of the line
2019-10-02 13:42:26 +02:00
Nico Mollet
5bcc35c24e
Coupon expiry date tooltip to help understand behaviour
...
Help understand if the date is included or excluded
2019-10-02 11:48:15 +02:00
Vedanshu Jain
7bb1a0babd
Merge pull request #24536 from nikhil-webkul/patch-3
...
Add back post type count to system status report
2019-10-02 14:47:48 +05:30
vedanshujain
d2d0bf8466
Also consider refunded item quantity while increasing stock.
...
When updating an order, we call `wc_maybe_adjust_line_item_product_stock` to see if any item stock needs adjusting. We were not considering if an item has been refunded, which was causing incorrect stock adjustments.
This fix also takes in to account that an order has been refunded partially or fully.
Fixes #24489
2019-10-02 13:42:19 +05:30
Gerhard
6d09d0efcf
Fix OWB sell in person vertical alignment
2019-09-30 19:31:50 +05:30
Vedanshu Jain
436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
...
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Rodrigo Primo
364661df4e
Merge pull request #24614 from yash-webkul/patch-3
...
Fixed escaping in class-wc-admin-dashboard.php
2019-09-26 13:41:34 -03:00
Justin Shreve
9dfdfbf532
Check the box if the user goes back to setup and previously checked it
2019-09-26 11:31:46 -04:00
Yash Kapoor
3ed83341fc
Fixed escaping in class-wc-admin-dashboard.php
...
Added that space which was removed in previous commit by mistake.
2019-09-26 10:12:34 +05:30
Rodrigo Primo
6f1b814b33
Merge pull request #24613 from yash-webkul/patch-1
...
Fixed escaping.
2019-09-25 20:29:00 -03:00
aaronlad
6bca35ddbe
fix #24671
2019-09-25 18:28:32 +01:00
Justin Shreve
0c3fc315c5
Update tracking opt-in UI.
2019-09-24 14:26:21 -04:00
Rodrigo Primo
1b699621be
Merge pull request #24639 from itowhid06/master
...
use `esc_html__` instead of `esc_html`
2019-09-23 12:32:23 -03:00
Rodrigo Primo
7cb614b41d
Merge pull request #24630 from nikhil-webkul/patch-5
...
Update class-wc-meta-box-product-images.php
2019-09-23 12:30:43 -03:00
Rodrigo Primo
5681cfe70c
Merge pull request #24618 from yash-webkul/patch-14
...
Added escaping.
2019-09-23 12:24:23 -03:00
Rodrigo Primo
01b86568aa
Merge pull request #24616 from yash-webkul/patch-13
...
Fixed escaping function.
2019-09-23 12:22:27 -03:00
Rodrigo Primo
36f691e7de
Merge pull request #24615 from yash-webkul/patch-4
...
Added escaping.
2019-09-23 12:20:41 -03:00
Towhidul Islam
780584230a
use `esc_html__` instead of `esc_html`
2019-09-15 21:27:49 +06:00
Nikhil Chaudhary
951c57ada1
Update class-wc-meta-box-product-images.php
...
Added escaping function where required.
2019-09-14 09:13:48 +05:30
Yash Kapoor
df8c0855a4
Added escaping.
2019-09-11 15:37:39 +05:30
Yash Kapoor
5c1a64026a
Fixed escaping function.
2019-09-11 15:12:34 +05:30
Yash Kapoor
e8c6fd272b
Added escaping.
2019-09-11 15:06:00 +05:30
Yash Kapoor
6ed6a753db
Fixed escaping in class-wc-admin-dashboard.php
2019-09-11 15:02:10 +05:30
Yash Kapoor
07ce4b9e1c
Fixed escaping.
2019-09-11 14:53:52 +05:30
itzmekhokan
5a54c87c55
Fixed issue #24588
2019-09-07 12:23:33 +05:30
Rodrigo Primo
fe2ec80b18
Merge pull request #24546 from woocommerce/fix/24534
...
Fixed markup in Storefront banner
2019-09-06 12:11:03 -03:00
Claudio Sanches
d13d6543f7
Merge pull request #24451 from woocommerce/add/in-app-connect
...
Add support to allow connect and install for in-app purchase flow.
2019-09-03 21:33:39 -03:00
Claudio Sanches
0ea56e0bab
Fixed coding standards
2019-08-30 14:33:59 -03:00
Claudio Sanches
49af62ba8b
Allow some HTML markup on addons banner
2019-08-30 14:29:08 -03:00
Nikhil Chaudhary
47e3f9bd3b
Update html-admin-page-status-report.php
...
Added the missing post type count section.
2019-08-30 11:46:04 +05:30
Nikhil Chaudhary
f2f0db602b
Update class-wc-admin-duplicate-product.php
...
Add escaping where required.
2019-08-29 12:39:09 +05:30
Claudio Sanches
e545833c0a
Merge pull request #24524 from yash-webkul/patch-22
...
Update html-variation-admin.php
2019-08-28 12:51:58 -03:00
Claudio Sanches
866a48db00
Merge pull request #24523 from yash-webkul/patch-21
...
Update class-wc-admin-addons.php
2019-08-28 12:45:24 -03:00
Claudio Sanches
ec1ba8db9c
Merge pull request #24522 from yash-webkul/patch-20
...
Update html-admin-page-addons.php
2019-08-28 12:45:06 -03:00
Claudio Sanches
0453cca9fd
Merge pull request #24521 from yash-webkul/patch-18
...
Update class-wc-admin-setup-wizard.php
2019-08-28 12:44:29 -03:00
Yash Kapoor
be141f3231
Update html-variation-admin.php
...
Fixed escaping function for attribute value.
2019-08-28 19:43:02 +05:30
Yash Kapoor
84d2fb7df5
Update class-wc-admin-addons.php
...
Fixed escaping function for attribute value.
2019-08-28 19:31:58 +05:30
Yash Kapoor
18208163d6
Update html-admin-page-addons.php
...
Fixed escaping function for attribute value.
2019-08-28 19:26:36 +05:30
Yash Kapoor
83b5450ceb
Update html-admin-page-shipping-zone-methods.php
...
Fixed escaping function for attribute values.
2019-08-28 19:23:01 +05:30
Yash Kapoor
6443515064
Update class-wc-admin-setup-wizard.php
...
Fixed escaping function for attribute values.
2019-08-28 19:16:24 +05:30
Claudio Sanches
cdd03f5f48
Merge pull request #24478 from marccoup/master
...
Fixed incorrect page setting id
2019-08-27 17:52:18 -03:00
Yash Kapoor
9517cd7877
Update html-product-csv-import-form.php
...
Fixed line indentation issue on line no 52.
2019-08-23 18:22:28 +05:30
Yash Kapoor
ef2d38097d
Update html-product-csv-import-form.php
...
Fixed escaping issue.
2019-08-23 18:04:52 +05:30
Yash Kapoor
9eed3757ae
Update html-product-csv-import-form.php
...
Fixed escaping issue.
2019-08-23 18:03:59 +05:30
Yash Kapoor
c3c91298b5
Update html-product-csv-import-form.php
...
Fixed data-showtext value.
2019-08-23 17:18:01 +05:30
Marc Coupland
bc42517c1a
Fixed incorrect page setting id
2019-08-23 11:16:29 +01:00