Commit Graph

2182 Commits

Author SHA1 Message Date
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
Kevin Killingsworth 7e951afbae Cart AJAX: Add shipping form support.
Add support for making an AJAX call for updating the shipping options.
2016-02-15 10:52:25 -06:00
Kevin Killingsworth b330813306 Cart AJAX: Clean up form handling for cart form.
The coupon and update cart logic was tripping on each other
between the click handling and form submit handling.
This commit combines the event handler, then splits off from there.
2016-02-15 10:27:47 -06:00
Kevin Killingsworth 4b8cf5cd1f Cart ajax: Fix html5 validation checks for quantities.
The form button click event handling was subverting the validation
checks. Moving the event to the actual form submit event fixed it.
2016-02-15 09:53:11 -06:00
Kevin Killingsworth 62c141ff5d Cart AJAX: Fix block UI for remove item.
The JQuery selector was incorrect and needed to go
further up the DOM tree.
2016-02-15 09:41:58 -06:00
Kevin Killingsworth a8e51cfb66 Style: Add spaces between closing braces and parens. 2016-02-15 08:40:46 -06:00
Kevin Killingsworth ef4debace7 Cart AJAX: Block form during update
Apply the JQuery Block UI to the form during an AJAX update.
Also correct a few small style issues.
2016-02-15 08:10:25 -06:00
Kevin Killingsworth e416ba0e2b Cart AJAX: Add cart item remove.
Add cart item remove, using same technique as the cart update.
Make the normal call via AJAX and update the HTML afterwards.
2016-02-14 22:55:47 -06:00
Kevin Killingsworth 9a43b897da Cart AJAX: Add update call.
Since the code is built to use a form submit for all the quanitities
already, I just made this an ajax call instead of a whole page call.
The result is the exactly the same and the .woocommerce div is replaced
with the resulting HTML.
2016-02-14 21:57:14 -06:00
Kevin Killingsworth 1c361bb29f cart.js: Consolidate url calculation.
DRY the url calculation code within a single function to make
the code more readable and succinct.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 30a272e58a Add remove coupon ajax handling in cart.
Add code to handle ajax call for removing a coupon from the cart.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 191b58eba0 Block cart form while applying coupon.
Add code to block the cart form during the apply operation
until completion. Refactor block/unblock into local methods
for reuse.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 4cc7e99ab7 Add notice to add coupon in cart.
Add the notice to when a coupon is added to the cart,
or the error if the coupon was not added for some reason.
2016-02-12 15:43:05 -06:00
Kevin Killingsworth ce90c440cb Cart ajax: apply coupon
Adds an ajax call for applying coupons while on the cart
screen (not checkout, as it already has this.)

