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
Gerhard Potgieter
1e66cedaf0
Save order items before adding new one when there are unsaved changes. Closes #17384 ( #17402 )
2017-10-27 12:38:10 +01:00
Claudio Sanches
faa614ffa7
Merge branch 'master' into fix/17308-remove-item-reloads-unsaved-items
2017-10-25 19:47:54 -02:00
Claudio Sanches
f38a7d5cc0
Fixed coding standards and minify
2017-10-25 19:45:46 -02:00
Mike Jolley
ba39232a6a
Make select2 input focussed when the add item panel is shown.
...
Closes #17310
2017-10-20 16:33:12 -07:00
Gerhard Potgieter
ec1a70ad14
When deleting an order item and there are changes to other items, first save those before deleting.
2017-10-20 11:51:16 -07:00
Mike Jolley
e0421cd7bc
Replay protection on refunds
...
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.
Fixes #13614
2017-09-28 16:17:13 +01:00
Mike Jolley
e0b4d59bb6
Merge pull request #16566 from franticpsyx/reload-order-items-on-add
...
Reload items table after adding line item manually
2017-08-29 10:08:29 +01:00
Mike Jolley
f18a146d0f
Prompt to apply fee in admin
2017-08-23 11:22:18 +01:00
Manos Psychogyiopoulos
1596979d75
Reload order items on add
2017-08-22 15:19:20 +03:00
Mike Jolley
a9a93436fc
rename ajax method
2017-08-18 10:59:55 +01:00
Mike Jolley
1d95593131
Localise message
2017-08-18 10:58:11 +01:00
Mike Jolley
1efdb64b10
Remove css and js
2017-08-18 10:39:29 +01:00
Mike Jolley
e99471c0cd
Removed manual discounts code
2017-08-18 10:36:10 +01:00
claudiulodro
1b7bc60ea2
Fix fatal errors in bulk order item delete
2017-08-11 08:40:13 -07:00
Mike Jolley
87858d1407
recalc on remove/add
2017-08-10 16:32:24 +01:00
Mike Jolley
06381f28bd
Edit items rather than recreate
2017-08-10 11:38:09 +01:00
claudiulodro
360286bbbf
Forgot js
2017-08-09 15:18:39 -07:00
Mike Jolley
c556facd41
Fix percent coupon and display
2017-08-09 19:02:10 +01:00
Mike Jolley
f95a1e4231
Ajax trigger for button
2017-08-09 14:55:53 +01:00
claudiulodro
f02c9376c4
Move calls to selectWoo()
2017-06-26 12:44:33 -07:00
Mike Jolley
63e8221e2c
Add required placeholder for meta fields
...
Closes #14700
2017-04-26 11:35:34 +01:00
Mike Jolley
2a4103d776
Removed the non-functional order total input and combine the recalculation buttons into one working button.
...
Fixes #14494
2017-04-18 19:44:42 +01:00
Mike Jolley
f21997d661
Send items in one request rather than multiple requests
2017-02-23 10:19:32 +00:00
Mike Jolley
649f55b494
Load default country/state on edit
...
Closes #13061 Fixes #12899
2017-02-08 10:56:00 +00:00
Mike Jolley
1749551021
Customer crud
2016-11-24 15:31:05 +00:00
Rami Yushuvaev
e71cae8d8f
a11y: make order notes metabox accessible
2016-11-05 18:56:03 +02:00
Mike Jolley
b4e05154d7
Error handling for adding items
2016-08-25 14:22:27 +01:00
Mike Jolley
21ad196297
Use CRUD in wc_save_order_items
2016-08-19 13:43:33 +01:00
Mike Jolley
53511e36ec
Use permission id to revoke access to downloads to prevent removing wrong rows.
...
Fixes #11423 @claudiosmweb
2016-07-14 15:54:28 +02:00
Claudio Sanches
06dbc81d66
Always prevent default/return false #10907
2016-05-12 16:48:06 -03:00
corsonr
52f3cb3d8a
Add order note deletion confirmation
2016-05-12 10:04:32 +02:00
Mike Jolley
2cc0ac294e
Fix return on add_metadata
...
Fixes #10892
2016-05-11 15:28:40 +01:00
Mike Jolley
ca5a46a2f9
Allow bulk deletion of refunds
2016-03-23 16:32:12 +00:00
Mike Jolley
95de7f5a2c
Minor spacing issues
2016-03-23 13:06:15 +00:00
Mike Jolley
f73149feaf
Tweak variation display and reenable bulk editing
2016-03-22 17:13:39 +00:00
Mike Jolley
f1b3d0f708
Further layout tweaks
2016-03-22 14:54:02 +00:00
Mike Jolley
5862785522
Restyle items panel
2016-03-21 18:35:00 +00:00
Mike Jolley
7be2b129b6
Removed bulk actions from order items panel
...
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.
Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Mike Jolley
6f04ff1fa0
Replace size with length
...
Fixes #10444
2016-03-01 13:08:25 +00:00
Mike Jolley
007abbc98e
Shipping meta data
...
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley
5c43b34002
Avoid hardcoding admin input names for orders
...
Closes #9444 @claudiosmweb
2015-10-27 15:54:00 +00:00
Mike Jolley
1f6260a880
Use tax settings in backend and default to base country
...
Closes #9186
2015-10-05 15:31:58 +01:00
Mike Jolley
7c7057c2a7
Correct spelling of events
...
Fixes #9202
2015-10-01 11:04:26 +02:00
Claudio Sanches
7e63374aaf
Merge pull request #8735 from shivapoudel/backbone-modal
...
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Shiva Poudel
4cc26ab799
Backbone modal template to support wp.template
2015-08-06 10:22:53 +05:45
Claudio Sanches
bf3300cc0f
Fixed js coding standards on assets/js/admin/meta-boxes-order.js and removed a reserved namespace
2015-07-08 02:19:56 -03:00
Mike Jolley
bb77120619
Auto load customer details + tweak icons
...
Closes #8112
2015-05-15 12:52:25 +01:00
shivapoudel
882816e9f5
document.body selector and grunt default task
2015-04-13 22:08:06 +05:45
Claudio Sanches
1dadbb2842
Fixed coding standards for #7879
2015-04-13 12:37:22 -03:00
Danny van Kooten
88f2e690bb
Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ).
2015-04-03 14:21:47 +02:00
Nicola Mustone
090c499da9
missing semicolons
2015-03-03 14:41:52 +01:00
Mike Jolley
03711ee1ec
Fix change event on taxes and grunt dev
2015-02-11 15:00:28 +00:00
Mike Jolley
213fb59e32
Fix refund qty calc
2015-02-04 15:12:47 +00:00
Mike Jolley
9f8a7d1199
Remove datepicker icon's and use focus event
2015-01-30 12:54:33 +00:00
Claudio Sanches
a82aa2bd13
Fixed refund amount when product dont have taxes
2015-01-15 16:57:33 -02:00
Claudio Sanches
15c79dbaeb
Fixed stupidtable in order items and added arrows when stupidtable sort items
2015-01-15 14:30:42 -02:00
Claudio Sanches
017831f1c6
Fixed the backbone modal
2015-01-12 15:11:01 -02:00
Mike Jolley
9852d9c6ec
Order data JS select2 + refactor
2015-01-12 15:43:13 +00:00
Mike Jolley
2e82cbb311
Customer ajax searches
2015-01-12 13:04:19 +00:00
Mike Jolley
5c86e962e8
Hide restock checkbox until qty is input Closes #6937
2015-01-05 17:19:18 +00:00
Claudio Sanches
0accdf6f10
Set order status to refunded when completely refunded, closes #6981
2015-01-02 10:43:47 -02:00
Mike Jolley
fe34eb7bf8
Fix state box by seeing if states is empty object
2014-12-10 14:44:59 +00:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley
4ab54ee140
re-run stupid table on save
2014-11-26 16:50:05 +00:00
Mike Jolley
4bc63de72a
Added 'stupidtable' script to allow order item sorting on the order screen (by name, cost, qty).
...
Closes #5998
2014-11-26 15:37:06 +00:00
Mike Jolley
4a8c541fbf
Remove 'order' discounts from classes
2014-11-25 11:05:14 +00:00
James Koster
30a5c4bfdb
bye bye ajax loader gif.
2014-11-13 18:28:15 +00:00
Mike Jolley
af20848b46
Fix load/copy address #5949
2014-11-11 11:31:58 +00:00
Mike Jolley
d00998b16e
Fix default value for input box #5949
2014-11-11 11:24:02 +00:00
Mike Jolley
01091c304c
Fix conflicts in #5949
2014-11-11 11:23:44 +00:00
claudiosmweb
fbe890646b
Added keyup event for refunds gateway button
2014-11-04 09:15:20 -08:00
claudiosmweb
c385c56acc
fixed the order items qty calculation, closes #6209
2014-09-10 11:07:24 -03:00
Tamara Zuk
3418895ced
Trigger event on order items save
2014-09-10 00:17:12 -04:00
Mike Jolley
0af94c135b
Fix refund qty amounts
...
Fixes #6186
2014-09-08 13:07:12 +01:00
Tamara Zuk
0db4ab0f83
Coding Standards: Admin JS
...
Fixed spacing as per
http://make.wordpress.org/core/handbook/coding-standards/javascript/
2014-08-31 02:25:22 -04:00
thenbrent
30e95ab16e
Fix "remote" typo - should be "remove"
2014-08-27 13:05:35 -07:00
Gustavo Bordoni
0c6553b220
When modifying from a Country with Select Box to choose state it was duplicating the Chosen element
2014-08-02 18:34:30 -03:00
Gustavo Bordoni
f147f07232
Now using `Chosen` on the Selects from the Edit Order page
2014-08-01 01:47:03 -03:00
Gustavo Bordoni
022cffd078
Adding the Logic to parse and output the State/Country on the Edit Order Metabox
2014-08-01 01:27:22 -03:00
claudiosmweb
ba7a1a2e5c
prevented unnecessary scrollbar when viewing refunds
2014-07-25 13:35:59 -03:00
claudiosmweb
acaee93236
fixed refunds cancel button action
2014-07-25 13:32:16 -03:00
Mike Jolley
710a570525
Coded in Restore stock option
2014-07-25 11:29:24 +01:00