Commit Graph

1383 Commits

Author SHA1 Message Date
Gerhard Potgieter ee1c667645 jshint fixes 2018-09-27 08:07:42 +02:00
Gerhard Potgieter 711c9bdcd4 Update JS to conform to WP coding standards 2018-09-27 08:05:44 +02:00
Gerhard Potgieter f637cf3005 After saving attributes check that empty attributes are not disabled in the dropdown. 2018-09-26 12:25:34 +02:00
Paul Dechov 5eea29eb31 OBW: Disable (not hide) payment email input when opted-out 2018-09-20 16:48:43 -04:00
claudiulodro 8fd34983a5 Recompile assets 2018-09-12 08:28:32 -07:00
Claudiu Lodromanean 065d516871
Merge pull request #21301 from ediamin/fix/update_quick_edit_logic_to_show_hide_stock_qty_and_backorder_fields
Update quick edit logic to show/hide Stock qty and Backorders fields
2018-09-11 09:43:04 -07:00
Claudiu Lodromanean ada946b424
Merge pull request #21231 from woocommerce/fix/jsstyle
Fix js linter errors
2018-09-11 09:24:19 -07:00
Gerhard Potgieter 36cf6d64b8 Check the post status and set the hidden field based on that before submitting. 2018-09-10 11:23:12 +02:00
Edi Amin 39b7450cd6 Update quick edit logic to show/hide Stock qty and Backorders fields 2018-09-08 21:39:09 +06:00
Claudiu Lodromanean dbbf31c99d
Merge pull request #21234 from woocommerce/update/obw-shipping-step-fulfillment
OBW: Remove live rates from shipping step, promote label printing.
2018-09-06 10:31:02 -07:00
Paul Dechov a486f50cfd OBW: Avoid form breaking due to email validation on hidden field 2018-08-31 11:36:41 -04:00
Jeff Stieler 23e0174c19 OBW: add information about live rate extensions to shipping step.
This commit also refactors the script/style enqueueing in the wizard.
2018-08-30 15:36:08 -06:00
claudiulodro 4d6ab678c1 Fix linter errors 2018-08-30 09:56:26 -07:00
Jeff Stieler 8a29945531 OBW: move Jetpack+WCS requirement description to plugin install info area at bottom of payment step. 2018-08-29 16:47:46 -06: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
Gerhard Potgieter 865f724187 Add category filter to product export functionality. 2018-07-23 11:59:01 +02:00
Claudio Sanches 5d3653b8ca Fixed message when save REST API keys 2018-07-04 16:13:25 -03:00
Mike Jolley cb693a5ccd Make form aware publish was pressed 2018-06-29 13:58:47 +01:00
Mike Jolley 7f593835a4 Reveal row when adding 2018-06-29 12:11:33 +01:00
Mike Jolley f0673d7387 Merge branch 'feature/product-custom-tables-supporting-changes' of https://github.com/woocommerce/woocommerce into feature/product-custom-tables-supporting-changes 2018-06-27 16:34:31 +01:00
Mike Jolley 4ba14da963 Fix reload issue 2018-06-27 16:34:28 +01:00
Rodrigo Primo b6e73f528b Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-06-15 14:56:31 -03: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
Claudiu Lodromanean 424826fd41
Merge pull request #20441 from billerr/master
shipping zone settings: fixed title for shipping methods…
2018-06-13 08:41:23 -07:00
Mike Jolley 01a3e359c3 Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-06-13 10:18:38 +01:00
Mike Jolley 5b70639994 Prompt when removing personal data 2018-06-11 11:00:29 +01:00
Mike Jolley 35db31db32 Add notice text, fix typos 2018-06-11 10:35:34 +01:00
Bill Gouveros c68dc400ef shipping zone settings: fixed title for shipping methods w/o settings 2018-06-09 02:29:07 +03: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
Bill Gouveros c8dbdc4f81 shipping zone settings: fixed title for shipping methods without settings 2018-06-08 00:43:06 +03:00
Mike Jolley 8261cffaa7 Remove bulk actions 2018-06-07 18:01:21 +01:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
Mike Jolley 001a2e3b98 Merge branch 'master' into fix/20311 2018-06-05 12:57:48 +01:00
Roshan Sameer b73930a0e9 Use :input so it works for both types 2018-06-02 01:14:03 +05:45
Roshan Sameer 1196a1ed7d Fix - nav error while saving setting form 2018-06-01 14:49:30 +05:45
Mike Jolley 9f6c7e2a57 JS min 2018-05-31 10:44:52 +01:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +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
claudiulodro 4e046f2afe Recompile for RC1 2018-05-09 11:01:54 -07:00
Claudiu Lodromanean abfba228b5
Merge pull request #20005 from woocommerce/fix/19997
Update quick edit logic to handle external products
2018-05-08 11:24:18 -07:00
Mike Jolley 8531b2677e Update quick edit logic to handle external products 2018-05-08 16:58:51 +01:00
Mike Jolley ffbbf08b61 Zoom improvements for mobile 2018-05-08 14:48:25 +01:00
Claudiu Lodromanean ad85be2b4f
Merge pull request #19989 from woocommerce/fix/obw-settings-hidden-fields-as-required
OBW: Set only applicable fields as required when enabling shipping zone
2018-05-07 12:01:39 -07:00
Claudiu Lodromanean 9c8dbbedc2
Merge pull request #19988 from woocommerce/update/obw-recommended-stylized-checkboxes
OBW: stylized checkboxes in "Recommended" step
2018-05-07 11:45:08 -07:00
Paul Dechov a765d87979 OBW: Set only applicable fields as required when enabling shipping zone 2018-05-07 11:32:00 -04:00
Paul Dechov a611c1e329 Adjust recommended item to used stylized checkbox 2018-05-07 09:39:44 -04:00
Mike Jolley cf9fa5b3ff Updates table styling and columns 2018-05-04 18:48:41 +01:00
claudiulodro eeb97510eb Recompile and prepare for beta 2 2018-05-03 09:46:40 -07:00
Paul Dechov 084510b11b Fix hiding plugin info message when no plugins will be installed 2018-05-03 06:03:25 -04:00
Paul Dechov 0fb1954af6 Only call plugin info function once on load
Also refactors this function for conciseness and avoiding frequent function definition.
2018-05-03 05:18:00 -04:00
Paul Dechov 099e4b9703 Refactor: move code around for more logical grouping 2018-05-03 04:45:01 -04:00
Paul Dechov 9cd72562a8 Update plugin list on shipping zone toggle 2018-05-02 23:35:42 -04:00
Paul Dechov b57924fc01 Highlight container element on plugin list item hover 2018-05-02 23:05:37 -04:00
Paul Dechov ae54527079 Refactor: build jQuery objects instead of html strings 2018-05-02 22:44:33 -04:00
Paul Dechov fb0943bb89 Show plugins to install in 'Recommended' step 2018-05-02 17:24:11 -04:00
Paul Dechov 801667324a Show plugins to install in shipping step 2018-05-02 17:23:36 -04:00
Paul Dechov 57ad34451b Add payment step service settings plugins to list 2018-05-02 17:00:29 -04:00
Paul Dechov 9b524d7d77 List payment step service plugins to install 2018-05-02 16:58:56 -04:00
Peter Fabian 9b154b961e Add sort handle column when adding new tags. 2018-04-26 15:11:00 +02:00
Mike Jolley 6e90ff3ac3 JS handling for move up/down buttons 2018-04-24 19:25:45 +01:00
Rodrigo Primo 597033ca6f Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-04-24 13:47:22 -03:00
Mike Jolley 860e7a5d23 Merge branch 'master' into update/gdpr-checkout-customizer 2018-04-16 18:02:28 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Mike Jolley 3140a0fb62 More customistion options for terms and conditions. 2018-04-06 11:43:30 +01:00
Mike Jolley 086f07c47d
Merge pull request #19602 from woocommerce/fix/19431
Link product import/export to import/export capabilities
2018-04-05 10:45:29 +01:00
Peter Fabian 1ef47120a8 Link product import/export to import/export capabilities
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
Rodrigo Primo bb553c88ae Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-03-29 12:05:55 -03:00
Mike Jolley 57378785bf Split up state and country fields 2018-03-27 19:32:04 +01:00
Mike Jolley cb3c4849b4 Merge branch 'master' into fix/19175 2018-03-13 18:14:36 +00:00
Mike Jolley 1fa36b5f15 Fix JS state/country inputs 2018-03-09 16:25:42 +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 9ed504c4af Add extra data in mobile view 2018-02-23 16:55:06 +00:00
Mike Jolley 5c36c30998
Merge pull request #19035 from woocommerce/fix/19018-wizard-toggles
Setup Wizard: Start toggle when clicking anywhere on row
2018-02-22 12:25:23 +00:00
Mike Jolley 83f8bcb8ce Make the init tooltips after inline editing more specific 2018-02-21 13:34:07 +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
Caleb Burks 44c5d20c45 Minify/compile 2018-02-19 20:05:58 -05:00
Caleb Burks 8ef278a28b Start toggle on row click 2018-02-19 20:03:32 -05:00
Claudiu Lodromanean 4616b86c25
Merge pull request #19022 from woocommerce/fix/19011
Fixes button disable state and save response handling
2018-02-19 08:41:13 -08:00
Claudio Sanches 0a695f76b4
Merge pull request #19021 from woocommerce/fix/19017
Prevent JS error is row is missing orders column
2018-02-19 12:44:41 -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
Mike Jolley b15bc8f1f2 Fixes button disable state and save response handling
To test, save tax rates and see row is missing.