This is the first commit to add ajax calls to the cart update
functions. See issue #6734
2016-02-12 15:43:05 -06:00
Kevin Killingsworth 07db701e91 Add minified js file for add-to-cart-variation.js
Adding missing minified version of js file from
commit f1bf89db2b
2016-02-12 09:54:21 -06:00
Mike Jolley 2c86574785 Merge pull request #10328 from KristoferN/single-product-image-alt-tag-content-error
Corrected content in alt-tag
2016-02-11 13:17:46 +00:00
Kristofer Norén f1bf89db2b Corrected content in alt-tag
Previously both the alt-tag and the title-tag of the variations main image used content from variation.image_title. The alt-tag should use variation.image_alt.
2016-02-11 13:40:56 +01:00
Justin Shreve 37ad8ccbed Minified checkout.js 2016-02-10 10:41:23 -08:00
Justin Shreve 6a8abc9f28 Keep track of terms & conditions state and recheck the box if necessary. 2016-02-10 10:38:39 -08:00
Mike Jolley fab8a871aa Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/admin/class-wc-admin-assets.php
2016-02-10 14:12:39 +00:00
Mike Jolley 75cbb74520 Rating widget standards 2016-02-09 15:18:27 +00:00
Mike Jolley 4c29b7607f Show notices on variation button clicks
Closes #10281
2016-02-08 16:21:02 +00:00
Mike Jolley 6dd01fc839 Better way to find wrapper for stateboxes
Closes #8255
2016-02-08 14:47:42 +00:00
Mike Jolley aa4bfde937 Remove deprecated chosen js scripts 2016-02-08 12:10:42 +00:00
Mike Jolley efd0304bb0 Color code manual, system and customer notes
Closes #7225
2016-02-08 11:39:31 +00:00
Mike Jolley 346fd94e9e Fix column color 2016-02-05 15:48:31 +00:00
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
Claudio Sanches 5f2d769567 Minify 2016-02-03 15:02:32 -02:00
Claudio Sanches 2596b888a2 [2.5] Include new triggers when remove and add the password strength meter, closes #10257 2016-02-03 13:24:11 -02:00
Mike Jolley 254c8cf677 Prevent default in variation script
Closes #10223
2016-02-01 12:16:17 +00:00
Mike Jolley 089b8aff68 Disable button (again) but not on checkout 2016-01-28 15:53:08 +00:00
Mike Jolley 4bca60c76e Adjust padding on message 2016-01-28 15:52:39 +00:00
Mike Jolley 26a7d04c07 Unused var 2016-01-28 15:38:27 +00:00
Mike Jolley 6a8e89da2f [2.5] HTML5 validation message on weak password, and append to indicator 2016-01-28 15:36:24 +00:00
Mike Jolley 64dfcdbea4 [2.5] Remove obsolete notice and add styles for add payment page 2016-01-28 11:58:09 +00:00
Mike Jolley 3093572f5b [2.5] Set input margin and label display for compatibility with themes using bootstrap CSS 2016-01-27 21:43:55 +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
Mike Jolley 32b6e05eb1 [2.5] docblock 2016-01-27 11:07:44 +00:00
Mike Jolley a2843c03c7 [2.5] Added password hint text and error messages 2016-01-27 10:54:03 +00:00
Mike Jolley 5db85c6ef7 [2.5] Compatibility with w3 total cache inline minification 2016-01-25 20:14:45 +00:00
Mike Jolley 793d86c9c3 [2.5] Fix scroll on ios
Closes #10145
2016-01-25 11:31:24 +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 7d627e105c Don't stop conversions because password strength meter
cc @mikejolley
2016-01-22 17:46:15 -02:00
Claudio Sanches c1c6ef0271 Added support password strength meter lost password page
Still part of #10103
2016-01-22 17:37:34 -02:00
Claudio Sanches 4f3ef79b8c Added password strength meter to my account > edit account page
Closes #10103
2016-01-22 17:33:35 -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
Claudio Sanches b1d6dbf84e Minify 2016-01-19 16:31:05 -02:00
Claudio Sanches 18c1935536 Removed flower icon in favor of dashicons 2016-01-19 16:08:20 -02:00
Mike Jolley 5481820668 [2.5] Fix responsive product sizes when columns class is missing. 2016-01-18 18:32:06 +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 accc62d5ef Breadcrumb tweak 2016-01-08 12:10:40 +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 9a0233bb04 Min #9988 2016-01-06 12:35:03 +00:00
Mike Jolley 2e5307fdde Merge pull request #9988 from shivapoudel/password-field
Add styles for password input field in wc options panel
2016-01-06 12:34:43 +00:00
Mike Jolley 0b6fdf5fe8 Use data-placeholder for selects since placeholder is not to W3C spec
Closes #9986
2016-01-06 12:20:06 +00:00
Shiva Poudel 316be35747 Add styles for password input field in wc options panel 2016-01-06 17:35:49 +05:45
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 89ede21ff2 Terms before button
@jameskoster any problem using that float?

Closes #9880
2015-12-18 22:11:45 +00: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
Phil Young ee54e040df Chrome autocomplete to update checkout shipping. Closes #9850
When using Chrome's autocomplete to alter an address field in the
checkout, the shipping selection in the order review will now update.
Closes #9850.
2015-12-16 10:02:18 +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 0e1d342e26 Updated select2 to 3.5.4, closes #9781 2015-12-08 15:00:18 -02:00
Mike Jolley 56f274b68b non-functional Mockup for the shipping zones interface 2015-12-08 12:45:18 +00:00
Mike Jolley 1b5af9e188 Output the wp.template instead of passing in 2015-12-04 14:28:32 +00:00