claudiosmweb
cfb8d42bcb
Added missing vars in ajax add_variation() method, closes #6234
...
@mikejolley
2014-09-11 18:16:37 -03:00
Mike Jolley
ebed8dbc85
Correction to last commit to deal with tax arrays
2014-09-08 12:45:32 +01:00
Mike Jolley
a588442cbb
Format refund amounts as decimals
...
Fixes #6187
2014-09-08 12:42:30 +01:00
Mike Jolley
265ffee23a
Remove $can_be_edited in favour of ->is_editable()
...
For #6154
2014-09-03 10:09:04 +01:00
thenbrent
78d932e6d2
Add WC_Abstract_Order::is_editable()
...
To centralise logic used to determine if an order can be edited from
the Edit Order screen
2014-09-02 11:47:56 -07:00
thenbrent
30e95ab16e
Fix "remote" typo - should be "remove"
2014-08-27 13:05:35 -07:00
claudiosmweb
b08a0cf1f3
stopped deprecated warnings about like_escape() function since WP 4.0
2014-08-21 14:00:39 -03:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Mike Jolley
3f53512c7f
Fix up visibility of stock options, drop downs, and get_availability() when parent is managing stock for a variation.
...
Fixes #6017
2014-08-13 15:03:30 +01:00
claudiosmweb
066ba904cb
added $reason param in WC_Payment_Gateway::process_refund()
2014-08-07 15:57:29 -03:00
Mike Jolley
6e540c3bda
Pass is_ajax through from the ajax handler
...
Fixes #5910
2014-07-31 10:00:16 +01:00
Mike Jolley
ab5af6f930
Merge pull request #5827 from grey-rsi/master
...
class-wc-ajax.php
2014-07-30 12:20:42 +01:00
Mike Jolley
710a570525
Coded in Restore stock option
2014-07-25 11:29:24 +01:00
claudiosmweb
e634efa958
fixed tax calc when exists tax columns
2014-07-24 18:09:13 -03:00
claudiosmweb
2d61126502
added add_shipping and add_fee ajax actions
2014-07-24 17:55:25 -03:00
claudiosmweb
93b464cb29
improved the add_order_tax ajax method
2014-07-24 17:37:02 -03:00
claudiosmweb
5b3f69de0a
fixed the "calculate tax" action #3164
2014-07-24 17:33:26 -03:00
Mike Jolley
a10204894d
Clear transients after refunding
2014-07-24 16:03:52 +01:00
Mike Jolley
19b6922044
Refund line items and taxes
2014-07-24 15:34:14 +01:00
Mike Jolley
11835826de
A start on negative line items
...
@claudiosmweb
2014-07-23 17:41:35 +01:00
claudiosmweb
8edbd8fed5
fixed undefined variable $can_be_edited when add new line items via ajax
2014-07-22 17:33:49 -03:00
claudiosmweb
144d094ad2
created method for delete order tax
2014-07-20 22:57:23 -03:00
claudiosmweb
d875cfa1ac
created ajax method to add new taxes
2014-07-20 22:36:12 -03:00
claudiosmweb
5152457d9d
improved the saving the new tax data
2014-07-20 01:28:16 -03:00
claudiosmweb
f3ef446678
improved the order totals display
2014-07-17 18:17:42 -03:00
claudiosmweb
d321395946
created new methods to save and load the order items in shop_order screen
2014-07-17 17:17:54 -03:00
claudiosmweb
d7133035e1
added order items add shipping cost button
2014-07-16 15:41:18 -03:00
Mike Jolley
755001f19b
Use order types where required
2014-07-11 12:43:42 +01:00
Mike Jolley
eca4025f5e
Delete and display refunds
2014-07-10 16:39:10 +01:00
GreY
cb59771a2d
added do_action( 'woocommerce_after_product_ordering' ); to sync product translations menu_order value
2014-07-10 17:15:31 +03:00
Mike Jolley
280b884c28
Create refunds and process via gateway
2014-07-10 14:49:04 +01:00
Mike Jolley
d88279fe53
Start on ajax handlers
2014-07-10 13:33:05 +01: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
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
a9262cbaf2
Merge pull request #5555 from toddlahman/master
...
Confirm buffer is not empty before erasing
2014-06-27 14:21:51 +01:00
toddlahman
7d78888f12
sync fork with master
2014-06-26 03:30:09 -07:00
Mike Jolley
0f6f04e017
Added wc_stock_amount() core function and replaced intval
...
#4612
2014-06-25 11:25:28 +01:00
Mike Jolley
af77d8f12c
Only remove featured transient when featured changes
2014-06-19 12:25:10 +01:00
Mike Jolley
cf3cca4c8e
Merge branch 'feature-wc-create-order'
2014-06-18 16:07:29 +01:00
Mike Jolley
f37d6e12b8
Cleaned up ajax tax calc function
2014-06-13 15:54:08 +01:00
Coen Jacobs
89ea6c46ab
Replace new WC_Order calls with get_order
2014-06-13 15:24:51 +02:00
Mike Jolley
375a0e2652
static WC_Tax class - no need for a constructor in this
2014-06-12 16:47:43 +01:00
Kai Armstrong
1274ac3303
Reading the wp_die docs was apparently a giant mental challenge... fixed the fix for #5656
2014-06-11 15:24:27 -05:00
Kai Armstrong
c7410a1630
send proper status codes on die
2014-06-11 14:57:26 -05:00
Coen Jacobs
3ad8935b20
Removed ununsed global variables in local scopes
2014-06-08 22:33:11 +02:00
Mike Jolley
ded4b7404d
Admin changes for #5046
...
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Mike Jolley
22a37e860f
[2.1] When linking variations, use slugs #5490
2014-06-02 15:28:00 +01:00
toddlahman
fe43298021
Use wp_send_json() WordPress function for AJAX
...
The header(), json_encode(), and die(), functions are all executed with
a better logical routine that should provide consistent results.
2014-05-31 00:32:22 -07:00
Mike Jolley
e198ee517a
Made stateless classes static to allow unhooking of hooks
...
Closes #5151
2014-05-28 14:52:50 +01:00