Commit Graph

895 Commits

Author SHA1 Message Date
Mike Jolley b39ec6b2d6 Fix undo on storefront
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley b98b07e1cd Merge pull request #10836 from Slayvin/quick-edit-format-price
Quick edit format price fix
2016-05-03 12:07:04 +01:00
Mike Jolley c6975fa7d5 Merge branch 'pr/10750' 2016-05-03 12:01:09 +01:00
Slayvin 820b34cad6 Fixed format for prices in quick edit (issue #10835) 2016-05-02 17:16:57 +02:00
Mike Jolley 792bb7a27c Fix regex
Closes #10818
2016-04-29 16:56:43 +01:00
Mike Jolley 7abc17dd9b Fix tax ajax URL
Fixes #10819
2016-04-29 10:18:07 +01:00
Matheus Lopes 08331ac5d4 refatoring JS remove 2016-04-28 14:30:13 -03:00
Matheus Lopes f0c26b7439 Refatoring main code 2016-04-28 13:37:30 -03:00
Mike Jolley da5cad838f Remove modal offset
Fixes #10783
2016-04-25 14:16:55 +01:00
Mike Jolley 10f16f074c Further zone tweaks to delete new rows on cancel 2016-04-22 12:24:20 +01:00
Mike Jolley aa116f325f minify 2016-04-21 17:23:52 +01:00
Mike Jolley a8b2a5668f Added cancel button to shipping zones UI
Closes #10754
2016-04-21 16:18:15 +01:00
Matheus Lopes 2e6d83039f Forgotten after changes xD 2016-04-20 15:04:31 -03:00
Matheus Lopes 2c191f5bb7 Enable countries exceptions to Billing and Shipping 2016-04-20 14:55:05 -03:00
Mike Jolley 5af423c1c4 window.load is deprecated
@claudiosmweb
2016-04-20 16:38:58 +01:00
Mike Jolley 25138f4ce3 Preserve values on add row 2016-04-19 18:27:00 +01:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
Mike Jolley 826613db3c Grunt dev 2016-04-18 15:37:19 +01:00
Mike Jolley b1d32b3f8c Change error events for inline validation
Fixes #10691
2016-04-18 13:27:05 +01:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 5a49394102 Justin code review 2016-04-01 11:19:55 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley 34b65e339a Extra error handling 2016-03-31 15:18:35 +01:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley 1b520840d6 Merge branch 'pr/10596' 2016-03-24 11:34:08 +00:00
Mike Jolley 26a06a7a69 Tweak check to use indexof 2016-03-24 11:34:00 +00: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
Gorka Maiztegi eaa025229b Added minified javascript file 2016-03-23 10:59:07 +01:00
Gorka Maiztegi 8f184c0a34 Fix tax editing when using WPML
WPML adds the query parameter "lang" to the ajaxurl variable (and potentially other plugins might do the same thing too), so a new query parameter must be prefixed with & and not ?. This small piece of code solves the issue.
2016-03-23 10:32:15 +01: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
Allen Snook bd99d8f1f3 Remove unused new_enabled variable 2016-03-18 13:43:58 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 699e007659 Wrap export in quotes to preserve commas
Fixes #10541
2016-03-14 12:26:18 +00:00
Claudio Sanches ede64f7aa9 Minify and POT 2016-03-11 14:42:34 -03:00
Claudio Sanches ad446d002e Fixed zeroclipboard fallback on firefox 2016-03-10 14:58:50 -03:00
Claudio Sanches 1aa796390a Minify 2016-03-10 00:02:50 -03:00
Mike Jolley c21b0eda82 Merge pull request #10361 from shivapoudel/ajax-customer-search
Feature to exclude certain users from ajax customer search box
2016-03-03 12:54:19 +00:00
Justin Shreve b9870bff30 Minify js 2016-03-03 02:48:14 -08:00
Justin Shreve f4d771ef3e Show error if copying can't even happen (to cover safari). 2016-03-02 10:25:16 -08:00
Justin Shreve 32eabbc685 Provide a fallback message if copying to the clipboard fails. 2016-03-02 10:13:17 -08:00
Mike Jolley 6f04ff1fa0 Replace size with length
Fixes #10444
2016-03-01 13:08:25 +00:00
Shiva Poudel a88caf5b72 Feature to exclude certain users from ajax customer search box
Closes #10360
CC @mikejolley
2016-02-16 19:40:36 +05:45
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley 30ee8aaef0 [2.5] Bind on autocompletechange event
Fixes #10185
2016-01-27 12:14:21 +00:00
Mike Jolley 8c85183d6e [2.5] Remove case check from tax rate country REGEX 2016-01-27 12:10:36 +00:00
Claudio Sanches 9c9fab33da [2.5] Reload tax backbone view when save, closes #10150 2016-01-23 14:51:43 -02:00
Claudio Sanches 3fb84f91c1 Improved code for #10127 2016-01-20 22:54:29 -02:00
Simon Prosser 4899d99475 Videon only load when help is needed. 2016-01-21 00:12:19 +00:00
Mike Jolley cc68fdc89a [2.5] Correctly block UI to prevent attribute issues
Fixes #10115
2016-01-20 11:01:18 +00:00
Mike Jolley c661b4c78f JSlint 2016-01-13 17:08:53 +00:00
Mike Jolley d821b87f8a Move shipping classes to custom UI in shipping section 2016-01-13 16:52:28 +00:00
Mike Jolley 8064b35350 Add methods from zones screen 2016-01-13 15:04:10 +00:00
Mike Jolley c8025705c1 Text changes 2016-01-13 12:38:31 +00:00
Mike Jolley 70a9eb3807 Fix pagination + sorting on tax screen
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley cef3ec7e37 Indicate disabled methods 2016-01-08 11:57:49 +00:00
Mike Jolley 007abbc98e Shipping meta data
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley 808d3317c2 Min #10021 2016-01-07 10:53:04 +00:00
Shiva Poudel 64161b9d63 No need of external product type to index 2016-01-07 12:43:08 +05:45
Mike Jolley 5fed5c6990 Dash when no methods are shown 2016-01-06 13:38:32 +00:00
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +00:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 61f8a92202 View/Edit icon hiding on edit 2016-01-04 14:34:10 +00:00
Mike Jolley a70f1d7852 Fix row selection in tax settings screen 2016-01-04 11:04:52 +00:00
Mike Jolley 1228ae348c Fix change event on tax settings screen 2016-01-04 10:54:34 +00:00
Claudio Sanches a81f0f6eea Use blockui while saving taxes 2015-12-19 12:12:31 -02:00
Mike Jolley 77f0e9d72a has settings handling 2015-12-18 13:12:20 +00:00
Mike Jolley 8ebba9cc68 "enabled" column 2015-12-16 16:24:58 +00:00
Mike Jolley 9aa34330ac Fix sorting and saving for methods 2015-12-16 16:09:52 +00:00
Mike Jolley e13ba4f029 Empty states 2015-12-16 15:37:40 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley bf362de020 worldwide methods 2015-12-16 13:38:03 +00:00
Mike Jolley aab4e1cfa0 Min 2015-12-16 11:05:01 +00:00
Mike Jolley d8f96f4dc9 zones empty state 2015-12-15 19:10:41 +00:00
Mike Jolley e25d876779 List and sort methods within zones 2015-12-15 17:48:03 +00:00
Mike Jolley f48f09ebdf Fix zone links 2015-12-15 16:35:33 +00:00
Mike Jolley 6e7d8e98b2 Trigger change event when inserting media
Fixes #9793
2015-12-14 12:27:03 +00:00
Manos Psychogyiopoulos 2a6a26f800 allow searching from predefined set and introduce search limit
Makes it possible to search from a pre-defined set of known ids without returning all results, avoiding an excessive amount of product instantiations with large result sets.
2015-12-12 14:28:45 +02:00
Mike Jolley 6cea054fca Method list screen and method screen with breadcrumbs 2015-12-11 14:11:12 +00:00
Mike Jolley 66d4065ae4 postcode saving 2015-12-10 18:33:59 +00:00
Mike Jolley 4893db3afe tweak js 2015-12-10 17:47:14 +00:00
Claudio Sanches baf09d4a5e Fixed some coding standards 2015-12-10 15:24:26 -02:00
Mike Jolley e93853e4cf Fix up adding zones 2015-12-10 16:38:24 +00:00
Mike Jolley cf5381083d Started on zone regions selector 2015-12-10 15:09:37 +00:00
Mike Jolley 3a8ed22905 Fix sorting for new zones 2015-12-10 13:09:39 +00:00
Mike Jolley 41042e94a7 Sort zones 2015-12-10 12:31:03 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches b9624290e1 Minify 2015-12-02 13:26:09 -02:00
Mike Jolley 00f5317621 Merge pull request #9581 from shivapoudel/validation
Add Js Validation for price and dimension field in product quick edit…
2015-11-27 13:07:38 +00:00
Mike Jolley 4595befb76 Pass product type with variation bulk edit
Closes #9570
2015-11-17 15:25:48 +00:00
roykho ca13d3e5f7 Add conditional check for the selected variation image
This added check prevents undefined object preventing images that have no sizes ( e.g SVG ) from causing errors
2015-11-12 16:55:25 -08:00
Shiva Poudel 7934d6fd29 Add Js Validation for price and dimension field in product quick edit panel 2015-11-12 04:50:57 +05:45
Claudio Sanches 5c54aae2c2 Minify again 2015-11-06 13:54:47 -02:00
Claudio Sanches d66427bd8a [2.4] Fixed product type select in wp 4.4 2015-11-06 13:51:17 -02:00
Mike Jolley 12000cd85f Fix model in IOS
Fixes #9507
2015-11-04 15:41:25 +00:00
Claudio Sanches ad5264d40b Fixed initial tax rate settings pagination
Pagination need to be set up to 1, since is first page.
This fix a bug where is impossible to insert rates when don't have any rate saved before.

cc @mikejolley
2015-10-27 19:36:57 -02:00
Claudio Sanches 0dbbcd0a16 Fixed coding standards in assets/js/admin/settings-views-html-settings-tax.js 2015-10-27 18:19:30 -02:00
Mike Jolley 5c43b34002 Avoid hardcoding admin input names for orders
Closes #9444 @claudiosmweb
2015-10-27 15:54:00 +00:00
Claudio Sanches 76583aeeda Minify 2015-10-26 13:05:06 -02:00
Claudio Sanches 2e95a68357 Use new "question" mark icon font
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]

