David Levin
3c92aacfcb
update shipping methods
2020-01-27 19:22:04 -08: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
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
d25178b793
rename fee method again
2019-12-18 22:19:34 -08:00
Matt Harvey
11ee9525b3
Merge branch 'update/order-details-3' into update/order-details-3
2019-12-18 22:09:59 -08:00
Matt Harvey
4326e39250
Leave other fee total logic alone, reduce the fee array to get a simple sum
2019-12-18 22:08:39 -08:00
David Levin
5df30cdbd6
rename method to get fee totals
2019-12-18 21:34:40 -08:00
Matt Harvey
73189340c8
Merge branch 'master' into update/order-details-4
2019-12-18 21:00:32 -08:00
Matt Harvey
4eeec4705d
Abstract fee calculation and expose as method to abstract Object class.
2019-12-18 20:58:39 -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
Rodrigo Primo
00c40dab1a
Add pay order product has enough stock filter ( #25230 )
...
* [#25021 ] Add filter when checking if product has enough stock while paying for order
* [#25021 ] Retain original < check, invert bool
* [#25021 ] Make filter more readable
2019-12-13 11:16:30 -03:00
Rodrigo Primo
e963d7cfab
Fix minor imprecision in wc_is_wp_default_theme_active() documentation
2019-12-13 09:59:20 -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
2975b3a7b7
Rate limit feature
2019-12-11 01:38:19 -03:00
Claudio Sanches
589d8c4591
Updated WooCommerce::$version
2019-12-10 22:55:08 -03:00
Claudio Sanches
f7632de06e
Merge pull request #25164 from om4james/webhook-delete-cache
...
Delete cached webhook data when a webhook is deleted
2019-12-10 22:45:42 -03: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
Andrej Mernik
d20d429e32
Add postcode validation for Slovenia ( #25174 )
...
Add postcode validation for Slovenia
2019-12-09 10:09:45 -03:00
Claudio Sanches
85635773e9
Fixed coding standards
2019-12-06 12:51:10 -03:00
Claudio Sanches
78e382e4d6
Fixed incorrect concatenation of variation sale prices with ".00"
2019-12-06 12:37:23 -03:00
Claudio Sanches
0d1d0d6653
Fixed coding standards
2019-12-06 11:18:13 -03:00
Claudio Sanches
b4af5f3c89
Updated regex to allow only one decimal point
2019-12-06 11:11:47 -03:00
James Collins
0246b02a94
Merge branch 'master' into webhook-delete-cache
2019-12-06 08:57:54 +08:00
Khokan Sardar
51252a6f8e
Fixed issue #24575 ( #24586 )
...
* Fixed issue #24575
* Fixed implementation for #24575
2019-12-05 21:23:40 -03:00
Juancho Pestana
b8217fa080
Fix #24365 : Prevent billing address from being updated on shipping update. ( #24374 )
...
* Prevent billing address from being updated on shipping update.
* Set billing address if empty.
* Fix coding standard issue.
* Fixed missing tab
2019-12-05 21:17:01 -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
Claudio Sanches
2e94410dc4
Merge pull request #24683 from n-dawson/fix-archive-orderby-param
...
Refine static homepage check to exclude blog archive queries. Fixes #…
2019-12-05 20:41:59 -03:00
Claudio Sanches
4ea81923da
Merge pull request #24935 from woocommerce/fix/24845-wpcom-customizer
...
Do not run send_frame_options_header when on the customizer
2019-12-05 20:28:55 -03:00
Rodrigo Primo
27915dd696
Exception when WC_Product_Variation is instantiated with the wrong type
...
This commits changes WC_Product_Variation to raise an exception when the
class is instantiated with an ID that belongs to a post object that is
not a product variation.
This is necessary to avoid problems like the one described in #24956
where passing a variable product ID to WC_Product_Variation would result
in transparently modifying the variable product title and excerpt.
2019-12-05 15:45:48 -03:00
Rodrigo Primo
61a843679a
Fix WPCS violations automatically using phpcbf
2019-12-05 15:45:12 -03:00
Claudio Sanches
d7e2a98aaf
Merge pull request #24828 from woocommerce/fix/24695
...
Adds shared code between Orders and Cart calculation logic.
2019-12-05 12:39:50 -03:00
Peter Fabian
44d39c369e
Fixed the PHPCS to reflect new rules.
2019-12-05 16:00:18 +01:00
Peter Fabian
4dfa68b62d
More PHPCS fixes.
2019-12-05 15:46:13 +01:00
Peter Fabian
2e81f21e29
Improved variable naming and comments.
2019-12-05 15:37:33 +01:00