Peter Fabian
7b03fe62f3
Added event to track `Add fee` button click and Cancel in the prompt.
2019-06-27 13:21:37 +02:00
Peter Fabian
90c0954d21
Renamed add_fee event to added_fee.
...
Makes it consistent with e.g. coupon addition tracks.
2019-06-27 13:20:03 +02:00
Peter Fabian
7ef4cb637a
Fixed spacing issue.
2019-06-27 13:19:24 +02:00
Peter Fabian
930fd983cb
Merge branch 'add/new-edit-order-tracks' of https://github.com/woocommerce/woocommerce into add/new-edit-order-tracks
2019-06-07 14:59:11 +02:00
Peter Fabian
34c6933586
Added more params to the tracks.
2019-06-07 14:58:55 +02:00
Jeff Stieler
1bd9a7d9a7
Use a consistent tracks event naming scheme.
2019-06-07 12:31:42 +02:00
Peter Fabian
083c616f18
Added tracks to record when order note is added in edit order screen.
2019-06-07 12:04:38 +02:00
Peter Fabian
b880159dbe
Added tracks to record when products, fees, taxes or shipping are added to order in edit order screen.
2019-06-07 11:39:03 +02:00
Jeff Stieler
02785bc14c
Track adding coupons to orders on edit screen.
2019-06-07 11:31:53 +02:00
Jeff Stieler
02a7654532
Fix eslint errors/warnings.
2019-06-07 11:25:39 +02:00
Jeff Stieler
05ad6b260f
Track interaction with the order refund UI.
2019-06-06 18:18:46 +02:00
Peter Fabian
b22c788081
Added tracks for Recalculate button and edit/remove/save line items.
2019-06-06 18:14:21 +02:00
Jeff Stieler
a22c1dabf3
Track when billing or shipping address edit buttons are clicked.
2019-06-06 16:12:09 +02:00
Jeff Stieler
9776cbc2d8
Track order tax column deletion.
2019-06-06 13:18:29 +02:00
Rodrigo Primo
3d12ec4ae2
Remove extra comma to prevent issues with older versions of IE
...
This commit simply removes an extra comma that was added in
52fced8d7a
to prevent issues with older
versions of IE. I found this when running grunt to prepare the 3.6.4
release:
```
Running "jshint:all" (jshint) task
assets/js/admin/meta-boxes-order.js
413 | user_email : user_email,
^ Extra comma. (it breaks older versions of IE)
```
We might want to add jshint to the pre-commit hook and to Travis.
2019-05-27 14:38:54 -03:00
Gerhard Potgieter
b2ed079520
Manual orders coupon usage limits by email ( #23775 )
...
* Add functionality to wp-admin order to check for coupon usage based on email addresses, similar to how WC_Cart handles this seperately, included unit tests.
* Only do the coupon by email usage check if order is from a guest. Fix issue with unit test.
2019-05-27 11:45:29 -03:00
Chirag3119
58c3374276
#23602 - I have fixed issue.
2019-05-03 15:02:55 +05:30
Mike Jolley
308d08f97e
Run grunt tasks
...
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley
f2ca110a46
Add default text using .text()
2019-03-19 16:59:16 +00:00
Mike Jolley
5bb58cc14b
Add props via jquery, not direct
2019-03-19 16:59:08 +00:00
Mike Jolley
143068332d
Pass user ID when adding coupons via admin
2019-03-08 16:14:49 +00:00
Mike Jolley
e830bd739a
Use taxable address when adding/removing coupons
2019-02-21 16:23:20 +00:00
Mike Jolley
5bb5ae6265
Update from master
2019-02-18 16:54:24 +00:00
Mike Jolley
247fd3f610
Update notes with response
2019-01-03 13:37:32 +00:00
Mike Jolley
5ef45f51f6
Stock handling in ajax class only
2019-01-03 12:23:49 +00:00
Joshua Flowers
dc12b7d2d6
Use reload instead of assigning href to window.location
2018-12-17 10:27:20 +08:00
Joshua Flowers
a16eba8543
Strip hash from URL that prevents reload on refunds
2018-12-04 10:11:40 +08:00
Diego
b8d2f548f3
Added triggering of JS events on "recalculate" action on Edit Order page
...
* Ref. https://github.com/woocommerce/woocommerce/issues/21181
2018-08-24 09:56:20 +01:00
Mike Jolley
04e304921a
Show stock based on querystring var
2018-06-15 15:11:07 +01:00
Mike Jolley
52854b7690
Add qty to order via modal, include stock qty in formatted name display for reference
2018-06-08 16:18:32 +01:00
Mike Jolley
ce8eabc4a5
Include qty and reduce stock field on add item modal
2018-06-08 12:19:14 +01:00
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Manos Psychogyiopoulos
ee3388762f
Dry up code using 'reloaded_items'
2018-05-15 15:17:11 +03:00
Manos Psychogyiopoulos
285a86c3d4
Add 'wc_order_items_reload' and 'wc_order_items_reloaded' event listeners
2018-05-15 15:16:21 +03:00
Mike Jolley
1fa36b5f15
Fix JS state/country inputs
2018-03-09 16:25:42 +00:00
Claudio Sanches
ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
...
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Mike Jolley
6f855c781f
Fix response/ajax handling for #18080
2018-02-19 14:56:30 +00:00
Mike Jolley
5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
...
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Caleb Burks
c278bffa78
Set maxlength for order item meta key
2018-02-09 22:33:35 -05:00
Caleb Burks
cb154b5d40
Add button for copying DL link
2017-12-13 23:57:47 -06:00
Caleb Burks
274e5c3aa2
Hide manage stock buttons if inventory is disabled
2017-12-09 23:02:40 -06:00
Caleb Burks
bb3a500564
Woops - ignore xD
2017-12-09 22:48:49 -06:00
Caleb Burks
94ffd6ff29
Remove duplicate code
2017-12-09 22:47:23 -06:00
Caleb Burks
457e60d253
Allow for multiple stock updates at once
2017-12-09 22:22:41 -06:00
Caleb Burks
4f187a0840
Ajaxify the order note addition
2017-12-09 00:32:35 -06:00
Mike Jolley
72e078e83e
Merge branch 'fix/17236'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Mike Jolley
f54b240539
No need to reload if redirecting
2017-11-08 15:21:13 +00:00
Grzegorz Rola
56e8b8bc57
Refresh order edit page on every refund. Ie. when refund generates some data for custom meta boxes.
2017-11-04 16:40:52 +01:00
Mike Jolley
ecebe6271b
minify
2017-11-02 17:32:51 +00:00
Mike Jolley
10ea761a7d
Pass order location through to order ajax functions which recalc taxes.
...
Closes #17236
2017-11-02 17:31:03 +00:00