Claudio Sanches
61346720c7
Allow enforce password strength meter on checkout
2019-05-24 15:27:26 -03:00
Gerhard
bb2d38db49
Remove all frontend minified js files
2019-05-07 10:20:28 +02:00
justlevine
78ae91a77d
Add input-classes to preserve user defined classes on change
2019-04-22 19:43:41 +03:00
Mike Jolley
6579972fd3
Minify
2019-04-16 14:36:37 +01:00
Mike Jolley
2e96f4ab3f
override addCaptionHTMLFn
2019-04-16 14:33:41 +01:00
Mike Jolley
81ac8664a9
Avoid update cart on non-cart screens
2019-04-12 12:14:54 +01:00
Mike Jolley
2f9d6ac669
queue remove from cart
2019-04-12 12:05:07 +01:00
Mike Jolley
e9836ef298
Add queue for add to cart requests
2019-04-12 11:58:49 +01:00
David Stone
65c4d7d37c
Allow wc_product_gallery to be called without any arguments.
2019-04-01 22:56:54 -06:00
Mike Jolley
308d08f97e
Run grunt tasks
...
Fixes warnings from grunt so files are minified correctly. Copied fixes that went into release branch but not master earlier this week.
2019-03-20 20:08:52 +00:00
Mike Jolley
7c42ac0a29
Also remove hardcoding of attributes on frontend state fields
2019-03-19 16:59:22 +00:00
Mike Jolley
81a4b81e7c
Merge pull request #23066 from woocommerce/fix/23055
...
preventDefault when dismissing store notices
2019-03-18 11:12:26 +00:00
Gerhard
2b90cf845e
Pass event as parameter.
2019-03-18 13:09:38 +02:00
Mike Jolley
3070961783
Merge branch 'pr/23047'
2019-03-18 11:02:33 +00:00
Mike Jolley
5d22b3a2eb
data check
2019-03-18 11:02:26 +00:00
Gerhard
63f8359491
preventDefault when dismissing store notice, this fixes jumping of page to top when clicking store notices at the bottom of the page.
2019-03-18 10:23:25 +02:00
JeroenSormani
5faab22c77
Merge remote-tracking branch 'upstream/master' into checkout-input-fields
2019-03-16 10:46:49 +01:00
JeroenSormani
772244d82f
Recognize all :input checkout fields with ID, not just input (JS)
2019-03-16 10:46:18 +01:00
Mike Jolley
f90f0203b5
Grunt dev
2019-03-15 12:21:51 +00:00
popala
023d9fe9ed
Fixed "e is null" error on checkout page
...
Fixed "e is null" on checkout page which caused the order panel to be disabled.
2019-03-13 19:37:14 +01:00
Mike Jolley
53a7de5244
Merge pull request #22948 from woocommerce/fix/22940
...
Correctly show state fields after posting the edit address form
2019-03-12 13:20:32 +00:00
Mike Jolley
406364fefb
Tidyup unused vars
2019-03-06 15:33:20 +00:00
Mike Jolley
023217c03d
Remove required when changing to optional
2019-03-06 15:18:27 +00:00
Mike Jolley
9b6ded2cef
Custom init event for state fields
2019-03-06 15:11:39 +00:00
Mike Jolley
e1ff1bfae9
Update from master
2019-03-06 12:37:24 +00:00
Mike Jolley
f707eeda3e
Update from master
2019-03-05 13:31:14 +00:00
Mike Jolley
fc1a274fcb
Check for hover after timeout
2019-02-20 17:22:43 +00:00
Mike Jolley
76b7a4facf
cs
2019-02-20 16:37:40 +00:00
Mike Jolley
afe219d854
Select an option vs state
2019-02-18 11:49:46 +00:00
Mike Jolley
34998caa43
Add time to fragment request
2019-02-15 17:35:44 +00:00
Mike Jolley
e830b42ba7
Remove old safari code
2019-02-15 17:10:17 +00:00
Mike Jolley
b70471448c
Merge fix/21858
2019-02-12 16:19:32 +00:00
Mike Jolley
4b8e808a97
Merge pull request #22664 from woocommerce/fix/21788
...
BlockUI on order form submit
2019-02-12 16:11:08 +00:00
Mike Jolley
8404b644da
Merge pull request #22645 from woocommerce/update/21963
...
Add notice hash to store notice cookie
2019-02-08 13:05:03 +00:00
Gerhard Potgieter
d0898e6a80
Merge pull request #22629 from woocommerce/performance/22260
...
Use `get` instead of `load` on cart page
2019-02-06 15:47:17 +02:00
Mike Jolley
3948e9f83c
BlockUI on order form submit
2019-02-05 11:40:10 +00:00
Mike Jolley
fa9465a2cb
novalidate order review form
2019-02-05 11:23:47 +00:00
Mike Jolley
5f5272ba2e
Merge pull request #22541 from woocommerce/pr/20830
...
Init cart widget when added to sidebar via the customizer
2019-02-05 10:39:29 +00:00
Mike Jolley
1928f34699
Add notice hash to store notice cookie
...
Closes #21963
2019-02-04 13:18:09 +00:00
Mike Jolley
893b33973c
Merge branch 'fix/22147'
2019-02-04 13:05:40 +00:00
Mike Jolley
25a92b1d92
Feedback
2019-02-04 12:51:20 +00:00
Mike Jolley
a5d62b83a8
Merge branch 'enhancement/woocommerce_display_product_attributes'
2019-02-04 11:25:13 +00:00
Mike Jolley
8fde07153a
Use get instead of load
2019-02-01 14:30:42 +00:00
Mike Jolley
9b655c0ba7
Use hasSelectiveRefresh
2019-01-23 21:29:55 +00:00
Mike Jolley
3a94fc6d00
Introduce steps and cleanup variable names for clarity
2019-01-23 18:29:33 +00:00
Mike Jolley
01696d92b0
Add comments and round to 10
2019-01-23 17:34:51 +00:00
Mike Jolley
f96d59ac2b
Merge branch 'pr/21043'
2019-01-23 15:16:50 +00:00
Mike Jolley
987a24afdc
Timeout param
2019-01-23 15:16:40 +00:00
Eric Defore
148e308d38
Have ProductGallery object utilize arguments that are passed into it.
2019-01-18 12:20:13 -05:00
Eric Defore
c1c8a88920
Add before and after Events for Product Galleries on Product Single
2019-01-18 12:08:38 -05:00
Mike Jolley
ac29165892
Merge pull request #22459 from woocommerce/fix/21770
...
Prevent selected payment method description box from sliding up
2019-01-17 13:35:22 +00:00
Claudiu Lodromanean
c2c7cbeccb
Merge pull request #22444 from woocommerce/fix/22119
...
Fix checkout field locales on first load
2019-01-16 09:39:42 -08:00
Ron Rennick
5bba703723
update trigger name to `wc_cart_emptied`
2019-01-16 10:36:35 -04:00
Mike Jolley
2ea7e4fb6a
woocommerce_display_product_attributes filter
2019-01-16 12:25:19 +00:00
Ron Rennick
3fae170c14
notify script plugins that the cart was emptied
2019-01-15 14:44:28 -04:00
Mike Jolley
35a01fd06a
Update select placeholders on locale change
2019-01-15 15:50:55 +00:00
Mike Jolley
ec1d44c742
Prevent selected payment method description box from sliding up
...
Closes #21770
2019-01-15 12:14:55 +00:00
Mike Jolley
f6fe8d1abc
Priority should use integers
...
#22227
2019-01-14 14:58:00 +00:00
Mike Jolley
d83c9c5f5b
When page is ready, make fields update for all country fields
2019-01-14 14:44:54 +00:00
Mike Jolley
3922d186e0
trigger event when ready (wc_address_i18n_ready)
2019-01-14 14:44:14 +00:00
Mike Jolley
a4925ff916
Loop to match text versions of attribute names and avoid problems with entities
2019-01-08 14:08:27 +00:00
Ron Rennick
0456cb7323
update second instance of href reassign in cart.js, props @joshuatf
2018-12-19 11:19:47 -04:00
Ron Rennick
dc41135a05
use reload() instead of reassigning href property
2018-12-19 11:16:59 -04:00
claudiulodro
3fc51354a4
Decode variation html dimensions
2018-11-06 17:10:20 -05:00
Gerhard
ba90c531c7
Remove the change trigger as that is causing other issues as per ##20640
2018-10-31 07:29:35 +02:00
Gerhard
c0acd73d31
Trigger a country select on page load to ensure the address-i18n is fired on first page load.
2018-10-29 13:39:54 +02:00
claudiulodro
24d2948299
Recompile assets
2018-09-28 08:28:45 -07:00
Dominik Krebs
0af4941187
corrected code style
2018-09-26 16:10:37 +02:00
Dominik Krebs
64399b65b9
fixes an issue with additional payment select fields having 'disabled selected'
2018-09-19 13:35:00 +02:00
claudiulodro
4d6ab678c1
Fix linter errors
2018-08-30 09:56:26 -07:00
Florian Ludwig
1d76102395
Adds error event trigger for erroneous fragment retrieval (timeout or server error)
2018-08-14 12:53:04 +02:00
Florian Ludwig
6f03a5fe72
Adds timeout to cart fragment ajax call
2018-08-14 12:24:33 +02:00
Peter Fabian
23623323b7
Change caption of image when variation is selected.
2018-08-09 14:23:29 +02:00
Peter Fabian
caa978cf2d
Use jQuery for scrolling to element for all browsers to avoid special cases.
2018-08-06 19:56:09 +02:00
LuigiPulcini
79cda7c2bc
Update add-to-cart.js
2018-07-23 08:11:21 -07:00
LuigiPulcini
bca7bfe29c
Adding product data to `removed_from_cart` event
...
Adding `$thisbutton.data()` to the arguments sent by the `removed_from_cart` event.
This would help developers easily detect which product has just been removed and alter their theme/plugin accordingly.
2018-07-14 16:11:16 +02:00
Claudio Sanches
2a1940aeba
Fixed notice when variation does not exists on frontend
...
Closes #20752
2018-07-11 22:02:56 -03:00
Peter Fabian
11da1898b8
Removed unnecessary form change trigger on load of checkout page.
2018-06-28 18:12:04 +02:00
Mike Jolley
ab6e9ce568
Merge pull request #19496 from valdrinkoshi/master
...
Avoid using eval in add-to-cart-variation.js
2018-06-27 18:43:00 +01:00
valdrinkoshi
6e602636eb
use wp.template when it's too hard
2018-06-15 10:05:00 -07:00
valdrinkoshi
b2eb217eb8
handle interpolate escaped
2018-06-15 08:17:17 -07:00
valdrinkoshi
22d53675e6
avoid using wp.template in onFoundVariation
2018-06-15 08:08:34 -07:00
Mike Jolley
5e6405b650
Merge branch 'master' into update/13359
2018-06-15 15:12:12 +01:00
Mike Jolley
6152aea961
Merge pull request #20506 from woocommerce/refactor/20420
...
Tokenization form refactor
2018-06-14 16:22:45 +01:00
Mike Jolley
0c819cbd08
Merge pull request #20432 from woocommerce/fix/20399
...
stopPropagation when payment method selected
2018-06-14 15:26:40 +01:00
Mike Jolley
cfe1cb5c16
Handle login and change events
2018-06-12 15:32:01 +01:00
Mike Jolley
e5192cfeff
Fix :checked
2018-06-12 15:01:22 +01:00
Mike Jolley
ac2d76ea53
Refactor tokenization form
2018-06-12 14:57:55 +01:00
Mike Jolley
663f7c4a76
click event fallback
2018-06-11 13:16:02 +01:00
Mike Jolley
8261cffaa7
Remove bulk actions
2018-06-07 18:01:21 +01:00
Mike Jolley
d74db270b8
stopPropagation when payment method selected
2018-06-07 15:41:25 +01:00
Mike Jolley
4df54b4e53
Merge branch 'master'
2018-06-07 11:24:12 +01:00
Mike Jolley
86993a4f70
Merge branch 'master' into update/13624
2018-06-07 10:30:52 +01:00
Mike Jolley
ab6d5a8f75
re-init zoom to fix case #20367
2018-06-05 13:22:35 +01:00
Mike Jolley
001a2e3b98
Merge branch 'master' into fix/20311
2018-06-05 12:57:48 +01:00
Gerhard Potgieter
b8622398f5
Strict comparison
2018-06-04 12:23:22 +02:00
Gerhard Potgieter
5ee3b5dc99
Cater for -1 strengh when the library fails to load, it should remove the disabled attr so the form can continue to be submitted.
2018-06-04 08:39:24 +02:00
Mike Jolley
18c7e16a72
reset only when needed.
2018-05-31 14:57:01 +01:00
Mike Jolley
9f6c7e2a57
JS min
2018-05-31 10:44:52 +01:00
Mike Jolley
814c62aaf2
merge master
2018-05-30 14:35:32 +01:00
Mike Jolley
8a6e3e30a6
If flexslider is disabled, gallery images also need to trigger photoswipe on click.
2018-05-29 12:50:40 +01:00
Ewout Fernhout
292be93403
Update address-i18n.js
...
fixes #20194
2018-05-24 14:37:21 +02:00
Chase Wiseman
346e710314
Only hide .payment_box elements init for multiple methods
...
Prevents hiding a single payment method’s UI on the order pay page
2018-05-22 14:42:16 -07:00
pierrebuet
3b18ac12d1
Avoid double input field
...
When geolocalization is active and a form uses the GET method, the script adds an hidden field for the geolocalization hash v, without checking if it already exists. But wc_query_string_form_fields adds it already, if the parameter was present in the called url.
2018-05-18 21:39:19 +02:00
Mike Jolley
83edda2b1f
min
2018-05-11 11:57:30 +01:00
Mike Jolley
9cb0d3c884
Slideup during init to prevent jump on RTL sites
2018-05-11 11:55:22 +01:00
Peter Fabian
fcad799606
ScrollIntoView excplicitly asked to scroll to center vertically.
...
Even though this should be the default, Firefox defaults to top.
2018-05-09 14:40:21 +02:00
Claudiu Lodromanean
911c2d45c4
Merge pull request #20006 from woocommerce/fix/19970
...
Render password meter in place
2018-05-08 11:47:28 -07:00
Claudiu Lodromanean
7528762ee2
Merge pull request #20002 from woocommerce/fix/19959
...
Zoom improvements for mobile/touch
2018-05-08 11:16:44 -07:00
Mike Jolley
1788273e48
Minify
2018-05-08 18:11:01 +01:00
Mike Jolley
4e4d6204bc
Hide password meter rather than remove it.
2018-05-08 18:10:26 +01:00
Mike Jolley
ffbbf08b61
Zoom improvements for mobile
2018-05-08 14:48:25 +01:00
Mike Jolley
3d8bb09ee8
Check validity before handling submit event in cart
2018-05-08 12:40:13 +01:00
claudiulodro
eeb97510eb
Recompile and prepare for beta 2
2018-05-03 09:46:40 -07:00
Mike Jolley
b6b4961108
min
2018-05-03 15:29:57 +01:00
Mike Jolley
982d9ec245
Disable zoom on touch devices
2018-05-03 12:28:25 +01:00
pierrebuet
030cb2690a
Identation change
2018-04-27 22:42:42 +02:00
pierrebuet
74c7fdb35c
Modify jQuery selector to include select tags
2018-04-27 01:20:53 +02:00
Claudiu Lodromanean
483b5aafe1
Merge pull request #19878 from woocommerce/fix/gallery-image-update
...
Fix gallery switching when image is the same
2018-04-26 13:14:57 -07:00
Mike Jolley
7d7d73fa4a
Fix gallery switching when image is the same
2018-04-26 17:47:39 +01:00
Peter Fabian
7ffc5a4b51
Made JS to look for closest form-row paragraph instead of parent.
...
As the input/select are now wrapped in span, going to parent brakes the form in some workflows.
2018-04-25 12:46:38 +02:00
Mike Jolley
cd20ba0666
Add notices to wrapper div in cart
2018-04-19 18:27:46 +01:00
Mike Jolley
860e7a5d23
Merge branch 'master' into update/gdpr-checkout-customizer
2018-04-16 18:02:28 +01:00
Peter Fabian
6d951b0ddd
Scroll to notices also for apply coupon.
2018-04-12 13:49:34 +02:00
Peter Fabian
2baa7fbbdc
Added scroll to notices to cart page
2018-04-12 13:34:34 +02:00
Mike Jolley
3140a0fb62
More customistion options for terms and conditions.
2018-04-06 11:43:30 +01:00
Mike Jolley
3bf567279b
Improve default appearance of descriptions so they toggle on focus and support HTML.
2018-04-05 16:56:00 +01:00
Mike Jolley
3a6c3e002b
Add option to choose if the checkout marks either required or optional fields, and style these options.
2018-04-05 14:12:59 +01:00
Peter Fabian
80dc183880
Use nbsp to separate * denoting required fields.
2018-04-04 16:45:40 +02:00
Mike Jolley
d12194fbe7
Only push to lightbox if image is found
...
Closes #19435
2018-03-29 11:18:35 +01:00
Mike Jolley
cb3c4849b4
Merge branch 'master' into fix/19175
2018-03-13 18:14:36 +00:00
Mike Jolley
1dd558ac69
Loading should be false
2018-03-13 11:50:43 +00:00
Mike Jolley
0d624862c2
Use gallery thumbnail size for variation image switcher.
2018-03-09 14:36:14 +00:00
Mike Jolley
e27af8a416
When loading default attributes/variation, if there is no longer a match, reset the form and hide the notice
2018-03-01 10:32:26 +00:00
Claudio Sanches
9c39dd34cc
Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget
2018-02-02 14:46:51 -02:00
Mike Jolley
b82dbb6354
Update fragment when removing from cart
...
Closes #18548
2018-01-22 10:50:57 +00:00
Mike Jolley
1fc6155167
Fix cart ajax triggers
...
Closes #18498
2018-01-18 16:31:17 +00:00
Mike Jolley
431b95dade
cart_hash_key param
2018-01-15 16:03:27 +00:00
claudiulodro
32b85885b4
Recompile assets
2018-01-11 09:10:29 -08:00
Claudiu Lodromanean
d7718df0f9
Merge pull request #18400 from woocommerce/update/17656
...
Pass through zoom options
2018-01-09 09:21:13 -08:00
Mike Jolley
2b2b73b4b7
Pass through zoom options
2018-01-09 15:44:54 +00:00
Mike Jolley
fdadbc67a4
Remove deprecated load call
...
Closes #18005
2018-01-09 10:01:29 +00:00
claudiulodro
fd18d24ddd
Recompile and version for beta 2
2018-01-05 10:10:17 -08:00
MannyC
1252215dc2
Change flexslider options property name back to just `flexslider` from `flexslider_options`.
2017-12-20 12:15:45 +00:00
MannyC
c8dfc7e91e
Allow back end to pass adhoc options to the product flexslider, following the standard set by the photoswipe options.
...
This commit also changes the name of the options array key from `flexslider` to `flexslider-options`, also following the photoswipe standard.
As a side effect, the flexslider is now correctly being passed the `rtl` parameter, which previously wasn't being used by the front end (even though the back end was sending it).
2017-12-17 01:03:51 +00:00
Mike Jolley
43f8e1b056
Remove fragment when appending geolocation hash
...
Fixes #18083
2017-12-11 13:31:54 +00:00
Mike Jolley
0a9485c465
Merge branch 'master' into feature/11259
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# includes/admin/list-tables/class-wc-admin-list-table-products.php
# includes/class-wc-install.php
# includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
claudiulodro
a73436bdcd
Merge remote-tracking branch 'origin/master' into HEAD
2017-11-20 14:43:12 -08:00
Mike Jolley
e8fa9e5b86
Support control and click new tab on orders view
2017-11-20 17:58:08 +00:00
Shiva Poudel
56317052f2
Fix - Order button text on payment method change
...
CC @kloon
2017-11-18 20:08:19 +05:45