After patch the button is disabled until changes are made.

If you force button to be non-disabled via inspector and save, fields
will not be hidden.
2018-02-19 12:27:37 +00:00
Mike Jolley a7c1bab152 Prevent JS error is row is missing orders column
Closes #19017
2018-02-19 12:17:24 +00:00
Mike Jolley 20a7cc392b If selecting text, don't link to order on row click. 2018-02-12 11:07:04 +00:00
Caleb Burks c278bffa78 Set maxlength for order item meta key 2018-02-09 22:33:35 -05:00
Mike Jolley fdf81ac190 Min 2018-02-08 12:38:52 +00:00
Mike Jolley b95812d563 Handle quick edit 2018-02-08 12:35:57 +00:00
Gerhard Potgieter 780905cd0e Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-02-08 10:11:27 +02:00
Caleb Burks 0ed97d26bd Compile and Minify 2018-02-07 19:30:09 -05:00
Caleb Burks 4ca94e8f21 Add tooltip for default category 2018-02-07 19:24:43 -05:00
Shiva Poudel 5e48861ba1 Remove demo store notice JS 2018-02-05 10:23:35 +05:45
Claudio Sanches 9c39dd34cc Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget 2018-02-02 14:46:51 -02:00
Mike Jolley 727cf673e6 Make handles appear for attributes and categories 2018-02-01 14:46:04 +00:00
Pascal Roget 3964e28a38
Allow Ctrl+Click
Restores ctrl+click opens new background tab behavior in Firefox, Chrome and Opera.
2018-01-31 14:14:17 -08:00
Mike Jolley 832d767a83 Full support for sorting 2018-01-31 20:17:06 +00:00
Mike Jolley c9aff28aed Merge branch 'master' into fix/18704 2018-01-31 18:04:14 +00:00
Mike Jolley 1c570759ae Allow devs to add 'no-link' class to elements to prevent order view link being triggered on row click
Closes #18704
2018-01-31 14:10:23 +00:00
Mike Jolley 6f6ddf2eeb Prevent uncategorized from being sorted. it's always top of the list. 2018-01-31 13:34:55 +00:00
Paul Dechov 16430dfdaa Keep shipping service description in sync with selected value after refresh 2018-01-24 23:52:59 -05:00
Mike Jolley 672a31e7c6 Merge branch 'master' into feature/product-custom-tables-supporting-changes 2018-01-16 10:40:19 +00:00
claudiulodro 32b85885b4 Recompile assets 2018-01-11 09:10:29 -08:00
claudiulodro 00372e9bb0 Remove videos from help sections 2018-01-08 10:48:25 -08:00
claudiulodro fd18d24ddd Recompile and version for beta 2 2018-01-05 10:10:17 -08:00
claudiulodro eea518dda2 Focus on inputs when clicked instead of sorting 2018-01-03 12:10:08 -08:00
Claudiu Lodromanean de71c92fa0
Merge pull request #18278 from woocommerce/fix/setup-wizard-ppec-api-subject-set-when-unchecked
Setup wizard: don't set PPEC "API Subject" when WCS rerouting is unchecked
2018-01-02 10:39:35 -08:00
Mike Jolley 5aee9f973c Append timestamp to filename 2018-01-02 13:29:23 +00:00
Mike Jolley 46c51bb3a6 Allow filename to be set from javascript 2018-01-02 13:16:43 +00:00
Paul Dechov a87183503f Fix api_subject option being set even when reroute_requests unchecked 2017-12-22 14:57:50 -05:00
Mike Jolley d14d3afc2e
Merge pull request #18162 from WPprodigy/downloads-logging-enhancements
[3.3] New download logging reports enhancements
2017-12-15 11:09:21 +00:00
Caleb Burks cb154b5d40 Add button for copying DL link 2017-12-13 23:57:47 -06:00
Caleb Burks c7f5ee97db Hide variation stock status setting conditionally 2017-12-13 22:38:03 -06:00
claudiulodro a10dbbde48 Recompile everything 2017-12-12 11:38:44 -08:00
Claudiu Lodromanean c0e0f9c2cb
Merge pull request #18039 from woocommerce/add/setup-wizard-wcs-paypal-express-checkout-settings
Setup wizard: PayPal Express Checkout settings for rerouting via WCS
2017-12-11 08:26:24 -08: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
Claudiu Lodromanean 85eae84d86
Merge pull request #18063 from woocommerce/fix/17454
Add BOM to export
2017-12-07 09:58:52 -08:00
Mike Jolley 9ef09b5a07 Add BOM to export
Closes #17454
2017-12-07 15:14:42 +00:00
Paul Dechov 9571fa07d1 Extend stripe setting behavior to ppec 2017-12-05 14:58:50 -05:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08: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
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
Mike Jolley 29fed057af Mobile styling 2017-11-22 16:28:11 +00:00
Mike Jolley b3e7260c95 Improve styling of order actions columns 2017-11-22 16:14:30 +00:00
Shiva Poudel cea8982ac3 Fix - Default shipping class not loading from localize script 2017-11-22 11:34:03 +05:45
claudiulodro 99aefc91f3 Changes from feedback 2017-11-21 14:08:17 -08:00
claudiulodro a73436bdcd Merge remote-tracking branch 'origin/master' into HEAD 2017-11-20 14:43:12 -08:00
claudiulodro 413758b395 Minify 2017-11-20 14:37:40 -08:00
claudiulodro 7a43b5a187 Fix bug in show/hide js 2017-11-20 10:44:50 -08:00
Mike Jolley e8fa9e5b86 Support control and click new tab on orders view 2017-11-20 17:58:08 +00:00
Chris Marslender 4d856955d9
Merge branch 'master' into feature/network-order-widget 2017-11-17 15:27:52 -07: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
claudiulodro 0390cf3e26 Bring up-to-date with master 2017-11-16 10:06:07 -08:00
Chris Marslender 961c24e373
Merge branch 'master' into feature/network-order-widget 2017-11-15 18:43:34 -07:00
claudiulodro 4ef2152881 Hide/set fields depending on whether managing stock 2017-11-15 14:10:06 -08:00
Mike Jolley cbc16f7e2b Min 2017-11-15 14:34:42 +00:00
Mike Jolley 36ce76434a Fix propagation on click
Fixes #17630
2017-11-15 14:34:35 +00:00
Mike Jolley 56d86aee96 trashed styling 2017-11-15 13:41:20 +00: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
Shiva Poudel 07784c3ee2
Revert "Add correct method to define new in a backbone" 2017-11-15 11:24:10 +05:45
Chris Marslender 2731de7461
Updates for coding standards 2017-11-14 18:59:20 -07:00
Chris Marslender f1fe210dba
Merge branch 'master' into feature/network-order-widget 2017-11-14 18:52:18 -07:00
Mike Jolley 992d6e3aed Dump old settings 2017-11-14 16:36:18 +00:00
Mike Jolley 6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley f54b240539 No need to reload if redirecting 2017-11-08 15:21:13 +00:00
Mike Jolley bb31ecdff1 Validation 2017-11-08 13:40:30 +00:00
Mike Jolley e025caf177 Widths and aspect ratios 2017-11-07 18:32:43 +00:00
Chris Marslender 77721a1637
When a user can't access any sites, or no orders are returned, show "no orders found" message 2017-11-06 10:44:55 -07:00
Chris Marslender 68e42ab6a2
Add loading indicator for the network order widget 2017-11-06 10:32:30 -07:00
Chris Marslender f4ad8b8089
Enqueue .min.js version of network order script if SCRIPT_DEBUG not enabled 2017-11-06 10:08:07 -07:00
Chris Marslender c9ce1a2bd9
Once all orders are fetched client side, order them all, newest first 2017-11-06 10:01:02 -07:00
Chris Marslender 59152d40be
Merge branch 'master' into feature/network-order-widget 2017-11-06 09:27:23 -07: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 ed49c5b524 Styling improvements 2017-11-03 11:57:44 +00: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
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
Mike Jolley a31c328b1d Min 2017-11-01 13:53:04 +00:00
Mike Jolley c9f685f1e0 Simple reset on validation error in iris picker 2017-11-01 13:52:08 +00:00
Mike Jolley 547bde0ceb Improve iris code 2017-11-01 13:47:20 +00:00
Mike Jolley ef4c05a393 Merge branch 'pr/17098' 2017-11-01 12:43:35 +00:00
claudiulodro afa0ca23d2 Start scripts once document is ready 2017-10-31 12:27:57 -07:00
Claudio Sanches e81c03fdb0 Uglify JS files 2017-10-27 15:41:27 -02:00
Claudio Sanches a0ef49164f Fixed missing jQuery wrapper 2017-10-27 15:40:05 -02:00
Claudio Sanches 8130fc9c38
Merge pull request #17356 from Umangvaghela/backbonejs-changes
Add correct method to define new in a backbone
2017-10-27 15:36:35 -02:00
Mike Jolley 7ec8cdbc21 Merge pull request #17192 from Umangvaghela/use-strict
'use strict' in jQuery file
2017-10-27 15:54:41 +01: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
Paul Dechov 9c2df6486c Default currency responds to country selection in setup wizard (#17318)
* Default currency responds to country selection in wizard

* Refactor to use wp_list_pluck

* Use <script> tag to define global instead of using hidden <input>

* Revert ignoring currency option value on page load
2017-10-26 13:39:54 +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
Chris Marslender 2cbdb5b1fe
Pass actual user blogs to the front end and make sure that the deferreds resolve even if a user doesn't have access to a site that we ask for 2017-10-24 20:45:34 -07:00
Chris Marslender 05f486ee59
very basic implementation of REST API Based network order fetching for dashboard widget 2017-10-24 19:51:55 -07:00
Umangvaghela d6c0fa6cb4 add changes 2017-10-24 19:36:13 +05:30
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
Umangvaghela 75e5e36b4a 'use strict' in jQuery file 2017-10-13 17:53:26 +05:30
Mike Jolley 47d69dad2d Load videos when the help tab is opened, not before.
Closes #17145
2017-10-12 12:18:37 +01:00
mehul0810 3308216e98 Ran Grunt 2017-10-12 08:29:26 +05:30
mehul0810 43713b49c4 Modified JS function 2017-10-12 08:27:53 +05:30
Mike Jolley ce47fa65c2 Changelog + grunt 2017-10-11 10:50:39 +01:00
Mike Jolley 12d93803ee Merge pull request #17121 from woocommerce/update/wizard-payments-copy
Update payment step copy for Stripe, and fixes margins/spacing
2017-10-11 10:17:57 +01:00
Marcin Bot eaf8a09e82 Setup wizard - made the shipping cost fields required 2017-10-10 16:59:08 +01:00
Mike Jolley 6b357bcfdc Updates the payment step copy and fixes margins 2017-10-10 15:40:03 +01:00
mehul0810 9f66c9126b Minor Spacing Fix 2017-10-10 16:54:02 +05:30
mehul0810 20f7c2292e Ran Grunt 2017-10-09 16:17:59 +05:30
mehul0810 0c84895ed8 change of class name 2017-10-09 16:16:45 +05:30
mehul0810 7a5f5c74ec Ran Grunt 2017-10-08 15:30:19 +05:30
mehul0810 5c0feaf93c Added Script to restrict deletion if still user denies 2017-10-08 15:29:23 +05:30
Valerie K 61caed9cb8 Wizard: Add Stripe Email (#17029)
* Wizard: Add Stripe email input, show previously entered payment settings, only save settings for enabled gateways
2017-10-04 13:37:59 -06: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
claudiulodro 5897f7b0a7 Minify & recompile assets 2017-09-27 13:53:03 -07:00
Valerie 0f04645bea Setup wizard: Show correct shipping text on select 2017-09-26 15:10:27 -06:00
Valerie 1960b6bcd1 Setup wizard: Fix thick border in toggle list 2017-09-26 15:10:27 -06:00
Jeff Stieler 27e148326f Setup wizard: use form-specific selector to trigger Jetpack connect behavior. 2017-09-26 15:10:25 -06:00
Jeff Stieler e6dc95432a Setup wizard: hide settings until a service is enabled. 2017-09-26 15:10:23 -06:00
Jeff Stieler fc725b27c3 Setup wizard: camelCase vs. snake_case in JavaScript. 2017-09-26 15:09:42 -06:00
Jeff Stieler 4bf21b9724 Setup wizard: remove now unused locale and tax interactions from client side script. 2017-09-26 15:09:41 -06:00
Jeff Stieler 6c08b9644b Setup wizard: wait for in-progress Jetpack installation to complete before submitting form.
We need to know that Jetpack is active before moving to the next step. The previously logic fired off a synchronous installation that caused a race condition.
2017-09-26 15:09:41 -06:00
Jeff Stieler a15b44d6ec Setup wizard: fix form submit UI blocking when HTML5 form validation isn’t available. 2017-09-26 15:09:40 -06:00
Jeff Stieler 17a72b39ab Setup wizard: only hook into method selection change event on shipping step. 2017-09-26 15:09:39 -06:00
Jeff Stieler 5642868436 Setup wizard: add method-specific settings and descriptions to shipping step. 2017-09-26 15:09:39 -06:00
Jeff Stieler 58a289dc20 Setup wizard: only toggle service enable control when its direct parent is clicked. 2017-09-26 15:09:38 -06:00
Jeff Stieler 59ca25aba7 Setup wizard: fix UI block when HTML5 form validation fails. 2017-09-26 15:09:38 -06:00
Valerie e23aefef13 Setup wizard: Add toggle for manual payment list 2017-09-26 15:09:10 -06:00
Valerie 1eda1a026d Setup wizard: Add function to display service rows
- Update style
- Use new reusable class 'wc-wizard-services' instead of
'wc-wizard-payment-gateways'
- Update JS script for toggling checkboxes
- Update payment gateways: in-cart and manual
- Update POST variable names in save function
2017-09-26 15:08:31 -06:00
Mike Jolley 919643af56 Allow report to select 1D into the future to workaround timezone issues.
Closes #16935
2017-09-26 12:29:25 +01:00
claudiulodro 2dc6f18ab4 Use opacity:0 and fix linted js 2017-09-21 13:24:34 -07:00
claudiulodro 279ac6814c Move clipboards off zeroclipboard 2017-09-21 13:09:36 -07:00
Joost de Valk 794aaefb04 Increase delay for json_search_customers
Increases the delay for `woocommerce_json_search_customers` to 1000, to prevent a lot of unneeded queries from happening. 

Fixes #16805.
2017-09-14 10:30:50 +02:00
Mike Jolley 16dd43c9dc Blockui 2017-09-04 18:11:51 +01:00
Mike Jolley 2a71a66fc9 Order screen refinements and preview window 2017-09-04 17:42:31 +01:00
Mike Jolley 5475ae6e2b Avoid full refresh if user cancels a bulk action
Fixes #16658
2017-08-31 12:01:25 +01:00
Mike Jolley ffd3c5f406 Min 2017-08-30 21:23:26 +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 372723dae1 min 2017-08-23 11:29:14 +01:00
Mike Jolley f18a146d0f Prompt to apply fee in admin 2017-08-23 11:22:18 +01:00
Claudio Sanches 89a07a695e Fixed indentation of wc-enhanced-select.js 2017-08-22 15:43:08 -03:00
Manos Psychogyiopoulos 1596979d75 Reload order items on add 2017-08-22 15:19:20 +03:00
Claudiu Lodromanean d39f4bbe17 Merge branch 'master' into fix/16317 2017-08-18 11:37:59 -07:00
claudiulodro 13acc510ef Auto sort non-sortable multiselects 2017-08-18 11:35:12 -07: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 8720bde2f3 Minify 2017-08-18 10:39:45 +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
Mike Jolley 63d82cea71 Merge branch 'pr/16108' 2017-08-08 12:44:50 +01:00
Mike Jolley 735a277e52 initial state 2017-08-08 12:44:36 +01:00
ragulka fdd0e556e7 Focus on modal content instead of container
Prevent unwanted jumps in page scroll position when opening a modal.
2017-08-03 14:32:15 +03:00
Mike Jolley 8d277a263b Sort by order + zone ID as a fallback in shipping zones
Fixes #16170
2017-07-19 10:16:50 +01:00
Mike Jolley 37fc4c8f77 Ajaxify the product category filter (#16110)
* Ajaxify the product category filter

Closes #12773

* Min
2017-07-13 17:04:40 +01:00
Ninos Ego bf9a7381dc Coding improvements for datepicker range 2017-07-13 13:15:58 +02:00
Mike Jolley 771a4cab45 Minify meta boxes 2017-07-13 11:02:00 +01:00
Mike Jolley 6cee94bfa3 Merge pull request #15034 from widoz/master
Allow other product types to use the sale schedule inputs.
2017-07-13 10:59:31 +01:00
claudiulodro 8a8daabf26 Update with master and recompile assets 2017-07-06 09:06:30 -07:00
Claudio Sanches 002156d109 Minify 2017-07-04 16:34:58 -03:00
Sofyan Sitorus 38411f7fb2 #15915 Use shippingMethodView variable instead this in ajax callback inside the onAddShippingMethodSubmitted method 2017-07-02 05:14:45 +07:00