Peter Fabian
56d343e26a
Added minified files.
2020-06-23 13:12:10 +02:00
Peter Fabian
3b0dd45fcf
Put back the remove element for multiselects.
2020-06-23 12:38:43 +02:00
Peter Fabian
40f7c2d474
Update min files and selectWoo, coding standards.
2020-06-16 17:22:10 +02:00
Peter Fabian
14a26aca2c
Update min files and selectWoo
2020-06-16 17:15:12 +02:00
jonathansadowski
68a5d88dd8
Merge pull request #26726 from woocommerce/fix/26298
...
Accessibility: Add aria-disabled to update cart button
2020-06-12 10:37:46 -05:00
Ron Rennick
e80e9a35a7
Merge branch 'master' into fix/26271
2020-06-12 10:48:39 -03:00
Ron Rennick
14ddcbc8eb
Merge pull request #26250 from mi5t4n/fix/26234
...
Hide only the tab content under the tab wrapper
2020-06-12 10:18:41 -03:00
Ron Rennick
d4f2fd0044
Merge pull request #26525 from helgatheviking/feature/find-variations-with-custom-attributes
...
Allow onFindVariation to accept custom attributes
2020-06-10 14:04:31 -03:00
Jonathan Sadowski
e13f763587
a11y: Add aria-disabled to update cart button
2020-06-08 15:05:27 -05:00
Kathy Daring
cecfee4f57
to account for <select> fields not being present, make sure ajax doesn't fire if there are no found attributes
2020-05-14 22:28:39 -06:00
Kathy Daring
d1672ff42e
optionally accept a custom array of chosen attributes. This will make it easier for "Swatches" and "Radio" input plugins to interact with the variations script without replacing the entire thing.
2020-05-14 22:27:40 -06:00
Kathy Daring
b93b9092ca
Give plugins an entry point into the VariationForm object
2020-05-14 22:26:13 -06:00
Christopher Allford
5b427c1155
Merge pull request #25654 from miguelfspinto/patch-2
...
Add option to override element tag container in checkout forms
2020-05-11 20:03:22 -07:00
Christopher Allford
b4f6564cdd
Merge pull request #26132 from BrandynL/show-password
...
bugfix for show password icon and password hint
2020-05-11 19:54:39 -07:00
Christopher Allford
7206365250
Merge pull request #25760 from helgatheviking/issues/25759-conditionally-disable-ajax-add-to-cart
...
Conditionally disable ajax add to cart
2020-05-11 19:46:50 -07:00
Claudio Sanches
3ce6d4f04a
Fixed coding standards
2020-05-11 20:00:23 -03:00
Christopher Allford
0d6675b490
Corrected ESLint violations in JS files
2020-05-04 20:49:29 -07:00
Sagar Tamang
ab8ee194c8
Fix: Show password toggle not working in checkout page
2020-04-25 23:37:43 +05:45
Sagar Tamang
fbdbecbcf6
Hide only the tab content under the tab wrapper
2020-04-23 01:20:21 +05:45
BrandynL
b234964a1c
changed append show-password-span to prepend to fix bug with password strength hint
2020-04-08 14:21:00 -04:00
Vedanshu Jain
e9bb84e18f
Merge pull request #25627 from bartech/master
...
Fix password visibility toggle (#25624 )
2020-04-06 18:22:07 +05:30
Vedanshu Jain
395ceb7c9d
Merge pull request #25903 from woocommerce/fix-qty-update
...
Trigger change and set val to qty so that it properly updates event h…
2020-04-06 18:07:05 +05:30
Christopher Allford
1358cca6d1
Revert "Improved performance when saving variations"
2020-03-17 08:55:09 -07:00
Kathy Daring
319395b0fa
update the add to cart button if ajax request not sent
2020-03-13 18:27:45 -06:00
Kathy Daring
4ed91d9482
quit early if should_send_ajax_request.adding_to_cart triggerHandler is false and trigger a custom event instead
2020-03-13 18:26:37 -06:00
Kathy Daring
6937baccce
Revert "Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759."
...
This reverts commit 38e081e590
.
2020-03-13 18:25:25 -06:00
Boro Sitnikovski
15641bf08f
Trigger change and set val to qty so that it properly updates event handlers
2020-03-12 16:01:30 +01:00
Kathy Daring
38e081e590
Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759 .
2020-02-25 13:12:27 -07:00
vedanshujain
d904786d7d
Support both `.data()` and `.datasore` to have better compatibility
...
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30
Miguel Pinto
8ff17ddbd2
Add option to override element tag container in checkout forms
2020-02-13 03:11:44 +00:00
Bartosz Drewniak
84e958dbde
Fix password visibility toggle ( #25624 )
2020-02-10 20:30:39 +01:00
Christopher Allford
6ca7b9fa4a
Merge pull request #25382 from smachi/master
...
Improved performance when saving variations
2020-02-05 13:14:13 -08:00
Claudio Sanches
9e1738be70
Revert "Eliminate update order AJAX request on checkout page load"
2020-02-04 14:19:52 -03:00
Claudio Sanches
7fe05d46e4
Revert "Remove code that ignored the woocommerce_ship_to_destination option"
2020-02-04 14:18:48 -03:00
Vedanshu Jain
a85dc86978
Merge pull request #25540 from woocommerce/fix/25358
...
Find the correct form element to update.
2020-02-04 12:38:03 +05:30
Peter Fabian
b85d314d5d
Find the correct form element to update.
...
Previously it just found the first one, which made the second checkbox buggy.
2020-01-31 12:45:08 +01:00
Salva Machí
c4a7e19534
Refactory: code style
2020-01-31 09:23:28 +01:00
Claudio Sanches
f4263d8c11
Remove code that ignored the woocommerce_ship_to_destination option
2020-01-29 12:18:14 -03:00
Rodrigo Primo
2e61321e2a
Merge pull request #25289 from rafdizzle86/feature/add-checkout-place-order-success-triggerhandler
...
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2020-01-20 15:25:46 -03:00
Salva Machí
d1dc5f8c20
Bypass inputs without name
2020-01-13 11:31:20 +01:00
Salva Machí
2ca6c12089
Bypass unchecked radio buttons, unchecked checkboxes and disabled inputs
2020-01-13 10:24:12 +01:00
Salva Machí
37d7d498ec
Improved performance when saving variations
...
The serializeJSON function was causing a long delay when preparing the JSON if there are many input fields within the variations (even worse if 3rd party plugins add their own extra fields there too).
2020-01-10 11:38:38 +01:00
BrandynL
608d6628e3
added woocommerce specific css selector to avoid conflicts
2019-12-31 11:10:30 -05:00
Rafi Yagudin
e03861640e
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2019-12-22 17:06:50 -07:00
Christopher Allford
ed7c891675
Adjusted the checkout email validation regex to be more accurate
2019-12-17 13:18:53 -08:00
Rodrigo Primo
35053e418f
Merge pull request #24818 from roksprogar/master
...
fixed the jQuery data() caching issue
2019-12-13 14:33:09 -03:00
Claudio Sanches
104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
...
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Gerhard Potgieter
8827dfb3a4
Merge pull request #24609 from JohnTendik/feature/24429
...
Added unload event to prevent reload during checkout (#24429 )
2019-12-06 14:57:59 +02:00
Claudio Sanches
6bdb7f7a83
Merge pull request #24271 from woocommerce/update/avoid-ajax-request-on-checkout-page-load-2
...
Eliminate update order AJAX request on checkout page load
2019-12-05 21:09:10 -03:00
Claudio Sanches
5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
...
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00