Mike Jolley
22cc1fb0c7
Add attributes with ajax and don't load all attributes at once.
...
Significantly improves performance with many attributes in admin.
Closes #6852 cc @claudiosmweb
2014-12-22 14:16:15 +00:00
Claudio Sanches
7e780a64b1
Introduces the woocommerce_restock_refunded_item and woocommerce_order_refunded actions, closes #6922
2014-12-19 10:29:47 -02:00
tc33
fb51984a6b
Fixes #6979 by fetching attribute slugs instead of names.
2014-12-18 20:09:07 +00:00
Barry Kooij
3f0a8be3d2
Merge branch 'master' into enhancement/checkout-order-review-error-handling
2014-12-11 12:10:53 +01:00
Brent Shepherd
1e8f25defa
Use wc_get_order() not new WC_Order()
...
Because an order might be a custom order type
2014-12-10 18:46:32 -08:00
splashingpixels
25b6377298
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-07 22:15:03 -08:00
Barry Kooij
438988d9c7
Added the possibility to display notices and/or force reload on order review.
2014-12-04 09:40:49 +01:00
Barry Kooij
36c98dae6d
Merge branch 'master' of github.com:woothemes/woocommerce
2014-12-02 12:58:00 +01:00
Barry Kooij
f105664805
Introduced 'woocommerce_ajax_calc_line_taxes' filter.
2014-12-02 12:57:53 +01:00
claudiosmweb
3ce620e4f3
Removed eXtremeGoHorse practices from WC_AJAX::calc_line_taxes() and wc_save_order_items()
...
cc @barrykooij
2014-12-01 21:55:48 -02:00
Mike Jolley
2c1c9896c5
Remove remove_variation and replace with remove_variations
2014-11-27 15:44:51 +00:00
Mike Jolley
44af56ff75
Simplify feature_product()
2014-11-27 15:40:39 +00:00
Mike Jolley
e3c1ebc927
Simplify mark_order_status()
2014-11-27 15:37:42 +00:00
Mike Jolley
2e398a3a79
Decoupled the order summary and payments area. Both are updated independently via ajax fragments and can be moved around via actions. TEMPLATES OVERRIDING THESE TEMPLATES WILL NEED TO UPDATE THEIR FILES.
...
Closes #5781
Closes #6570
2014-11-26 14:19:53 +00:00
Mike Jolley
8b4332a037
Refactors to shipping tax rate methods
2014-11-21 13:06:33 +00:00
Illimar Tambek
d510372d64
DRY up mark_order_{$status}
2014-11-19 14:13:24 +02:00
Mike Jolley
b3782fa1a5
Removing Mijireh from core 2.3
2014-11-18 16:37:43 +00:00
Mike Jolley
3d1285c8c4
Allow some limited html in text attributes
...
Fixes #6620 . @claudiosmweb @barrykooij see any issues with adding this
one? Doesn’t appear to break anything…
2014-10-29 10:29:51 +00:00
Mike Jolley
d90aee6685
Add fallbacks for wp_get_referer()
...
Closes #6609
2014-10-23 12:13:42 +01:00
Mike Jolley
6f7ff36940
Prefix filter names #6576
2014-10-20 16:12:35 +01:00
Primoz Cigler
bbdcdc923a
Added the filter for the ajax cart_hash, because in some cases (for example when using WPML) the empty string does not refresh the page fragments properly.
2014-10-18 20:54:25 +02:00
claudiosmweb
bc1ea4fdea
woocommerce_ prefix in refund actions, related #6477
2014-10-09 13:15:42 -03:00
75nineteen Media
f57de2cf9a
Added two hooks to support refund Followup Emails
2014-10-07 15:58:21 -07: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
Nicola Mustone
1337c9cd7b
Added $user_id
2014-09-29 09:13:56 +02:00
Nicola Mustone
12129218fb
woocommerce_found_customer_details filter improvement
...
Adding $type_to_load attr to woocommerce_found_customer_details filter
2014-09-26 10:28:46 +02:00
Mike Jolley
4803937222
Fix adding items to orders
...
* Fix - When manually adding items to an order, show tax columns.
* Fix - When manually adding items to an order, include variation data.
Closes #6313
2014-09-19 12:52:26 +01:00
Mike Jolley
955f497dd7
Prevent headers being sent by wp_send_json()
...
Fixes #6244
2014-09-16 13:24:05 +01:00
Mike Jolley
79ce7ab926
If a refund fails, delete refund post.
...
Fixes #6238
2014-09-12 10:09:26 +01:00
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