Mike Jolley
d88279fe53
Start on ajax handlers
2014-07-10 13:33:05 +01:00
Mike Jolley
e7dc58ac31
Tidied up order script
2014-07-10 11:25:50 +01:00
Mike Jolley
0e418a2961
Helper for getting tax rate percent
2014-07-10 11:01:00 +01:00
Mike Jolley
8ccd716062
Fix parsefloat
2014-07-10 11:00:48 +01:00
Mike Jolley
4d45121791
Merge pull request #5817 from claudiosmweb/improved-refund-and-order-classes
...
Improved refund and order classes
2014-07-09 15:34:54 +01:00
claudiosmweb
31a8483b4f
created method to get the total amount already refunded
2014-07-08 16:59:38 -03:00
claudiosmweb
87d8cd1c95
set order_type for refunds
2014-07-08 16:41:07 -03:00
claudiosmweb
7d340abd6d
fixed the get_refunds() method in WC_Order class
2014-07-08 16:41:03 -03:00
claudiosmweb
235deeacfe
created get_refunds() method for WC_Order class
2014-07-08 15:23:22 -03:00
claudiosmweb
03d9ab0c81
created initial methods for WC_Order_Refund class
2014-07-08 15:22:58 -03:00
claudiosmweb
9d4ef6fd9b
add refund term in order_type when install
2014-07-08 14:27:46 -03:00
claudiosmweb
7e36d05c75
created order_type taxonomy
2014-07-08 14:23:11 -03:00
Mike Jolley
694f3a5744
Merge pull request #5810 from claudiosmweb/feature-create-order-refund-function
...
Initial refund class and function
2014-07-08 15:50:03 +01:00
claudiosmweb
73a273caf8
removed order_type hidden input in order actions meta box
2014-07-08 11:46:39 -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
Mike Jolley
c15b8e817c
split up meta box scripts
2014-07-08 14:14:41 +01:00
Mike Jolley
2282d76efb
More UI / Split up meta box scripts
2014-07-08 14:14:29 +01:00
Mike Jolley
5c0ea16a39
More refund UI -show qty boxes and totals
2014-07-08 10:51:10 +01:00
claudiosmweb
16953e96f8
save the order type when create a order with wc_create_order()
2014-07-07 17:23:43 -03:00
claudiosmweb
90110f300f
added order_type when save the order data
2014-07-07 17:11:40 -03:00
claudiosmweb
72aae0e69d
created order_type taxonomy and register_order_type() function
2014-07-07 16:19:51 -03:00
Mike Jolley
fdccaa21d3
Rough, non-functioning example of the UI for refund total and add items in the order items panel
...
#3164
2014-07-07 16:45:08 +01:00
Mike Jolley
5b6c574664
Use get_transaction_id
2014-07-07 11:44:35 +01:00
Mike Jolley
f6b78be21c
Prevent notices in factory
2014-07-07 11:44:27 +01:00
Mike Jolley
8a1d7707ac
PayPal implementation of Process_refund()
...
#3164
2014-07-07 11:44:15 +01:00
Mike Jolley
664dad3766
Process_refund()
...
#3164
2014-07-07 11:43:27 +01:00
Mike Jolley
979f2c0b48
Get transaction ID method
2014-07-07 11:43:06 +01:00
Mike Jolley
72396bf987
Add an order action to 'create credit note'
2014-07-04 15:20:29 +01:00
Mike Jolley
0b05f10995
Merge pull request #5787 from splashingpixels/bacs-html
...
moved h3 bank account title out of UL element for correctness
2014-07-04 11:04:14 +01:00
Mike Jolley
170399e5c3
Filter is_valid_for_product even when not relevant.
...
#5681
2014-07-04 11:03:12 +01:00
splashingpixels
63371ac520
moved h3 bank account title out of UL element for correctness
2014-07-03 11:54:36 -07:00
Mike Jolley
abe0d0004a
Merge pull request #5678 from coenjacobs/order-factory-refactor
...
Order factory refactor implementation (take two)
2014-07-03 15:14:43 +01:00
Mike Jolley
a4346d9c90
Fix shop page when using verbose page rules
...
cc @claudiosmweb
2014-07-03 15:14:00 +01:00
Mike Jolley
5946e3fd7c
$key should be $transient_name
...
#5777
2014-07-03 13:02:19 +01:00
Mike Jolley
ee48dcd5fd
Invalidate query transients to avoid cache flush
...
Part of #5777 . These transients are required and cannot be predicted.
If not using an external cache system, the DB is cleared still to keep
size down after invalidation.
For these 2 transients, invalidation occurs when visibility altering
product attributes are edited.
2014-07-03 12:59:57 +01:00
Mike Jolley
3974c1028a
Remove wp_cache_flush() Closes #5777
...
Carrying on from previous commits, the need for a wildcard delete for
products is unnecessary. This removes the $wpdb query and
wp_cache_flush()
2014-07-03 12:59:57 +01:00
Mike Jolley
ad2c483370
No need to clear all transients here - only clear parent's cache
...
Part of #5777
2014-07-03 12:59:57 +01:00
Mike Jolley
d1dbe4492e
Clear comment transients only on wp_update_comment_count
...
Does not need to be flushed when editing a product. Part of #5777
2014-07-03 12:59:57 +01: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
Mike Jolley
f8db5dff93
Merge pull request #5780 from afurculita/patch-1
...
Replace get_page with get_post
2014-07-03 12:19:05 +01:00
Alexandru Furculita
89718fb43b
Replace get_page with get_post
...
get_page is deprecated since WP 3.5
2014-07-03 13:25:50 +03:00
Mike Jolley
0448165c02
woocommerce_coupon_is_valid_for_cart
...
Closes #5681
2014-07-02 15:03:48 +01:00
Mike Jolley
12cf9edd52
Edit account form hooks
...
Fixes #5676
Closes #5677
2014-07-02 14:48:23 +01:00
Mike Jolley
8b2c4a3cb3
Merge pull request #5770 from shoheitanaka/patch-5
...
Correct the order of Japanese address fields
2014-07-02 13:58:57 +01:00
Mike Jolley
529b471470
Merge pull request #5771 from helgatheviking/fix/order-add_product-meta
...
wc_add_order_item_meta() the _line_total doesn't use the correct total
2014-07-02 13:58:48 +01:00
Mike Jolley
101254a6a3
Have get_product_from_item only return variable product if it exists, and show on the order item row if the variation no longer exists.
...
Fixes #5536
2014-07-02 13:58:10 +01:00
Kathy Darling
cf322e9625
wc_add_order_item_meta() the _line_total doesn't use the total
2014-07-01 10:48:30 -04:00
Mike Jolley
e28b868000
2.1.12 readme
2014-07-01 14:35:06 +01:00