Mike Jolley
58b01886c9
Add validation handling for checkboxes
...
@jameskoster set label color red too so this is indicated
Fixes #9464
2015-10-30 13:45:59 +00:00
Claudio Sanches
eedff144e7
Created assets/js/frontend/password-strength-meter.js #9319
2015-10-09 13:31:47 -03:00
nishitlangaliya
a45ef9f814
fixes: done changes using dom operation. ref #8938
2015-10-08 20:14:53 +05:30
nishitlangaliya
2dcd391c21
fixes: If password field is enabled, enforce strong passwords ref #8938
2015-10-07 16:47:13 +05:30
Mike Jolley
34a568aea8
manual update trigger for checkout
...
Closes #9119
2015-10-06 12:40:23 +01:00
Claudio Sanches
79cd558c38
Fixed conflicts
2015-10-01 17:41:49 +02:00
Mike Jolley
3a8fd365d8
[2.4] IE doesn't like 'input' events for inputs with placeholders
...
Fixes #8992
2015-09-16 13:17:39 +01: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
Emil Kjær Eriksen
733a9a2fe5
checkout.js now looks for payment method in entire checkout form
2015-08-12 18:03:59 +02:00
Mike Jolley
d0c2c10c47
Made the linter happy
2015-07-27 17:55:37 +01:00
Claudio Sanches
ee1263db9c
Minify
2015-07-10 20:17:47 -03:00
Mike Jolley
3ec4003bbb
Move add variation button and toolbars
2015-07-11 00:04:16 +01:00
Claudio Sanches
501742b07f
Updated grunt dependencies
2015-07-10 18:48:04 -03:00
Mike Jolley
2834eff221
Merge branch 'variations-8477'
...
Conflicts:
assets/js/frontend/add-to-cart-variation.js
assets/js/frontend/add-to-cart-variation.min.js
assets/js/frontend/add-to-cart.min.js
assets/js/frontend/checkout.min.js
assets/js/frontend/geolocation.min.js
2015-07-10 11:37:05 +01:00
Claudio Sanches
3c409e07e1
Fixed js coding standards in assets/js/frontend/checkout.js
2015-07-09 15:04:00 -03:00
Mike Jolley
65f19d5ca7
Ajax variation handling
...
If there are more variations than the threshold allows (set to 20
currently) this loads the matching variation via ajax instead of inline
in the HTML. #8477
2015-07-09 15:56:20 +01:00
Mike Jolley
877d91956f
Minify
2015-06-08 11:17:07 +01:00
Mike Jolley
c1e3da8bcb
Return real json response during checkout
...
Closes #8086
2015-05-15 13:51:51 +01:00
Mike Jolley
2e2ec824f0
Set field required class
...
Fixes #7859
2015-04-10 15:43:39 +01:00
Mike Jolley
21c5513526
Added endpoint for faster ajax requests
2015-03-20 12:28:26 +00:00
Mike Jolley
492c8e361b
No selected payment method? Check the first.
2015-02-24 10:43:11 +00:00
Mike Jolley
600b561fd9
Small timeout on checkout update action to prevent several triggering at once.
...
Closes #7423
2015-02-16 15:45:25 +00:00
Mike Jolley
4cfabb8e16
Only update checkout when form.checkout exists
...
Fixes #7422
2015-02-16 14:57:04 +00:00
Mike Jolley
68049d08fd
Fix place order button text on init
...
Closes #7435
Fixes #7428
2015-02-16 12:46:00 +00:00
Mike Jolley
16eb1facd9
Add link to payment_status_canceled_reversal Closes #7267
2015-02-02 14:49:30 +00:00
Claudio Sanches
f4c64c12c7
Updated scripts
2015-01-27 20:15:49 -02:00
Mike Jolley
0f5c6c4219
Add error handler/debug info in checkout ajax #7176
2015-01-26 14:24:03 +00:00
Mike Jolley
741ef73b99
Only hide messages when placing order - not when updating fields.
...
Closes #6964 Pending @barrykooij approval
2015-01-06 17:49:22 +00:00
Mike Jolley
054d499636
Made checkout JS more modular
2015-01-06 17:49:22 +00:00
Claudio Sanches
3ede7907a4
Minify the checkout script
2014-12-12 09:37:15 -02:00
Mike Jolley
e6b94e486b
Leave postcode before city swapping to JS
...
Fixes #6842
2014-12-09 09:07:28 +00:00
splashingpixels
25b6377298
ajaxified coupon removal on checkout page for better UX closes #6881
2014-12-07 22:15:03 -08:00
Mike Jolley
eba8206540
Merge branch 'tax-coupon-handling' Closes #6830
...
Conflicts:
assets/js/admin/meta-boxes-order.min.js
includes/api/class-wc-api-coupons.php
includes/class-wc-cart.php
templates/checkout/review-order.php
2014-12-03 12:33:15 +00:00
Mike Jolley
2e398a3a79
Decoupled the order summary and payments area. Both are updated independently via ajax fragments and can be moved around via actions. TEMPLATES OVERRIDING THESE TEMPLATES WILL NEED TO UPDATE THEIR FILES.
...
Closes #5781
Closes #6570
2014-11-26 14:19:53 +00:00
claudiosmweb
c683720b02
Removed old ajax_loader_url param from all js files
2014-11-14 09:52:44 -02:00
Mike Jolley
cf867fec35
Decode redirect URL only when needed to prevent PayPal issues
...
Fixes #5798
2014-10-23 15:33:12 +01:00
Mike Jolley
91149c4ac3
Backwards ship-to-different-address logic on checkout.
...
When you choose the option to ship to billing only, the second
condition would make the checkout try to set shipping address to
non-existent fields. cc @claudiosmweb
2014-09-01 10:54:16 +01:00
Mike Jolley
7591e07d81
Field show/hide options for stock fields and variations
2014-06-19 16:17:43 +01:00
justinstern
ce3ac21ab3
Checkout Update Totals for Radio Fields
2014-06-11 12:32:23 -04:00
Mike Jolley
aeeb68f3ff
[2.2] Respect login hidden toggle Fixes #5479
2014-05-14 11:38:06 +01:00
Mike Jolley
5d872918d6
Change the way order review data is appended to checkout to reduce likelihood of error
...
Fixes #5332
2014-04-24 15:08:38 +01:00
Mike Jolley
5810fe97a6
Prevent totals refreshing on every keydown event on the checkout
...
Fixes #5240
2014-04-07 12:42:54 +01:00
Mike Jolley
8cdd36b3cf
min
2014-04-04 14:16:18 +01:00
Mike Jolley
995f6a48f1
Trigger click event correctly in checkout
2014-03-24 11:16:07 +00:00
Mike Jolley
8007e4c102
Fix encoding issue with attribute values and move variation data to tooltip Closes #5169
2014-03-20 15:47:52 +00:00
splashingpixels
b85b1ab03b
frontend checkout jshinted and coding standards
2014-03-18 20:42:53 -07:00
Mike Jolley
340efa690d
Minify scripts for #5109
2014-03-12 14:34:49 +00:00
Coen Jacobs
e2be27e7b5
Minified checkout.js for #5092
2014-03-10 17:22:17 +01:00
Mike Jolley
c01022f189
Fix variable product add file button after adding a new variation Closes #4994
2014-03-03 12:09:43 +00:00
Marc Pfister
e365413cfc
trim whitespace so parseHTML only contains HTML
2014-02-28 08:18:41 -07:00
Mike Jolley
3b8cbe350b
Ensure button text stays changed
2014-02-24 15:39:15 +00:00
Mike Jolley
9a115dc1f4
Use parseHTML and enforce 1.8 jquery Closes #4899
2014-02-24 15:34:28 +00:00
Mike Jolley
9f7363a717
Turn off cursor for IE Closes #4824
2014-02-17 12:09:35 +00:00
Mike Jolley
b1b6e10b98
Result of Grunt minification + tx pull
2014-02-03 14:35:26 +00:00
toddlahman
13c24b410e
Removed (document).ready from jQuery scripts
...
jQuery(document).ready(function($) { is equivalent to calling
jQuery(function($) {.
http://api.jquery.com/ready/
2014-01-30 18:44:17 -08:00
Mike Jolley
5b991cc3e1
Checkout min
2014-01-28 11:26:07 +00:00
Mike Jolley
39344f2ed5
Allow gateways to change the checkout place order button text on selection. Closes #4573
2014-01-28 11:25:57 +00:00
Mike Jolley
c6cd7e4017
Sliding payment boxes tweaks Closes #4538
2014-01-20 15:18:47 +00:00
splashingpixels
74f0d1c4c6
fixes shipping total not updating when select method is used on checkout page
2014-01-15 21:22:43 -08:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Coen Jacobs
fe8f57c2e3
Minified all the JS files for #4289
2013-12-05 10:23:38 +01:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Mike Jolley
5f7753b343
Checkout error hook
...
@coenjacobs useful for .15 IMO
2013-09-16 14:55:21 +01:00
Mike Jolley
e1631bd084
Reloads checkout after registration which fixes #3612 , removes some notices preventing login cookie being set, moves cart check for #3162
...
No perfect solution for #3162 . DB locking would probably cause more
issues that its worth, we cannot reliably use transactions as some
clients still use MyIsam. Best to accept orders and deal with stock
conflicts after the fact.
2013-09-04 11:26:19 +01:00
Mike Jolley
54b3d53a1b
Flag a refresh when creating an account to prevent nonce issues. Fixes #3612 .
...
@coenjacobs Might be for .14? Part of it anyway, can't cherry pick this
one.
2013-09-02 17:43:57 +01:00
Mike Jolley
e01df544ec
Reworked total templates to support coupon lines, and started support for multiple shipping methods per order.
...
@todo store shipping methods in the order
@todo test with PP shipping real world
cc @coe
2013-08-14 21:00:34 +01:00
Mike Jolley
4b223f6260
Min
2013-08-06 14:04:40 +01:00
Mike Jolley
19674a3d15
Allow autofill and use 'input' event to detect changes. Closes #3503
2013-07-21 10:38:22 +01:00
Mike Jolley
e1b49eb783
Checkout js
2013-06-14 12:22:00 +01:00
Justin Stern
d8ba734d4f
Bugfix: Always Submit Selected Shipping Method on Update Checkout
...
Fixes a bug where the shipping method was not posted on update checkout
if only a single shipping method is available (it's a hidden input
rather than a select or radio group)
2013-06-13 00:28:46 -04:00
Mike Jolley
4f0320fdb2
Refactor frontend scripts #3165
2013-06-11 13:31:41 +01:00
Mike Jolley
ac51ebf2b8
Revised checkout shipping process. Checkbox within heading. Closes #2571 .
2013-05-28 14:19:08 +01:00
Mike Jolley
36acab671f
Check typeof Closes #2811 .
2013-03-26 12:22:59 +00:00
Mike Jolley
c9b6b4a302
Refresh totals on field change, and format tax price if numeric.
2013-03-25 11:41:43 +00:00
Mike Jolley
559ef34005
Tweaked default locale to include all fields so that checkout fields can fallback if specific properties are not set e.g. required. Closes #2681 .
2013-03-18 12:02:36 +00:00
Mike Jolley
bf8feefb6d
WC_START in checkout json requests to prevent notices breaking checkout.
2013-03-08 12:24:25 +00:00
Mike Jolley
0c3cc15c21
Fix animation. Closes #2603 .
2013-03-05 19:14:10 +00:00
Mike Jolley
4018f8cab8
Min #2557
2013-03-01 21:04:26 +00:00
Mike Jolley
15e6b14b58
Focus Closes #2479 .
2013-02-20 18:20:28 +00:00
Mike Jolley
8742d83f72
Open payment box Closes #2357 .
2013-02-05 10:46:31 +00:00
Mike Jolley
eb1469a2ab
min
2013-01-29 12:37:09 +00:00
Mike Jolley
484f1e4192
Restore fields after postcode before city. Closes #2293 .
2013-01-28 12:28:27 +00:00
Mike Jolley
34966373ad
When editing checkout fields, only refresh totals if required address fields are filled.
2013-01-20 15:36:25 +00:00
Mike Jolley
2dd5abd416
Fix pay form Closes #2225
2013-01-14 16:53:55 +00:00
Mike Jolley
1ef704140e
Changing this was a mistake; files were out of date.
2013-01-07 14:18:17 +00:00
Mike Jolley
b2f5cee7cb
Classes were changed. Closes #2160 .
2013-01-07 13:19:02 +00:00
Mike Jolley
454be82469
Tab index issue Closes #2163 .
2013-01-07 13:07:01 +00:00
Mike Jolley
b6387a152e
New checkout field layout Closes #2120 .
2013-01-03 12:37:07 +00:00
James Koster
5302eb019f
css class name consistency #2086
2013-01-03 11:40:10 +00:00
Mike Jolley
5507e8453f
Remove depricated jQuery Closes #2039
2012-12-28 13:02:12 +00:00
Mike Jolley
e807cb2f2e
Puttin' the code back
2012-12-13 16:59:33 +00:00
James Koster
f5552e0b5e
retina'd frontend ajax loader
2012-12-13 15:53:36 +00:00
Mike Jolley
dda8b8afbe
JSON tweak from 1.6
2012-12-13 14:57:31 +00:00
Mike Jolley
110bc854e0
Some validation. Closes #1949 .
2012-12-10 14:50:49 +00:00
Mike Jolley
f43cb2be6d
duh #1954
2012-12-10 13:12:18 +00:00
Mike Jolley
c394119983
Ajax view cart. Closes #1948 .
2012-12-10 13:11:05 +00:00
Mike Jolley
2f04ea576d
Checkout form JS. Closes #1954 .
2012-12-10 11:06:14 +00:00
Mike Jolley
7d580cf3a6
default to text. Closes #1838 .
2012-11-27 10:37:28 +00:00
Matt
8243974004
Add address to customer session. Closes #1836
2012-11-26 20:56:48 -05:00
Mike Jolley
9971da5f86
Fix for #1707 .
2012-11-07 21:23:45 +00:00