Mike Jolley
5ef45f51f6
Stock handling in ajax class only
2019-01-03 12:23:49 +00:00
Mike Jolley
184b121eb8
Use adjust stock handling
2019-01-02 17:09:45 +00:00
Ron Rennick
292c5c5dcc
strip slashes from tax classes on save
2018-12-19 15:22:04 -04:00
Gerhard
fae1e1cce1
Make links in order notes clickable.
2018-11-15 14:27:26 +02:00
Refael Iliaguyev
127f1cb276
Use WC() instead wc() for consistency
2018-11-08 12:59:07 +02:00
Claudiu Lodromanean
b551f57173
Merge pull request #21769 from nishitlangaliya/issue-21765
...
fix: Manually adding fee on order generate html code
2018-11-05 15:27:33 -05:00
nishitlangaliya
b7cf72d626
fix: save fee name without html from base source
2018-11-03 00:19:30 +05:30
Claudio Sanches
a1875a135e
Added exception for when a non-admin user tries assign API keys to an admin
2018-11-02 10:21:18 -07:00
Khan M Rashedun-Naby
439bd54ce5
The variable should be 0 rather than empty string
2018-10-16 14:23:43 +06:00
Khan M Rashedun-Naby
7940694ce4
Removed Unnecessary Variable.
2018-10-16 13:25:56 +06:00
Frédéric Demarle
7c3ef6cc27
Fix missing punctuation mark a the end of the comments
2018-10-04 20:22:18 +02:00
Frédéric Demarle
e20ce00101
Fix ajax responses not testable when calling wp_send_json_success in a try block
2018-09-28 13:42:51 +02:00
claudiulodro
178f98ff65
Fix attribute saving
2018-09-19 11:35:46 -07:00
Peter Fabian
964ee9ac1a
Unslash city name to prevent double escape.
2018-08-27 18:33:14 +02:00
Peter Fabian
2e350fe5b7
Small PHPCS fix.
2018-08-24 09:21:49 +02:00
Peter Fabian
f5fd36fbdf
Updated order of array traversal to respect user's order when changing order of attributes for variations.
2018-08-23 18:41:28 +02:00
Florian Ludwig
0f6f6814ad
Moves cart hash calculation to WC_Cart class
2018-08-14 18:08:55 +02:00
Claudiu Lodromanean
2a3cedddcd
Merge pull request #20520 from woocommerce/feature/product-custom-tables-supporting-changes
...
Product custom tables supporting changes
2018-06-27 08:57:50 -07:00
Mike Jolley
f9530c3ba2
Remove order again from URls
2018-06-22 13:32:21 +01:00
Rodrigo Primo
b6e73f528b
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-15 14:56:31 -03:00
Claudiu Lodromanean
fc02687545
Merge pull request #20470 from woocommerce/update/20454
...
Support limiting search results
2018-06-15 09:03:07 -07:00
Mike Jolley
5e6405b650
Merge branch 'master' into update/13359
2018-06-15 15:12:12 +01:00
Mike Jolley
04e304921a
Show stock based on querystring var
2018-06-15 15:11:07 +01:00
Mike Jolley
01a3e359c3
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-13 10:18:38 +01:00
therealgilles
3818598811
Rename woocommerce_checkout_skip_update_order_review_expired to woocommerce_checkout_update_order_review_expired and change filter polarity.
2018-06-11 20:29:16 +00:00
therealgilles
1d733236e0
Merge branch 'master' of https://github.com/woocommerce/woocommerce
2018-06-10 18:53:13 +00:00
Mike Jolley
81149157a3
woocommerce_json_search_limit filter
2018-06-09 17:22:26 +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
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Mike Jolley
4df54b4e53
Merge branch 'master'
2018-06-07 11:24:12 +01:00
therealgilles
830e42794e
Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls.
2018-05-23 20:40:23 +00:00
therealgilles
f7ec8c22de
Add woocommerce_checkout_skip_update_order_review_expired and woocommerce_checkout_skip_cart_is_empty_check filter calls.
2018-05-23 20:08:14 +00:00
Claudio Sanches
09f7425fea
Just use exit() in AJAX endpoints used to redirect users
2018-05-23 10:50:49 -03:00
Mike Jolley
be63fb152a
Preview checkout without dummy product
2018-05-22 11:19:09 +01:00
Mike Jolley
1ff5520512
Pass through JSON context when getting zones for JSON responses and scripts
2018-05-09 17:41:33 +01:00
Claudiu Lodromanean
305167efba
Merge pull request #19933 from franticpsyx/deprecate-woocommerce_ajax_added_order_items
...
[3.4] Deprecate woocommerce_ajax_added_order_items action
2018-05-03 08:03:55 -07:00
Mike Jolley
06ef8c8589
Hook doc update
2018-05-02 14:28:53 +01:00
Manos Psychogyiopoulos
1895bbe3f3
Deprecate woocommerce_ajax_added_order_items action
2018-05-02 14:49:24 +03:00
Rodrigo Primo
597033ca6f
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-04-24 13:47:22 -03:00
Mike Jolley
bd539e38f0
Remove output buffering
2018-04-19 18:27:29 +01:00
Khan M Rashedun-Naby
74c2ceb3d1
Removed unnecessary variable.
2018-04-17 00:09:30 +06:00
Mike Jolley
1b34cd4745
Moved settings tabs around to allow for privacy page.
2018-04-12 16:59:42 +01:00
Mike Jolley
47fbd79d8f
Clear shipping transient when saving shipping method on zones screen
2018-04-10 12:25:09 +01:00
Rodrigo Primo
bb553c88ae
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-29 12:05:55 -03:00
Mike Jolley
04eadf13ac
Merge branch 'master' into update/18894
2018-03-08 13:08:40 +00:00
Rodrigo Primo
3a480e5d80
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-03-01 08:02:08 -03:00
Mike Jolley
f3ab50d962
Merge pull request #19135 from Chouby/ajax_wp_die
...
Replace exit by calls to wp_die() in ajax responses
2018-02-27 19:09:41 +00:00
Mike Jolley
e1beda3eb0
Use relative scheme for ajax endpoint
2018-02-26 18:51:46 +00:00
Frédéric Demarle
b2f59b0da5
Replace exit by calls to wp_die() in ajax responses
2018-02-26 18:27:25 +01:00
Mike Jolley
f8edd02285
phpcbf auto fixes
2018-02-22 15:37:01 +00:00
Mike Jolley
9571a90c9f
phpcs
2018-02-22 14:30:13 +00:00
Mike Jolley
0f85e00af1
Product search functions should check for read access, not edit access
2018-02-22 14:11:27 +00:00
Claudio Sanches
fe83dfdba7
Merge branch 'master' into fix/18545
2018-02-21 19:15:45 -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
Gerhard Potgieter
780905cd0e
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-02-08 10:11:27 +02:00
Mike Jolley
3ce51d9791
JSON context
2018-01-22 14:11:43 +00:00
Gerhard Potgieter
8e6afdfdc7
Fix indentation
2018-01-19 09:57:27 +02:00
Gerhard Potgieter
b495e803e8
Reworks the ajax user lookup so it caters for numeric usernames without affecting performance of lookups by ID.
2018-01-19 09:52:05 +02:00
Mike Jolley
a110180643
Saving taxes should invalidate caches.
2018-01-18 17:47:26 +00:00
Mike Jolley
672a31e7c6
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-01-16 10:40:19 +00:00
claudiulodro
cdad70a6b1
Safety first
2018-01-03 13:40:51 -08:00
claudiulodro
afdc737ec5
Ajax add to cart button shortcode fix for variations
2018-01-03 13:38:06 -08: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
Caleb Burks
2237c35912
Set $added_by_user to true
...
These stock updates are done manually
2017-12-08 22:33:09 -06:00
Caleb Burks
e88ef38a76
Standardize stock update messages
...
Essentially just use get_formatted_name(), that way the product name appears along with either the sku or ID
2017-12-08 22:29:01 -06:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley
5d42a64b73
Merge branch 'master' into update/order-screen-refinements
2017-12-04 13:44:27 +00:00
Mike Jolley
85cd9647df
Merge pull request #17871 from ragulka/delete-refund-on-exception
...
Ensure refund is deleted when exception is thrown during wc_create_refund()
2017-11-23 13:06:40 +00:00
claudiulodro
5513dc4546
Update with master
2017-11-22 11:02:14 -08:00
Mike Jolley
3773b81bc9
Merge branch 'master' into update/order-screen-refinements
...
# Conflicts:
# includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
ragulka
4f2e1ee8d4
Ensure refund is deleted when exception is thrown during wc_create_refund
2017-11-22 17:03:58 +01:00
Ahmed Ali
d8050f99b1
fixing typo replace add to cart to be remove from cart
2017-11-22 14:33:21 +02:00
Mike Jolley
98bebd14f2
Hooks for columns and preview list tables
2017-11-21 16:22:43 +00:00
Mike Jolley
830ef8ed73
Change status action buttons
2017-11-20 22:43:37 +00:00
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08:00
Claudiu Lodromanean
106e6533f2
Merge pull request #17781 from woocommerce/fix/17629
...
When populating defaults, sanitize
2017-11-18 13:40:40 -08:00
Mike Jolley
a765367dd5
Merge pull request #17747 from woocommerce/feature/allow-add-content-to-order-preview
...
Introduce hooks to allow custom content into order preview
2017-11-18 18:26:08 +00:00
Mike Jolley
8a2050e066
When populating defaults, sanitize
...
part of #17775
Caused by https://github.com/woocommerce/woocommerce/pull/17629/files
leaving attribute names uppercase.
2017-11-18 13:55:26 +00:00
Mike Jolley
f207fdcde9
Reload attributes html on save
2017-11-17 15:43:14 +00:00
Mike Jolley
72e078e83e
Merge branch 'fix/17236'
...
# Conflicts:
# includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Claudio Sanches
563896931e
Introduced hooks to allow custom content into order preview
2017-11-16 18:48:47 -02:00
claudiulodro
0390cf3e26
Bring up-to-date with master
2017-11-16 10:06:07 -08:00
Akeda Bagus
6572ee7852
Added missing meta info (author and date) when adding order note.
...
Fixes #17717 .
2017-11-16 02:03:07 +07:00
Mike Jolley
128b826791
Merge branch 'master' into tweak/order-screens
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley
dea454c88e
Clickable elements
2017-11-15 12:51:14 +00:00
claudiulodro
3050959836
Variations stock status
2017-11-14 14:18:03 -08:00
Mike Jolley
220728544a
Merge pull request #17631 from woocommerce/update/page-caching-class
...
Page caching class
2017-11-10 14:12:13 +00:00
Claudio Sanches
b2105774c9
Merge pull request #17629 from woocommerce/fix/17613
...
Set attributes during variation creation
2017-11-09 16:45:57 -02:00
Mike Jolley
9f059e17a9
Add helper function instead of calling method, and restore old method for bw compat
2017-11-08 15:07:00 +00:00
Gerhard Potgieter
7b9fb6c0cb
Change nocache_headers hook firing ( #17540 )
...
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.
* Create do_not_cache_page helper function and call that instead of nocache_headers
* Must add checks to prevent caching on certain pages as well
* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley
0d25375593
Set attributes during variation creation
2017-11-08 13:12:54 +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
Mike Jolley
1f7ecd9fb9
Merge branch 'master' into tweak/order-screens
...
# Conflicts:
# assets/js/frontend/checkout.min.js
2017-11-01 16:52:21 +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
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
5a22c7fa97
Fix tax rate save when only changing shipping checkbox
2017-10-12 11:30:41 +01:00
Claudio Sanches
a509161724
Merge pull request #16991 from woocommerce/fix/16988
...
Just use home_url for wc-ajax requests
2017-09-29 11:42:08 -03:00
Mike Jolley
fbe6db5c02
Just use home_url for wc-ajax requests
2017-09-29 15:08:14 +01:00