Commit Graph

785 Commits

Author SHA1 Message Date
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
George Stephanis 3c83e4ee4c Declare vars. jshint. 2015-08-13 14:27:50 -04:00
George Stephanis c243b431d5 Handle the deleting of rows as well.
Delete can accept one or more selected rows.
2015-08-13 14:25:38 -04:00
George Stephanis 3a87b98ba6 Rewrite onAddNewRow for Backbone models. 2015-08-13 14:10:47 -04:00
George Stephanis 0e902de9c8 Move new row and deletion inside the view. 2015-08-13 13:07:20 -04:00
George Stephanis b50af4839c Whitespace tidy. 2015-08-13 13:07:00 -04:00
George Stephanis 6dddc2ad84 Moving initialize up to the top. 2015-08-13 13:01:42 -04:00
George Stephanis 22b14e254f Single quotes for jshint coding standards. 2015-08-13 12:29:40 -04:00
George Stephanis d86814d6f1 Disable sorting when searching. 2015-08-13 12:13:05 -04:00
George Stephanis 64ef2a6c5c Remove several now unneeded log commands. 2015-08-13 12:00:10 -04:00
George Stephanis e888f65b4d Simplify how we're tracking single value changes as well. 2015-08-13 11:59:34 -04:00