Coen Jacobs
6ab76b7ab0
Added parameter to get line subtotal filters
2014-05-26 16:44:36 +02:00
Manos Psychogyiopoulos
86b8e3e372
Add punctuation to fees
2014-05-14 18:22:55 +03:00
Mike Jolley
439ec0d4f6
Merge pull request #5425 from superdave2u/master
...
Updated the get_download_url() function - fixes #5424
2014-05-08 15:18:29 +01:00
Mike Jolley
3670afdffb
[2.2] get_user and get_user_id methods
...
Closes #5429
2014-05-07 15:11:34 +01:00
Dave Mainville
cabc84bf61
Closes #5424
2014-05-05 16:37:57 -04:00
Mike Jolley
ca9955fa9a
Update stock amounts with DB queries Closes #5367
...
@claudiosmweb and @coenjacobs please review
2014-04-25 15:28:02 +01:00
Mike Jolley
9b873093eb
Check has_file when sending order emails for downloadables
...
Fixes #5296
2014-04-24 16:00:01 +01:00
Mike Jolley
bf0fafa17b
If billing email is not set and user ID is set, use email
...
Fixes #5356
2014-04-24 14:45:57 +01:00
Mike Jolley
c09f710775
Merge pull request #5334 from ragulka/valid-order-statuses-improvements
...
Valid order statuses improvements
2014-04-23 15:07:15 +01:00
Illimar Tambek
f07ff6acb5
Introduce `woocommerce_valid_order_statuses_for_payment_complete` filter
...
Since it's possible to filter the valid order statuses for payments and cancels,
it only makes sense to be able to do the same when checking which statuses
are valid for completing a payment.
2014-04-17 19:28:52 +03:00
Akeda Bagus
2a97f07d47
Typo fix.
2014-04-15 22:56:35 +07:00
Mike
16463e339e
Change \WC_Order::add_order_note cap to edit_shop_order instead of manage_woocommerce
2014-04-03 14:33:54 +02:00
Mike Jolley
2f9860c583
Expanding line item_meta causes conflicts if attributes are named with things like 'name', 'type' or 'qty'. Added blacklist to exclude unsafe values. Closes #5100
2014-03-19 12:58:39 +00:00
justinstern
6dfce64e47
Don't trailingslash Order Cancel URLs with a Query String
...
With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/ That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
2014-03-11 00:04:49 -04:00
Mike Jolley
41183d1663
wc_delete_shop_order_transients functions and trigger when order status updates. Closes #4875
2014-02-26 15:43:19 +00:00
claudiosmweb
bc98201d26
added the payment method title in order details, closes #4281
2014-02-15 03:14:04 -02:00
Mike Jolley
3bfbc9dfc5
Fix paypal shipping via text
2014-02-13 16:06:48 +00:00
Mike Jolley
767eba990d
Return strings. Closes #4739
2014-02-12 12:21:36 +00:00
Coen Jacobs
9ae5cc5d8f
get_subtotal_to_display docblock update. Closes #4693
2014-02-10 13:38:25 +01:00
Coen Jacobs
8b8cc20dab
Merge pull request #4681 from thenbrent/master
...
Fix completing order payment for an order containing a deleted product
2014-02-10 10:30:01 +01:00
thenbrent
3187bfc32c
Fix completing order payment for deleted product
...
When marking payment as complete on an order which contains a product which has
since been deleted, a fatal error will be thrown because the product is assumed
to exist.
The specific error is `PHP Fatal error: Call to a member function is_downloadable()`.
It occurs when checking if the order status should be set as completed or processing,
by determining if the product on the order is downloadable and virtual.
This patch will mark an order as "processing" if the product has since been deleted.
2014-02-08 11:37:21 -08:00
claudiosmweb
7dd98549d9
updated the WC_Order version to 2.1.0
2014-02-07 15:55:30 -02:00
claudiosmweb
93b5678617
fixed some coding standards in includes/class-wc-order.php
2014-02-07 15:55:07 -02:00
claudiosmweb
1c13e994de
fixed the indentation in includes/class-wc-order.php
2014-02-07 15:41:28 -02:00
claudiosmweb
0d9752c04b
fixed docblock for WC_Order::get_formatted_line_subtotal, closes #4667
2014-02-07 15:41:09 -02:00
Mike Jolley
f46e6aefd7
Only show taxes in cart when taxes are enabled
2014-01-22 14:10:11 +00:00
Mike Jolley
858416605d
Don't resort meta in admin
2014-01-07 10:38:28 +00:00
Mike Jolley
cdb1ad5e9e
On cancel, use cart page unless otherwise defined. Closes #4375
2013-12-30 14:09:50 +00:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Gregory K
dd5a2fb334
PhpDocs
2013-11-27 13:20:31 -05:00
mihaigrigori
b19fb1ee09
Explicit currency for order prices
...
Set the currency for the order prices to be the order's currency instead
of the shop's currency. When these are different, the order emails are
misleading.
Related to https://github.com/woothemes/woocommerce/pull/4143
2013-11-27 11:15:20 +02:00
Coen Jacobs
19688ad9ef
Fixed several @return void clauses. There are more. No code changes in this commit, only PhpDocs
...
Closes #4216
2013-11-27 10:03:47 +01:00
Coen Jacobs
47ae00be28
Page functions woocommerce to wc refactor
2013-11-25 15:07:22 +01:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
aaa14894ca
Core functions woocommerce to wc refactor
2013-11-25 13:45:04 +01:00
Mike Jolley
43807a0488
Accessing currency wrong
2013-11-20 17:25:48 +00:00
Mike Jolley
0dc0b9cbb0
Indenting fail.
2013-11-20 16:13:53 +00:00
mihaigrigori
fac0bf69eb
Show order currency
...
- method to return the order currency
- allow 'currency' parameter for 'woocommerce_price'
2013-11-19 15:13:11 +02:00
Mike Jolley
3fd02a57d0
Locales - store standardised values, and display using locale in admin #3862
2013-11-12 17:43:30 +00:00
Coen Jacobs
c58621f3f8
Fixed docblock return type, closes #4057
2013-11-04 11:20:45 +01:00
Scott Basgaard
ea03af2ee4
woocommerce_exclude_order_comments() is now exclude_order_comments()
2013-10-26 17:30:43 +02:00
Mike Jolley
c7429357c7
Fix notices and rounding issues in orders
2013-10-25 20:02:21 +01:00
Mike Jolley
dee6bba05c
Fix get_item_subtotal
2013-10-25 13:25:53 +01:00
Mike Jolley
92fa4e379b
round tax reports
2013-10-24 16:19:28 +01:00
Mike Jolley
51aba21d76
Rounding + precision for taxes. Store unrounded. Round down (for the moment) for taxes
2013-10-24 13:15:42 +01:00
Mike Jolley
a112cb1d7d
Consistant method names Closes #3901 , return doubles instead of number formatted strings.
2013-10-17 12:43:44 +01:00
Mike Jolley
4cabf24422
needs_payment for 2.1 #3928
2013-10-16 14:14:15 +01:00
Bernard Peh
ad298f9007
need $this->id check in the update_status function to prevent an empty WC_Order object from calling it. If $this->id doesn't exists, update_status will insert another row in wp_posts because line 1226: wp_update_post(array('ID' => $this->id)) triggers it.
2013-10-10 20:52:36 +11:00
Illimar Tambek
bf6cb38445
Fix has_shpping_method function
2013-10-03 18:02:26 +03:00
Illimar Tambek
7cf58f920c
Add method to check whether an order has a shipping method or not
2013-10-03 17:59:08 +03:00
Mike Jolley
c20a44c423
Coupon usage limits per user (using email + ID). Closes #3314
2013-10-01 11:48:27 +01:00
Brent Shepherd
bbcc2441a4
Add new 'woocommerce_pre_payment_complete' action
...
And an action to fire when order status != pending|on-hold|failed
2013-09-24 19:54:04 -07:00
Mike Jolley
622715ec36
Option for itemized vs grouped taxes. Closes #3453 .
2013-09-23 16:10:09 +01:00
Mike Jolley
96a7a4b730
Restructure 'file_paths' to allow for names ( Closes #3320 ) etc. For #2765 .
...
@coenjacobs @justinstern @maxrice These are major changes - CC ing you
guys in to take a quick look through. I know some extensions such as
vouchers will be affected.
2013-09-20 17:01:09 +01:00
Brent Shepherd
f9a42a497d
Pass instance of WC_Order to its filters
...
So that extensions hooking to the filters know which order the current
filter is being applied to and can perform customisation on specific
orders (not just all orders).
Conflicts:
includes/class-wc-order.php
2013-09-02 14:31:11 +02:00
Mike Jolley
a66472d148
Order panel improvements + save multiple shipping methods
2013-08-16 16:43:26 +01:00
Mike Jolley
7cd4e46846
Cleaner orders items, and show meta in text until editing.
...
@coenjacobs this commit has the urldecode fix. Will move it over to
master/.14 later
2013-08-15 16:49:09 +01:00
Mike Jolley
f09fafe738
Meta box refactor
...
Closes #3458 .
2013-08-06 11:41:20 +01:00
Mike Jolley
981575491d
Review order columns Closes #2798 .
2013-07-31 15:12:53 +01:00
Mike Jolley
bf5716af3c
If admin user is logged in, link them to order notes. Closes #3433 .
2013-07-30 12:35:18 +01:00
Mike Jolley
ff0fc4fa31
Check function returns a product. #3526
2013-07-24 21:24:58 +01:00
Mike Jolley
725cb7714b
More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170 .
2013-07-23 17:05:01 +01:00
Mike Jolley
e296c9d538
woocommerce_new_order_note_data Closes #3379
2013-06-28 10:50:05 +01:00
Mike Jolley
5be00f2d32
Drop ucwords Closes #3369 .
2013-06-28 10:30:32 +01:00
Mike Jolley
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
c75ea04c1c
classes -> includes
2013-06-11 14:25:30 +01:00