claudiosmweb
23628ad430
fixed undefined offset in wc_create_refund()
2014-07-23 13:56:43 -03:00
Mike Jolley
11835826de
A start on negative line items
...
@claudiosmweb
2014-07-23 17:41:35 +01:00
claudiosmweb
954a5ddc23
only show refund via button when gateway supports refunds #3164
2014-07-22 12:13:35 -03:00
Mike Jolley
93155c9e11
Do not use before init.
...
#3164
2014-07-22 14:30:42 +01:00
claudiosmweb
93cf3c88bd
initial implementation of order items taxes
2014-07-19 01:08:02 -03:00
claudiosmweb
c1b8878587
removed order_type taxonomy from wc_create_refund()
2014-07-11 15:39:20 -03:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Mike Jolley
2545e55b73
wc_get_order_types and wc_register_order_type
...
Uses CPT rather than terms. #3164
2014-07-11 10:42:49 +01:00
Mike Jolley
280b884c28
Create refunds and process via gateway
2014-07-10 14:49:04 +01:00
claudiosmweb
87d8cd1c95
set order_type for refunds
2014-07-08 16:41:07 -03:00
claudiosmweb
7e36d05c75
created order_type taxonomy
2014-07-08 14:23:11 -03:00
Claudio Sanches
9701cfe2a7
Revert "order_type taxonomy and register_order_type() function"
2014-07-08 14:10:37 -03:00
claudiosmweb
840def82e7
fixed tax default value
2014-07-08 11:44:12 -03:00
claudiosmweb
1ba7788991
fixed refund tax
2014-07-08 11:34:09 -03:00
claudiosmweb
09cb28a7bb
created initial refund class and function
2014-07-08 11:32:47 -03:00
claudiosmweb
72aae0e69d
created order_type taxonomy and register_order_type() function
2014-07-07 16:19:51 -03:00
Coen Jacobs
86a4add087
Merge remote-tracking branch 'upstream/master' into order-factory-refactor
...
Conflicts:
includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
claudiosmweb
7fd6e9f0a0
moved the wc_ship_to_billing_address_only() function to wc-order-functions.php
2014-06-17 17:39:02 -03:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Coen Jacobs
4ca9855bec
get_order wrapper function for new factory
2014-06-13 15:21:10 +02:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
f30e95663b
Prefixes for queries
2014-06-03 11:29:01 +01:00
Mike Jolley
9307fcf66b
Internal wc- prefix and get_status filter
2014-06-03 11:04:56 +01:00
Mike Jolley
309f700283
has_status
2014-06-03 10:45:33 +01:00
Mike Jolley
51201d0a6b
Update script
2014-05-30 18:27:41 +01:00
Mike Jolley
e0a74fffc4
implement is_status()
2014-05-30 17:43:21 +01:00
Mike Jolley
fca32a98de
Implement is_status functions and update_status
2014-05-30 17:16:22 +01:00
Mike Jolley
83b4845250
Optimise order functions for post statuses
2014-05-30 16:09:28 +01:00
Mike Jolley
55f087b20e
wc_get_order_statuses function
2014-05-30 16:03:11 +01:00
Max Rice
f5d3d1d74f
Clear cached API reports when deleting shop order transients
2014-04-22 15:01:08 -04:00
Mike Jolley
97c92bc7c8
Prevent notices on activation Closes #5216
2014-04-07 15:57:52 +01:00
Mike Jolley
8615d06a33
Refactored report transients to use fixed names based on the report classname. Allows use of delete_transient and Fixes #5041
2014-03-20 11:10:25 +00:00
Mike Jolley
9d1cb8316f
Correct property #5041
2014-03-18 11:18:35 +00:00
Mike Jolley
251b8b411f
Clear object cache for orders + products #5041
2014-03-18 11:09:56 +00:00
Mike Jolley
c27a5a3f4d
Merge pull request #5082 from crazyscience/patch-2
...
Fix for Issue #3367
2014-03-12 14:37:40 +00:00
Coen Jacobs
3617316357
Updated expiry times for transients
2014-03-12 12:58:41 +01:00
crazyscience
9898aee867
Fix for Issue #3367
...
Fixed a bug where the application attempts to schedule an event using a function name rather than a hook name
2014-03-07 11:17:11 -08:00
Coen Jacobs
03163c54b0
set_transient calls should have expiration to prevent autoloading
2014-03-07 09:29:01 +01: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
Mike Jolley
1e1490894e
Code standards
2014-02-17 10:50:36 +00:00
Mike Jolley
b22abbda90
Order status check needs to be inside wc_downloadable_product_permissions so permissions are granted after completion. Closes #4826
2014-02-17 10:50:00 +00:00
Mike Jolley
e3b5df7ce2
Merge pull request #4388 from niravmehta/master
...
Expiry date calculation based on order completion date
2013-12-23 05:22:25 -08:00
Ratnakar
0faf26cbd2
Expiry date calculation based on order completion date
2013-12-17 10:37:19 +05:30
Justin Stern
ae91c698f2
Downloadable File Fixes/Tweaks
...
* Hooked up new downloadable product permissions function to
completed/processing actions
* WC_Product::get_files() is used rather than the underlying
_downloadable_files meta directly
* $this is passed to downloadable product filters in WC_Product in place
of $this->id which doesn't does not afford you the particular variation
when a product variation is being used.
2013-12-16 18:27:57 -05:00
Coen Jacobs
3e6acf7aab
Code changes for #4252
2013-12-02 12:34:27 +01:00
Gregory K
7b38c7300b
Inconsistent return types: mostly TODOs, some fixes
2013-11-29 13:50:31 -05:00
Coen Jacobs
f7df17db1c
Order functions woocommerce to wc refactor
2013-11-25 14:54:52 +01:00
Scott Basgaard
8a45886a4c
Use $_product object instead of undefined $product_id for downloadable permissions. Fixes #4095
2013-11-12 23:37:39 -05:00
Leonard
24c57f35fd
Fix: Download permissions not granted on order completion.
...
$downloads was being built from a function that tried to read from the permissions table and not from the correct post meta which it actually needed. This resulted in having to manually grant permissions for each order made.
Original symptom was download links not appearing on order completion screen or completion e-mail.
2013-10-19 13:56:57 +01:00
Illimar Tambek
64c09cabd7
Add array to woocommerce_downloadable_file_permission_format
2013-09-24 11:10:46 +03: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
Illimar Tambek
b794d183b1
Remove trailing leftover bracket
2013-09-10 17:08:20 +03:00
Illimar Tambek
f138007f1a
Add product download access grant/revoke hooks.
2013-09-10 14:26:31 +03:00
Mike Jolley
57157db9bf
Function refactoring.
2013-08-09 17:11:21 +01:00