TimBHowe
f488f46b37
remove the pattern constraint on the flatrate input in the setup wiz
2020-01-28 11:01:13 -05:00
TimBHowe
d377f002aa
Added pattern attribute to the flat rate cost input field to only allow US and EU currency formating
2020-01-28 10:44:37 -05:00
TimBHowe
8b71dc0abb
Updated the wc_setup_shipping_save() function to sanitize the flatrate cost input
2020-01-28 10:44:36 -05:00
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