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
splashingpixels
76021004c1
external product review link not opening on load fixes #5008
2014-03-01 12:10:25 -08:00
Marc Pfister
e365413cfc
trim whitespace so parseHTML only contains HTML
2014-02-28 08:18:41 -07:00
Mike Jolley
77929bc27f
grunt dev - updated languages
2014-02-27 14:21:25 +00:00
Mike Jolley
6ff4ae1a7d
Merge pull request #4903 from splashingpixels/master
...
Ran through jshint and fixed coding standards
2014-02-25 15:51:50 +00: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
splashingpixels
2944658f01
jshinted and coding standards see #4680
2014-02-21 20:08:08 -08:00
splashingpixels
9fe74e0073
jshinted and coding standards see #4680
2014-02-21 20:07:37 -08:00
Mike Jolley
9f7363a717
Turn off cursor for IE Closes #4824
2014-02-17 12:09:35 +00:00
James Koster
d4c2d54b0d
js fix #4629
2014-02-06 09:36:55 +00:00
James Koster
2b8ef5101f
review pagination. closes #4629
2014-02-05 12:40:15 +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
bc779e5e2b
Trigger change for country fields Closes #4546
2014-01-21 11:54:03 +00:00
Mike Jolley
c6cd7e4017
Sliding payment boxes tweaks Closes #4538
2014-01-20 15:18:47 +00:00
splashingpixels
5b42f5f596
revised/ammend pull request 4513
2014-01-15 23:06:23 -08:00
splashingpixels
74f0d1c4c6
fixes shipping total not updating when select method is used on checkout page
2014-01-15 21:22:43 -08:00
splashingpixels
c6018f58af
fix shipping cost total not updating when using select dropdown method Fixes #4515
2014-01-15 19:33:21 -08:00
Mike Jolley
7ddd4d012a
Move localisation to address-i18n.js for account page. Closes #4446
2014-01-08 14:38:20 +00:00
Mike Jolley
329a96b452
Look for name of select Fixes #4365
2013-12-23 15:42:46 +00:00
Coen Jacobs
fe8f57c2e3
Minified all the JS files for #4289
2013-12-05 10:23:38 +01:00
Jared Cobb
9fc47db17f
Make frontend scripts safe to run on non WC pages (check for objects)
...
For a more detailed explaination of why this is helpful, see
Issue #4202 . In short, from a dev ops perspective, if we want to build /
concatonate our front end scripts into a single application.js file, we
need to ensure scripts first check for dependent global object helpers
before trying to use them. For example, there are several objects
(created via PHP using `wp_localize_script`) which generate objects such
as `wc_single_product_params`. These objects will not exist on most
other pages, however these scripts attempt to execute code that
references these objects.
2013-12-04 12:15:24 -07:00
Mike Jolley
293c998a1d
Set price slider min to min price. Closes #4183
2013-12-03 13:39:02 +00:00
Mike Jolley
af34b43ee6
Tweaks for #4239
2013-12-03 12:14:12 +00:00
Ewout Fernhout
bfa4ce53ff
Allow custom checkout fields to be localized
2013-11-28 15:46:08 +01:00
Mike Jolley
0fae180f24
Minify all the things
2013-11-25 16:03:43 +00:00
Mike Jolley
cc40557077
filter for cart fragment #4132
2013-11-20 16:31:28 +00:00
Scott Basgaard
f3b2854638
woocommerce_json_search_products() is now a method of WC_AJAX. Use $this->json_search_products() instead.
2013-11-19 14:44:28 +01:00
Scott Basgaard
bee41fb7e5
woocommerce_get_refreshed_fragments() is no longer. Update where it was called to new Ajax class method.
2013-11-19 13:33:26 +01:00
Brent Shepherd
4a7f207eff
Use new ID for add pay method form
...
Part of #3396
2013-11-05 15:36:00 -08:00
Mike Jolley
b4d1c764d5
Move average rating outside of hidden tab. Closes #3867 .
2013-10-31 16:26:20 +00:00
James Koster
1fbb6249ff
Replaced → / ← on frontend with icons from our font. closes #4009
2013-10-28 09:45:59 +00:00
James Koster
e934947152
Remove placeholder polyfill. closes #4012
2013-10-28 09:03:03 +00:00
Mike Jolley
ece95e25ce
When handling variations, priority from top to bottom - disabled variations still taking into consideration allow you to exclude certain combinations when using 'all' for variations with lower priority. Message displayed if a variation is unavailable.
...
@coenjacobs please review
2013-10-10 16:34:44 +01:00
Mike Jolley
eef86ab5eb
First found should be used.
...
@coenjacobs this should go in .15 - the first matching variation should
always be used IMO, not the last.
2013-10-10 14:21:19 +01:00
Mike Jolley
1b91c75039
Tweak add to cart message. Closes #3876 .
2013-10-04 12:26:11 +01:00
Mike Jolley
8f196130ff
Don't show view cart message on cart page. Closes #3877
2013-10-04 12:21:28 +01:00
Justin Stern
e584ea83a2
Fixed Multiple Sets of Tabs on One Page Bug
...
When clicking on a tab on a page with multiple sets of products/tabs,
other products/tabs were influenced due to a missing jquery context
element
2013-10-03 14:23:50 -04:00
Mike Jolley
72c00a601a
Standardized, default credit card form for gateways to use if they support 'default_credit_card_form'. Closes #3616
2013-09-27 13:22:08 +01:00
Mike Jolley
ef49977905
add_to_cart_url add_to_cart_text and single_add_to_cart_text class methods allowing greater control with custom classes.
...
Closes #3484 and Closes #3143 . Pinging @thenbrent as the handler was
originally his idea and I've killed it.
@helgatheviking In 2.1, add to cart URLs will only be used in loops, so
conditonal logic should no longer be neccessary. Single templates post
to themselves without the need for the URL.
2013-09-25 12:35:06 +01:00
Mike Jolley
ef24dfeac6
minify #3817
2013-09-23 15:53:21 +01:00
Manos Psychogyiopoulos
3af1df55c7
Allow variations JS to be used on multiple products in the same form
2013-09-22 18:30:39 +03:00
Mike Jolley
5f7753b343
Checkout error hook
...
@coenjacobs useful for .15 IMO
2013-09-16 14:55:21 +01:00
Mike Jolley
d13ec3bcd6
touchstart event for ios devices. Closes #3376 .
...
@coenjacobs might be good for .15
2013-09-13 15:48:23 +01:00
Mike Jolley
0405fabf69
Alt changes from .14
2013-09-04 17:22:35 +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
f8aaef00e4
Replace placeholder script. Closes #3586 .
2013-08-13 12:50:47 +01:00
Mike Jolley
7fda2bd832
Search for US/UK on country field. Fixes #3626 .
2013-08-13 12:38:26 +01:00
Mike Jolley
4b223f6260
Min
2013-08-06 14:04:40 +01:00
Legradi Szabolcs
94f8baee1a
Coupon slidedown animation clipping effect, fixes #3590
2013-08-06 10:36:28 +02:00
Mike Jolley
03af136986
Separate ship to options from sell to. Closes #3215 .
2013-08-02 16:54:28 +01:00
Mike Jolley
34624fa4ca
Rather than check if cart has contents, standardize cart hash adn cookie so its refreshed once. Closes #3505 .
...
@coenjacobs for .14
2013-07-30 15:23:08 +01:00
Mike Jolley
63433bbdd7
Check for undefined attributes. Closes #3487 .
2013-07-30 13:57:42 +01:00
Mike Jolley
17da2c0c44
Prevent breakage when moved to header by w3 total cache Closes #3412 .
2013-07-23 11:49:16 +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
feb8d759a8
Only refresh fragment when cart cookie > 0
2013-07-10 17:07:25 +01:00
Neil Pie
687e1fb06a
Update add-to-cart-variation.js
2013-06-22 14:00:37 +02:00
Mike Jolley
9684ad95f7
Trigger an action when the variation form is attached
2013-06-17 13:53:21 +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
c72ae714f7
Removed nonce helper
...
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley
4f0320fdb2
Refactor frontend scripts #3165
2013-06-11 13:31:41 +01:00
Mike Jolley
71c57ecfd7
Extra trigger for slider
2013-06-06 12:30:55 +01:00
Mike Jolley
ac51ebf2b8
Revised checkout shipping process. Checkbox within heading. Closes #2571 .
2013-05-28 14:19:08 +01:00
James Koster
d1fbc3b7f1
replaced placeholder plugin
...
old one no longer in active dev
2013-05-21 12:46:47 +01:00
Mike Jolley
ffe064db99
Delegate order by Closes #3080 .
2013-05-10 12:47:43 +01:00
Mike Jolley
d0ee67d9e1
Trigger when loading fragments Closes #2985 .
2013-04-23 15:37:19 +01:00
Dominic
c07fac099f
Removed commas after last item in object
...
Older IEs have issues with this for some reason.
2013-04-19 17:55:43 -07:00
Mike Jolley
85f98e48c7
Fix checkmark Closes #2951 .
2013-04-15 12:36:04 +01:00
Mike Jolley
422b07b262
Reveal cart on adding_to_cart action
2013-04-09 09:38:55 +01:00
Mike Jolley
9977031a5d
Nonces cannot be used on all pages with cache - removed them for add to cart actions + fixed caching for hiding the cart
2013-04-08 18:43:07 +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
789e917a7c
Backwards compat
2013-03-23 15:10:42 +00:00
James Koster
3ea5afbbc0
Revert "Don't allow decimals in .qty. closes #2773 "
...
This reverts commit 5e377c9f0f
.
2013-03-22 20:04:44 +00:00
James Koster
5e377c9f0f
Don't allow decimals in .qty. closes #2773
2013-03-22 20:03:07 +00:00
Mike Jolley
55b6a59e44
Check variation exists. Closes #2700 .
2013-03-18 14:03:39 +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
089178e0e8
escape when output, not when saved. #2587
2013-03-05 21:20:00 +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
Jonathan Desrosiers
52f827a3cf
IE8 Fix - Review order was being deleted because there are two #order_review on the page. Better practice to never have two of the same IDs on the same page anyways.
2013-03-01 15:53:27 -05:00
Mike Jolley
d403f4d9bc
Split out fragment code into wc-cart-fragments Closes #2528
2013-02-26 12:15:12 +00:00
Mike Jolley
15e6b14b58
Focus Closes #2479 .
2013-02-20 18:20:28 +00:00
Mike Jolley
038eceffc8
Fix clear image reset
2013-02-19 11:03:23 +00:00
Mike Jolley
6bcb33f74a
Fix reviews Closes #2378 .
2013-02-11 15:37:26 +00:00
Mike Jolley
7a84ddd6c1
Tidied up settings, removed some un-needed settings, and made some settings automatic e.g. coupons disabled if no coupons exist
2013-02-10 23:02:52 +00:00
Mike Jolley
c903e47089
Improve variation form pattern and data
2013-02-07 10:12:08 +00:00
Mike Jolley
8742d83f72
Open payment box Closes #2357 .
2013-02-05 10:46:31 +00:00
Mike Jolley
fc84aacd14
Modify trigger. Closes #2324 , #2323
2013-02-01 15:04:10 +00:00
Mike Jolley
bbc8cea1aa
remove, don't hide, variation attributes
2013-02-01 11:49:29 +00:00
James Koster
ac70b46867
more prettyPhoto
2013-01-31 14:15:55 +00:00
Mike Jolley
3b4e7ac4f8
sessionStorage instead of localStorage
2013-01-29 17:05:25 +00:00
Mike Jolley
eb1469a2ab
min
2013-01-29 12:37:09 +00:00
Geert De Deckere
891d8f9bdb
Small optimisation for postcode/city field reordering
2013-01-28 14:28:32 +01:00
Mike Jolley
484f1e4192
Restore fields after postcode before city. Closes #2293 .
2013-01-28 12:28:27 +00:00
Mike Jolley
c21ca1a68c
fragment tweak
2013-01-28 12:02:21 +00:00
Mike Jolley
fdfa0d6efb
QTY Closes #2280 .
2013-01-28 11:42:03 +00:00
Mike Jolley
b211894d3c
Get cart from ajax or local storage to prevent cache
2013-01-28 10:59:24 +00:00
Mike Jolley
0c523d30b1
@coenjacobs See this. Custom ajax handler and cart refresh per page load to get around cache issues. Custom handler foes *feel* a little wrong but since it doesn't load admin, it loads 100% faster.
2013-01-27 18:55:30 +00:00
Mike Jolley
a3e5748369
Add to cart json #2268
2013-01-22 16:33:33 +00:00
Mike Jolley
9e72c6a879
Pevent error if no fragments are returned
2013-01-22 14:30:21 +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
128b333578
Fix checkout field visibility after switching country
2013-01-20 13:10:36 +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
53aee3c446
Fix for commit 5507e8453f
2012-12-28 17:33:05 +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
James Koster
6e2b7067a2
Revert "fade the view cart link in"
...
This reverts commit ffb4b207d4
.
2012-12-11 18:15:57 +00:00
James Koster
d37435eaea
Revert "still need the added class!"
...
This reverts commit f0641a5c05
.
2012-12-11 18:15:38 +00:00
James Koster
f0641a5c05
still need the added class!
2012-12-11 18:10:00 +00:00
James Koster
ffb4b207d4
fade the view cart link in
2012-12-11 18:05:08 +00:00
James Koster
cf8f381bd8
added title to added_to_cart anchor
2012-12-11 17:29:58 +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
a9d5df1c13
min
2012-12-06 15:44:22 +00:00
Yakir Sitbon
998fa3b8d0
Fxing step return "NaN" in quantity.
2012-12-06 17:19:48 +02: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
4720628a71
Hooks galore for integers vs floats. Closes #1113 .
2012-11-19 14:05:06 +00:00
Mike Jolley
2d0909d28b
Update weights/dimensions for variations if they differ. Closes #1629 .
2012-11-16 13:50:15 +00:00
Mike Jolley
8986da2ec2
This is fixed in iO6, so just show an alert when nothing matches. Closes #1737 .
2012-11-14 15:38:56 +00:00
Mike Jolley
9971da5f86
Fix for #1707 .
2012-11-07 21:23:45 +00:00
Mike Jolley
21e9252405
Country text instead of dropdown. Closes #1658
2012-11-06 12:43:17 +00:00
Mike Jolley
243de32c23
Only replace content if response has content. Closes #1606 .
2012-10-17 12:43:59 +01:00
Mike Jolley
c1c5cd6890
Prevent double form submission. Closes #1609 .
2012-10-17 12:21:50 +01:00
Mike Jolley
39b7567b0c
product_variations[] Closes #1581 .
2012-10-12 14:21:21 +01:00
Mike Jolley
79324412d4
sku tweak. Closes #1479 .
2012-10-08 13:54:31 +01:00
Brent Shepherd
b4cf878f40
Only slide payment box up-and-down if > 1 method
2012-10-08 12:01:43 +10:00
Mike Jolley
ead3e8313e
Final image handling tweaks.
2012-10-05 19:02:02 +01:00
Mike Jolley
b88c6e62f7
Load sessions before customer class. Closes #1545 .
2012-09-30 20:11:32 +01:00
Mike Jolley
544b9a1874
readme and min
2012-09-29 20:32:22 +01:00
Mike Jolley
93849b89e7
Merge pull request #1530 from scottbasgaard/master
...
Update Product Image Title w/ Variation Image for Lightbox
2012-09-29 12:16:11 -07:00
Mike Jolley
1b8e887f39
Fix updating when typing. Closes #1540 .
2012-09-29 19:43:45 +01:00
Scott Basgaard
f5999c270b
Update Product Image Title w/ Variation Image for Lightbox
2012-09-25 14:22:22 +02:00
Mike Jolley
cb2b935788
Tax expansion to allow city taxes, #94
2012-09-23 17:16:39 +01:00
Mike Jolley
53c5fbee40
Fix - Variation sku updating after selection.
2012-09-05 16:57:19 +01:00
Mike Jolley
e19505c6ab
checkout loading tweak
2012-09-03 16:45:09 +01:00
Mike Jolley
431316dfd3
small variable naming tweak
2012-08-25 16:00:40 +01:00
Mike Jolley
3eeae3a164
Hide cart button when a variation is out of stock with disabled backorders. Closes #1419 .
2012-08-25 11:02:02 +01:00
Mike Jolley
b450616848
woocommerce_ajax_loader_url
2012-08-25 10:32:14 +01:00
Mike Jolley
c42814bbc6
Added fallback for variations variable (JS)
2012-08-25 10:11:23 +01:00
Mike Jolley
5ab84b2b98
Pass variation to show_variation trigger (JS). Closes #1431 .
2012-08-25 09:51:20 +01:00
Mike Jolley
e7c5542762
javascript tweak for #1416
2012-08-24 21:46:32 +01:00
Mike Jolley
50b62fe4d4
tweak to add to cart logic
2012-08-24 18:44:11 +01:00
Mike Jolley
7a14daebea
min
2012-08-23 10:57:09 +01:00
Dominic
601852df87
Renamed variable, avoid window.name collision
...
Using a variable called `name` causes the global `window.name` to be reset. Simply renaming the variable prevents this.
2012-08-22 23:11:30 -07:00
Mike Jolley
822a03529b
min
2012-08-22 16:36:08 +01:00
Manos Psychogyiopoulos
bf59c718c0
Fix annoying sliding effect on option change.
2012-08-22 09:51:19 +03:00
Mike Jolley
40cc7b997d
Scope. Closes #1364 .
2012-08-21 16:41:18 +01:00
Mike Jolley
6cd409b7a4
Fixes for #1347 .
2012-08-08 11:53:36 +01:00
Mike Jolley
56e8689c5d
Merge pull request #1347 from scottbasgaard/master
...
Update Variation Image Title/Alt
2012-08-08 03:44:49 -07:00
Scott Basgaard
713f6fa6f5
Update Variation Image Title/Alt
...
We should update the image title/alt when the product image changes for different variations.
2012-08-07 10:37:00 +02:00
Mike Jolley
417fd73ab1
undefined check. Closes #1294 .
2012-07-26 15:43:47 +01:00
Aaron Holbrook
b4a62dc49b
Fixed typos (depreciate should be deprecate)
2012-07-23 13:14:02 -05:00
Mike Jolley
37b0dec37a
Event handling for checkout fields
2012-07-20 13:46:05 +01:00
Mike Jolley
30b8ddaf1d
Split up frontend scripts so they can be loaded when needed.
2012-07-17 15:09:18 +01:00