Claudio Sanches
d48f1d4e2e
Fixed package tag usage
2020-08-05 13:36:24 -03:00
Ron Rennick
d3ab19b7cf
eliminate internal use of deprecated functions
...
- remove deprecation of offsetGet as it is used throught abstract order
- eliminate use of offsetGet in unit tests, structured data, order functions
-
2020-07-17 17:14:26 -03:00
Ron Rennick
5ee0eccb7b
add/update correct deprecated notices on existing deprecations
2020-07-16 17:13:08 -03:00
Mike Jolley
22ce8aa8b8
Order items respect wc_round_tax_total
2019-01-11 13:20:57 +00:00
Claudio Sanches
e70f278123
Fixed includes/class-wc-order-item-fee.php PHPCS violations
2018-03-21 00:39:37 -03:00
Mike Jolley
a57edb97a7
Use passed location
2017-11-15 12:14:55 +00:00
lars
73bc8b8e6c
added actions and filters to modify tax calculation for shipping taxes and fee taxes #16938
...
Filters and actions are needed to ensure correct tax calculation by
German law.
The filter in class-wc-cart-totals.php is used to modify fee tax
calculation during checkout and in cart.
The actions in the other files are used to modify tax calculation in
backend for manual orders.
2017-09-28 12:52:55 +02:00
Mike Jolley
804feb9333
Store fee amount and prevent totals going negative
2017-08-23 12:15:06 +01:00
Mike Jolley
8dbd9b88a7
Admin calc
2017-08-22 16:26:35 +01:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
9c988b3412
Merge branch 'master' into fix#13454
2017-03-03 10:52:14 +00:00
faisal-alvi
8b579bb820
fix#13454
2017-03-03 15:18:59 +05:30
Claudio Sanches
2dc3033c1e
Better fees description
2017-02-24 15:38:14 -03:00
Justin Shreve
474a307420
Introduce get_tax_class_slugs.
2017-01-25 13:38:13 -08:00
Mike Jolley
b9bb8eabba
Fix order item meta
2016-11-24 11:50:34 +00:00
Justin Shreve
a7cb7e011c
Only return a fallback system when we are in the view context, so we don't overwrite.
2016-11-21 10:57:33 -08:00
Justin Shreve
51a55b6782
Add interface, renaming main order item data store to abstract. Various fixes.
2016-11-21 10:57:33 -08:00
Justin Shreve
b20b3590c8
First pass at order items
2016-11-21 10:56:21 -08:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
9bd57414c5
Remove set and get prop - no longer need the extra overhead since functions won't return wp_error now.
2016-08-26 10:48:17 +01:00
Mike Jolley
3637814b92
Revert use of default_data for default args and just set that in constructor
2016-08-25 13:31:03 +01:00
Mike Jolley
25883f8687
Set_props helper to load data from DB and handle errors
2016-08-25 13:05:27 +01:00
Mike Jolley
a8dc46cfdf
Default line item data
2016-08-24 16:06:35 +01:00
Mike Jolley
d9798f7226
Set reading to prevent exceptions during DB load
2016-08-24 14:37:19 +01:00
Mike Jolley
53f01b52a8
Bring back WC_Data_Exception
2016-08-24 10:46:29 +01:00
Mike Jolley
2636d04ba6
Setters
2016-08-23 15:25:50 +01:00
Mike Jolley
b1bd1c2227
Fee
2016-08-23 15:02:57 +01:00
Mike Jolley
594bceedf2
Comment out exception code - see #11715
2016-08-17 17:07:30 +01:00
Mike Jolley
709dec9ef1
Create and update handling
2016-08-17 16:53:01 +01:00
Mike Jolley
3755049d86
Fix item data
2016-08-17 11:45:07 +01:00
Mike Jolley
1baef12395
qty -> quantity
2016-08-16 12:36:38 +01:00
Mike Jolley
a1adf0cf78
Order item classes
2016-06-21 20:10:09 +01:00