Commit Graph

270 Commits

Author SHA1 Message Date
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