We'll keep the old image and styles in order to maintain backwards
compatibility

Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches 332a0d52ad Fixed conding standards #9259 2015-10-09 11:45:30 -03:00
Mike Jolley 99a23b8614 Added readme for 2.5 2015-10-09 11:22:28 +01:00
Mike Jolley bf0a92d29f Merge pull request #9312 from nishitlangaliya/Issue-9259
Issue 9259
2015-10-09 10:45:15 +01:00
nishitlangaliya cb7519ccd4 As per suggestions #woocommerce-fields .regular_price class given. ref #9259 2015-10-09 10:52:17 +05:30
Mike Jolley 0197a99065 Merge branch 'issue/8587'
Conflicts:
	assets/css/admin.css
	assets/css/woocommerce.css
	includes/admin/class-wc-admin-assets.php
	includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley ac02ec290a Improved styling and wording 2015-10-08 13:18:00 +01:00
Mike Jolley 42a853c90b Fixing some JS notices when working with the tax table 2015-10-08 12:57:42 +01:00
nishitlangaliya 91e415beef more specific class given for appliy only quick edit ref #9259 2015-10-08 17:25:58 +05:30
nishitlangaliya 3f74539fc7 Fixes: Quick edit add js validation ref #9259 2015-10-08 13:10:45 +05:30
nishitlangaliya eaa1058939 Fixes : Quick Edit js validation added. 2015-10-08 13:07:24 +05:30
nishitlangaliya 02e2f2bf4d fixed: Add js validation for product quick edit ref #9259 2015-10-07 15:39:58 +05:30
Mike Jolley 1f6260a880 Use tax settings in backend and default to base country
Closes #9186
2015-10-05 15:31:58 +01:00
Claudio Sanches 0966fedb12 Moved JS vendor libraries for our own directories #8488 2015-10-01 15:46:08 +02:00
Mike Jolley 7c7057c2a7 Correct spelling of events
Fixes #9202
2015-10-01 11:04:26 +02:00
Claudio Sanches ec2fdcc2d4 [2.4] Start variations tiptip for .help_tip elements, closes #9151 2015-09-22 14:06:54 -03:00
Claudio Sanches 09370c31cf Fixed quick edit js for tax fields, closes #9182 2015-09-21 16:10:20 -03:00
Mike Jolley b8acbc37a5 minify 2015-09-16 13:19:04 +01:00
Claudio Sanches 9865e04c8a Merge pull request #8921 from shivapoudel/wc-tabs-gtm
GTM listener for wc-tabs
2015-09-15 19:49:48 -03: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
Mike Jolley 799353e8f2 Wait for variation update before submit
@claudiosmweb
2015-09-08 14:30:41 +01:00
Florian Ludwig 2761a42a13 Fixed one more inefficient jQuery selector 2015-09-07 19:53:47 +02: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
Mike Jolley 4bda0f2387 check for sizes 2015-09-07 11:38:24 +01:00
Mike Jolley 32a2bbfbd1 Sort out variation loading after attribute save 2015-09-04 14:00:42 +01:00
Mike Jolley 32b220d8b6 Improve variation reload after save attributes
@claudiosmweb
2015-09-03 16:17:08 +01:00
Mike Jolley 889d40b8aa Add data attribute to leave options visible
Closes #9017
2015-09-03 15:38:42 +01:00
Mike Jolley 04a68ad925 Add spinner/loading indication between onboarding steps
Closes #8816
2015-08-21 19:12:36 +01:00
Shiva Poudel 5d291495a7 Tweak - GTM listener for wc-tabs using preventDefault() 2015-08-21 21:27:34 +05:45
Claudio Sanches b6b34255d2 Stop for change inputs when add a new variation on admin, closes #8874 2015-08-18 13:00:38 -03:00
Mike Jolley 4697f5f600 typo + min 2015-08-17 11:27:11 +01:00
George Stephanis 47605935ab Grunt compress our new js file. 2015-08-14 11:11:23 -04:00
George Stephanis 2a15dbbe1b Declare ajaxurl as a global. jshint 2015-08-14 11:10:55 -04:00
George Stephanis 14c88fe5e5 Don't trigger a change after having just finished saving!
That’s silly!  Plus it’ll set up the leave page blocker again.
2015-08-14 11:08:26 -04:00
George Stephanis 6e1388d334 Set the key to `rates` not the variable rates. 2015-08-14 11:08:00 -04:00
Manos Psychogyiopoulos 9652d881f9 child selector 2015-08-14 09:46:22 +03:00
Manos Psychogyiopoulos a86403f884 toggle metabox classes on boxes added via ajax 2015-08-14 09:38:22 +03:00
George Stephanis 085ab57571 Better success callback. 2015-08-13 17:54:31 -04:00
George Stephanis 2aa1650f54 Rearrange things to get ajax working.
Spread them out throughout WooCommerce.
2015-08-13 17:49:59 -04:00
George Stephanis ec287f116f Add ajax submission processing.
Not quite finished yet, as the add_action isn’t catching.
2015-08-13 16:57:54 -04:00
George Stephanis 6b04e1b889 IT'S PEANUT BUTTER COMMA TIME
:dancing banana:
2015-08-13 15:22:05 -04:00
George Stephanis a3182a6b48 Move the export into the View.
Also:

* Use the correct rates, as data.rates may be out of date (or maybe
not, yay pass by reference?)
* Use rowData.postcode and rowData.city, not rowData.tax_rate_postcode
and rowData.tax_rate_city — those are wrong (my mistake earlier)
2015-08-13 14:58:19 -04:00
George Stephanis 2d097a8f4c Minified version of new js file. 2015-08-13 14:29:01 -04:00