Mike Jolley
b9381d1495
Revert uniform fix - looking into doing it in-theme
2015-08-21 19:24:39 +01:00
Mike Jolley
10c0b92d0d
Added BW compatibility for themes using 'uniform'.
2015-08-21 15:37:00 +01:00
Mike Jolley
f2d4a47da1
Add required postcode marker after label replace
...
Fixes #8857
2015-08-17 13:35:17 +01: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
a3d376b5c3
Tab hiding with some theme markup.
...
Closes #8791
2015-08-12 12:05:31 +01:00
Mike Jolley
08c751f4fe
Minify scripts
2015-08-11 10:46:25 +01:00
Mike Jolley
03f16d6833
Made tab panel selector more specific to avoid theme conflicts.
2015-08-11 10:46:21 +01:00
Manos Psychogyiopoulos
f5691fd82a
animate variations script markup changes
2015-07-31 14:04:55 +03:00
Mike Jolley
e3ff9d6e24
Minify
2015-07-28 16:22:00 +01:00
Manos Psychogyiopoulos
dae10a962c
allow product variations data refresh
2015-07-28 15:34:04 +03:00
Mike Jolley
890bcff302
Fix cart ajax endpoint
...
@claudiosmweb @BFTrick
2015-07-27 20:02:40 +01:00
Mike Jolley
d0c2c10c47
Made the linter happy
2015-07-27 17:55:37 +01:00
Mike Jolley
0ab151562a
Fix issues with trailing slashes on permalinks
...
Closes #8658
2015-07-27 11:56:07 +01:00
Claudio Sanches
f8dfc64db7
Fixed postcode/zip reset in address i18n script, closes #8646
2015-07-24 18:24:33 -03:00
Mike Jolley
44b91e5b66
Revert triggerHandlers back to trigger() for BW compat
...
Closes #8569
2015-07-14 10:28:49 +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
62d879e86c
Fixed all jshint errors #4680
2015-07-10 02:13:30 -03:00
Claudio Sanches
3c409e07e1
Fixed js coding standards in assets/js/frontend/checkout.js
2015-07-09 15:04:00 -03:00
Mike Jolley
9531258ee6
Treat each form separately.
2015-07-09 16:21:17 +01: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
James Koster
0d4db4b610
post code before city alignment. closes #8443
2015-07-01 15:13:02 +01:00
Claudio Sanches
77b2d508b2
Fixed coding standards in assets/js/frontend/price-slider.js
2015-06-29 17:09:34 -03:00
Claudio Sanches
743718838a
Minify price-slider.js
2015-06-29 17:08:02 -03:00
optimalab
9cccf313ba
Fixed price-slider.js trigger and fixed js coding standards
2015-06-29 17:07:45 -03:00
Mike Jolley
84bc6e1b1a
Merge branch 'geolocate-cache'
...
Conflicts:
includes/class-wc-customer.php
Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley
1489fafd06
Need to re-geolocate on page load to refresh cached pages being viewed with wrong hash
2015-06-22 15:35:46 +01:00
Mike Jolley
f988aae387
Use hashes and server side redirection
2015-06-22 14:55:15 +01:00
Mike Jolley
d5660e8cfc
Don't disable buttons
...
Closes #8424
2015-06-22 11:09:23 +01:00
Mike Jolley
389ccd5761
Remove base location from script and don't rely on session storage
2015-06-17 16:56:06 +01:00
Mike Jolley
38dd251f96
geolocation
2015-06-17 14:16:37 +01:00
Mike Jolley
b1441c05c1
Move geolocation to separate script
2015-06-17 14:16:35 +01:00
Mike Jolley
9886a805df
Fix up standards #7939
2015-06-17 13:59:04 +01:00
Mike Jolley
33c298fea7
Experiment with appending geolocation to query string to prevent caching
2015-06-17 12:12:49 +01:00
Claudio Sanches
866a975517
Minify files for #8347
2015-06-10 14:50:13 -03:00
Shiva Poudel
8aff509ed7
Tweaks JSHint for cart and cart fragments
2015-06-10 23:11:21 +05:45
Mike Jolley
877d91956f
Minify
2015-06-08 11:17:07 +01:00
Jake Johnson
afe3e1f236
Update checkout when changing address text fields. Fixes #8308
2015-06-05 11:27:44 -07:00
Mike Jolley
6760589381
Tweak code used to get country's statebox
...
Closes #8255
2015-06-01 10:50:16 +01:00
Mike Jolley
0a3defd798
Move tax enabled check
2015-05-29 14:55:57 +01:00
roykho
54b0a0ca54
changed dynamic variation description to allow limited HTML and some sanitized tweaks
2015-05-28 14:31:45 -07:00
Mike Jolley
e51eae80c6
Merge pull request #8167 from roykho/dynamic-variation-description
...
Dynamic variation description
2015-05-28 15:53:03 +01:00
Mike Jolley
c1e3da8bcb
Return real json response during checkout
...
Closes #8086
2015-05-15 13:51:51 +01:00
roykho
b812b2fd94
add dynamic variation description feature
2015-05-14 10:56:26 -07:00
James Koster
aebef4aece
variation img title / caption. closes #8032
2015-04-28 17:19:38 +01:00
Mike Jolley
6181a061d6
[2.3] Remove minimum results for search to prevent issues with state box
...
Fixes #8002
2015-04-23 15:55:18 +01:00
Mike Jolley
4997ed0efb
Cleaned up tabs JS and fixed conflicts with bootstrap
...
Fixes #8000
2015-04-23 12:24:15 +01:00
Claudio Sanches
1dadbb2842
Fixed coding standards for #7879
2015-04-13 12:37:22 -03:00
Mike Jolley
2e2ec824f0
Set field required class
...
Fixes #7859
2015-04-10 15:43:39 +01:00
Danny van Kooten
88f2e690bb
Changing all inefficient selectors of $('body') to $(document.body), which is about 80% faster (and even more on mobile, see https://jsperf.com/jquery-body-vs-document-body-selector/2 ).
2015-04-03 14:21:47 +02:00
Mike Jolley
d7144d9ed6
[2.3] Reset sku when no option chosen
...
Closes #7799
2015-03-23 13:03:53 +00:00
Mike Jolley
21c5513526
Added endpoint for faster ajax requests
2015-03-20 12:28:26 +00:00
Mike Jolley
0959b68182
Minify
2015-03-10 10:25:40 +00:00
Manos Psychogyiopoulos
c11399cb52
handle zero min input qty in woocommerce.js
2015-03-10 03:06:17 +02:00
Manos Psychogyiopoulos
60ebac7cdf
allow zero min/max quantity input values
2015-03-10 02:42:00 +02:00
Claudio Sanches
69552d265d
Fixed select 2 formatSelectionTooBig(), closes #7640
2015-03-05 14:55:41 -03:00
Mike Jolley
6658c88adc
Add args to correct scripts
...
Fixes #7610 . @claudiosmweb
2015-03-03 10:58:10 +00:00
Mike Jolley
3ac113367d
Pass clicked button to added_to_cart Closes #7550
2015-03-02 12:14:15 +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
Claudio Sanches
01c0401bc0
Close the select2 when close the wc backbone modal, closes #7347
2015-02-10 14:57:14 -02:00
James Koster
f49ae4ce35
state select. closes #7316
2015-02-10 09:45:52 +00:00
Mike Jolley
7b144dce1d
Merge pull request #7296 from RistoNiinemets/master
...
JS "hide_variation" hook
2015-02-05 11:27:43 +00:00
Risto Niinemets
d9e63dcbb2
"hide_variation" hook
2015-02-04 18:08:14 +02:00
Mike Jolley
16eb1facd9
Add link to payment_status_canceled_reversal Closes #7267
2015-02-02 14:49:30 +00:00
Jack Gregory
5ea03dc8df
Update form selector
2015-02-02 11:53:07 +00:00
Jack Gregory
b468710ab0
Fix coupon message output during checkout
2015-02-01 14:08:20 +00:00
Mike Jolley
1ae1c7a975
Trigger change event to clear state box. Closes #7240
2015-01-30 10:58:53 +00:00
Claudio Sanches
da68b4fd9c
Minify country-select.js for #7235
2015-01-29 00:16:59 -02:00
devin
dfecc22126
Removed .change method for .on( 'change') so that if this field is ever replaced via ajax then the country select still works as expected
2015-01-28 16:42:11 -08:00
Claudio Sanches
7bc853c452
Merge pull request #7224 from thenbrent/fix_session_expired_notice
...
[2.3] Fix session expired notice on checkout
2015-01-27 21:34:16 -02:00
Brent Shepherd
3a1dc68ff9
Fix typo
2015-01-27 14:42:36 -08:00
Claudio Sanches
f4c64c12c7
Updated scripts
2015-01-27 20:15:49 -02:00
Jack Gregory
acfc4f5b55
Typo in assets/js/frontend/checkout.js:437
2015-01-27 09:22:38 +00:00
Mike Jolley
0f5c6c4219
Add error handler/debug info in checkout ajax #7176
2015-01-26 14:24:03 +00:00
Claudio Sanches
ab3553a6fd
Select2 translatable, closes #7159
2015-01-19 17:31:22 -02:00
Mike Jolley
4e7e4d399e
Work around 1px incorrect offset on frontend. Closes #7116
2015-01-19 15:09:41 +00:00
Mike Jolley
a3cfea8e5d
Only apply to visble select boxes Closes #7127
2015-01-19 13:07:06 +00:00
Mike Jolley
0fdd24c526
Select2 frontend
2015-01-12 16:16:13 +00:00
Mike Jolley
9852d9c6ec
Order data JS select2 + refactor
2015-01-12 15:43:13 +00:00
Mike Jolley
2e82cbb311
Customer ajax searches
2015-01-12 13:04:19 +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
boohoogal
1987830730
Merge remote-tracking branch 'upstream/master'
2014-12-17 18:46:35 +00:00
Claudio Sanches
3ede7907a4
Minify the checkout script
2014-12-12 09:37:15 -02:00
Barry Kooij
3f0a8be3d2
Merge branch 'master' into enhancement/checkout-order-review-error-handling
2014-12-11 12:10:53 +01:00
boohoogal
538d514cc0
As suggested kept original event and created new event 'woocommerce_variation_has_changed' for after selection has been fully applied. #6833
2014-12-11 10:02:24 +00:00
boolah
ff86dec284
Make custom event 'woocommerce_variation_select_change' for theme developers as last thing we trigger. #6833
2014-12-10 21:43:26 +00:00
Mike Jolley
fe34eb7bf8
Fix state box by seeing if states is empty object
2014-12-10 14:44:59 +00: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
Barry Kooij
438988d9c7
Added the possibility to display notices and/or force reload on order review.
2014-12-04 09:40:49 +01: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
Kathy Darling
62db978078
stray console.log
2014-12-01 16:34:38 +01: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
James Koster
e856377194
bye bye quantity increments. closes #6752
2014-11-18 13:29:58 +00:00
Mike Jolley
e6a5825f8c
Some shipping class tidyup
2014-11-17 16:30:18 +00:00
Joe Flynn
652a66e3d1
ensure storage is writable when setting support flag. fixes #6755
2014-11-14 14:14:56 -05:00
claudiosmweb
c683720b02
Removed old ajax_loader_url param from all js files
2014-11-14 09:52:44 -02:00
James Koster
30a5c4bfdb
bye bye ajax loader gif.
2014-11-13 18:28:15 +00:00
Mike Jolley
270e26c3cc
Allow linking to #reviews tab Closes #4630
2014-10-24 15:50:15 +01: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
2294135bff
Rename touch punch to stop grunt breaking minify
2014-10-23 14:38:19 +01:00
Mike Jolley
986afea224
Merge pull request #6531 from franticpsyx/variations_script_reusable
...
Make variations script re-usable
2014-10-21 23:36:00 +01:00
Manos Psychogyiopoulos
7d9a8b1a3a
quantity selector dot
2014-10-21 15:26:39 +03:00
Manos Psychogyiopoulos
6f8aa7cb52
backwards compat
2014-10-20 11:59:01 +03:00
James Koster
e27d4afee1
data tabs tweaks. #6562
2014-10-17 14:50:23 +01:00
Mike Jolley
e926f49ae2
Merge pull request #6194 from AardvarkMike/master
...
Suggested fix for Issue #6193
2014-10-17 12:06:33 +01:00
Nicola Mustone
6e9176a5bf
Fix disable password submitting twice
2014-10-16 21:59:45 +02:00
Manos Psychogyiopoulos
1e44f0cd68
make variations script re-usable
2014-10-14 11:03:47 +03:00
Mike Jolley
98361804e6
Merge pull request #5767 from IAmJulianAcosta/touch-compability
...
Price filter widget touch compability
2014-10-10 12:16:18 +01:00
James Koster
63f45a8720
variation visibility, based on #6182 . #5661
2014-09-26 17:22:43 +01:00
Mike Hughes
5c4c5c1516
Fixed indentation for fix #6193
2014-09-09 12:43:56 +01:00
Mike Hughes
be5623cf91
Fix for issue #6193 - loop through data- attributes for form submission data instead of hard coded
2014-09-09 12:41:14 +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
Julian Acosta
8f3586fccb
Added touch support to price filter widget using jquery ui touch punch
2014-07-01 00:00:26 -05: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
David
40326e388a
Ensure script that references global objects safe on pages where global is not enqueued
2014-06-02 16:34:55 +01: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
2b4906bf4c
Prevent security error with try catch block Closes #5275
2014-04-07 14:34:47 +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
JDGrimes
f3ab25c12c
Check wc_checkout_params.is_checkout against string '1' instead of int 1
...
This was causing `’init_checkout’` not to be triggered on page load. I
noticed this when the taxes for an order weren’t being shown on the
checkout page until changing the billing address.
Introduced in b85b1ab03b
2014-03-28 16:46:33 -04: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
c5f4120540
frontend woocommerce jshinted and coding standards
2014-03-19 16:02:54 -07:00
splashingpixels
222b57a159
frontend single-product jshinted and coding standards
2014-03-19 15:56:07 -07:00
splashingpixels
b392b49147
frontend price-slider jshinted and coding standards
2014-03-19 15:54:38 -07:00
splashingpixels
abf318db86
frontend credit-card-form jshinted and coding standards
2014-03-19 15:46:59 -07:00
splashingpixels
880d655539
frontend country-select jshinted and coding standards
2014-03-18 20:51:37 -07:00
splashingpixels
f9f8b11d3a
frontend chosen jshinted and coding standards
2014-03-18 20:44:22 -07:00
splashingpixels
b85b1ab03b
frontend checkout jshinted and coding standards
2014-03-18 20:42:53 -07:00
splashingpixels
ce3605ad36
cart jshinted and standard coding fixes
2014-03-17 20:08:41 -07:00
splashingpixels
6d2aa8b3c3
cart-fragments jshinted and standard coding fixes
2014-03-17 19:56:31 -07:00
splashingpixels
cbb5a2fb55
address-il8n jshinted and standard coding fixes
2014-03-17 19:51:53 -07:00
Mike Jolley
b321d6297b
Use is_purchasable to determine if a variation cart button is needed, and potentially show empty_price_html Closes #5137
2014-03-17 12:12:10 +00:00
splashingpixels
fc913b850f
frontend add to cart jshinted and coding standards
2014-03-16 22:26:55 -07:00
splashingpixels
e19fa9a73c
frontend add to cart variation jshinted and coding standards
2014-03-16 22:19:58 -07:00
Mike Jolley
340efa690d
Minify scripts for #5109
2014-03-12 14:34:49 +00:00
jmotes
1be965cdf9
Fix for #5106 - allow checkout in older IE
2014-03-11 18:54:37 -05:00
Coen Jacobs
e2be27e7b5
Minified checkout.js for #5092
2014-03-10 17:22:17 +01:00
Niko Wicaksono
e1d3cb6dd8
Allow city field to use another input method
2014-03-10 10:05:35 +07: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
splashingpixels
220c93f2b1
minified single-product.js
2014-03-01 12:12:25 -08:00