Mike Jolley
91de767442
Product constructor setting post incorrectly
2015-01-20 14:00:30 +00:00
Mike Jolley
5404006b29
MAP Url method
2015-01-20 13:31:02 +00:00
Mike Jolley
de4129f9b2
WP_POST docs
2015-01-20 13:20:22 +00:00
Mike Jolley
5ab35bf212
Protected variables
2015-01-20 13:01:19 +00:00
Mike Jolley
b941636068
Deprecate unused and pointless get_billing_address() get_shipping_address() methods
...
@claudiosmweb
2015-01-20 12:39:21 +00:00
Mike Jolley
df66e0bcc8
Docblocks and code fixes in order class
2015-01-20 12:34:40 +00:00
Mike Jolley
2e624995b4
More magic properties and variable declarations in order class
2015-01-20 12:07:33 +00:00
Mike Jolley
ea13b90340
Define magic properties for address data
2015-01-20 11:23:17 +00:00
Mike Jolley
c0bea39c95
Seeing if magic properties are recognised
2015-01-20 11:06:15 +00:00
Mike Jolley
3716329b16
Prevent error when user does not exist
2015-01-19 14:50:06 +00:00
Mike Jolley
fef41c149c
@uses WP_POST
2015-01-15 15:03:12 +00:00
Andrew Benbow
fa8aeb605c
Update abstract-wc-order.php
2015-01-12 12:34:53 +00:00
Mike Jolley
cab9e14fcd
Use number format instead of round in get_item_subtotal()
...
Closes #6913
2015-01-05 11:42:10 +00:00
Mike Jolley
f847b92a0f
Merge branch 'wc-geolocation'
2015-01-05 10:18:25 +00:00
Mike Jolley
6800ee0ec3
Base vs default
2014-12-23 17:34:05 +00:00
Nicola Mustone
d6bf1e81f9
added variation ID in order stock notes
2014-12-23 12:01:11 +01:00
Mike Jolley
fd15ac4c64
Allow a cancelled order to be marked paid, if there is a payment delay
...
Closes #6810
2014-12-10 16:54:08 +00:00
Mike Jolley
3c82331a8b
Store discount 'tax' to show discounts on prices including tax more accuratly
...
Also deprecated some functions named after having 2 levels of discounts.
2014-11-25 13:05:03 +00:00
Mike Jolley
4a8c541fbf
Remove 'order' discounts from classes
2014-11-25 11:05:14 +00:00
Barry Kooij
f8a161c406
Documentation improvement.
2014-11-21 22:16:15 +01:00
Barry Kooij
ae1ed2b7f6
Added missing param docblock.
2014-11-21 22:14:13 +01:00
Barry Kooij
b131f250b6
Added missing docblock return statement.
2014-11-21 22:12:37 +01:00
Barry Kooij
64227fe9d8
Added missing docblock
2014-11-21 22:12:03 +01:00
Barry Kooij
33b53c30b5
Updated docblock and added return statement.
2014-11-21 22:09:46 +01:00
Gerhard
fa42c9d397
Change remove_order_items subqueries to inner joins.
...
Closes #6804
Hat tip Jason @ WPEngine
2014-11-21 09:18:31 +02:00
claudiosmweb
f34cead914
Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax()
2014-11-18 14:45:29 -02:00
Mike Jolley
e476a3f76b
Merge pull request #6785 from SiR-DanieL/make_clickable
...
Automatically creates clickable links in item metas
2014-11-18 16:21:29 +00:00
claudiosmweb
da43955416
Introduces the wc_get_default_location() function
2014-11-18 12:56:13 -02:00
Nicola Mustone
913cc42c06
Fixes https://github.com/woothemes/woocommerce-product-addons/issues/24
2014-11-18 14:22:21 +01:00
claudiosmweb
6077a10e44
Removed some dead variables
2014-11-18 10:42:54 -02:00
Mike Jolley
2e2ce3c286
[2.2] During refunds, correctly set shipping tax totals
...
Fixes #6691
2014-11-14 12:52:43 +00:00
Marin Atanasov
7c5be1ebde
fixing small typo
2014-11-11 22:32:06 +02:00
Mike Jolley
2b8be95360
Remove # (hash) from get_order_number and add to strings instead as needed.
...
Most places use Order #X
Some places use Order Number: X
Both are now valid.
Fixes #6518
2014-10-24 14:53:43 +01:00
Mike Jolley
1922b377e8
Corrected comment
2014-10-20 16:10:39 +01:00
Mike Jolley
e03cf9c204
Set order_type property, and move actual order loading to separate method to make it easier for sub-classes to handle just that process.
...
Closes #6513
2014-10-14 14:25:53 +01:00
Mike Jolley
30edd0aa05
[2.2] Prevent notice if meta is not set Closes #6514
2014-10-14 11:26:14 +01:00
Mike Jolley
742594e207
Tweaks to order class
2014-10-07 11:09:29 +01:00
Mike Jolley
700369c386
Refund report changes
...
1. Ensure refund order_total is negative and reflects the full amount,
not just line items
2. Ensure transients are cleared when doing refunds
3. sales-reports order types so we can exclude refunds from pure
‘sales’ reporting
4. Tweak placement of refunds in legend.
Closes #6411
2014-10-06 13:39:53 +01:00
mgiulio
56c2e5838d
Fix get_cart_tax() comment
2014-09-29 17:11:34 +02:00
Mike Jolley
493285f101
When updating order status, ensure its a valid WC order status.
...
Fixes #6285
2014-09-17 12:24:10 +01:00
claudiosmweb
066eb3c5b0
fixed wc_get_order_status_name() appear as wc 2.1 order status
2014-09-12 10:01:49 -03:00
claudiosmweb
591d3dc3be
added methods to dynamically get the address fields in WC_Checkout::create_order(), closes #6226
2014-09-11 17:12:17 -03:00
Mike Jolley
7ae41bb4ed
Fix - Ensure shipping address gets displayed - fixes needs_shipping_address() method.
2014-09-11 11:11:22 +01:00
Max Rice
55d3ba0d9d
Fix warnings with WC_Order::get_item_total()
...
When calling WC_Order::get_item_total() for a fee, $item[‘qty’] is not
set which causes a notice and warning.
2014-09-09 21:23:46 -04:00
claudiosmweb
2f1533ff94
created the wc_get_order_status_label() function
2014-09-09 14:14:10 -03:00
claudiosmweb
c85a71dcee
fixed the order status label
2014-09-09 14:00:37 -03:00
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Mike Jolley
1d13f767b3
Merge pull request #6157 from tamarazuk/coding-standards
...
Coding standards Part 1
2014-09-03 17:05:42 +01:00
Mike Jolley
349c85b639
Remove redundant wc_order_can_be_edited filter
...
#6154
2014-09-03 10:09:31 +01:00
thenbrent
3acfb14214
Store order's editable status in property
...
To save overhead of a function call
2014-09-02 12:27:26 -07:00