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
claudiulodro
4ef2152881
Hide/set fields depending on whether managing stock
2017-11-15 14:10:06 -08:00
Mike Jolley
cbc16f7e2b
Min
2017-11-15 14:34:42 +00:00
Mike Jolley
6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
...
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley
160d17eb2e
Merge pull request #17500 from woocommerce/fix/17156
...
Use scrollIntoView on checkout
2017-11-08 14:13:24 +00:00
Mike Jolley
7e0f18f4af
min
2017-11-08 14:12:54 +00:00
Mike Jolley
e7f1a3f22f
scrollElement.length
2017-11-08 14:12:36 +00:00
Mike Jolley
74ece1b7aa
Merge pull request #17527 from greguly/patch-5
...
Shipping selection for multiple packages
2017-11-08 14:11:17 +00:00
Mike Jolley
e025caf177
Widths and aspect ratios
2017-11-07 18:32:43 +00:00
Gerhard Potgieter
5164dc25e3
Update password js files to trigger on button[type="submit"] instead of input[type="submit"]
2017-11-07 12:37:36 +02:00
Manos Psychogyiopoulos
55b3f339d3
Fix flex-control-nac selector scope
...
Maybe a bit more verbose than needed, but gets the job done.
2017-11-03 16:40:06 +02:00
Gabriel Reguly
f19023a9e1
Shipping selection for multiple packages
...
Allow for shipping method selection when using multiple packages.
Previous code selected/posted only the changed method, but multiple packages require all methods.
2017-11-02 14:15:29 -02:00
Mike Jolley
2044a3737b
Fixes a flexslider bug when there is only 1 image on the product page.
...
Closes #17403
This also fixes zoom issues due to the above error.
2017-11-02 11:09:34 +00:00
Mike Jolley
e14814aa2a
min
2017-11-01 16:41:01 +00:00
Mike Jolley
aab1d688d1
Add a wc_checkout_form.scroll_to_notices helper and use scrollIntoView
...
scrollIntoView lets us scroll something to the centre of the viewport.
This ensures the messages, or top of the checkout, comes into view.
Falls back to the old logic for older browsers.
Closes #17220 which didn’t solve the issue.
2017-11-01 16:40:31 +00:00
Mike Jolley
1da13769c8
Merge branch 'master' into pr/16550
...
# Conflicts:
# assets/js/frontend/checkout.min.js
2017-11-01 12:10:39 +00:00
claudiulodro
afa0ca23d2
Start scripts once document is ready
2017-10-31 12:27:57 -07:00
Claudio Sanches
ef7f3dde70
Merge pull request #17416 from woocommerce/fix/17404
...
Use custom event instead of blur to trigger validation
2017-10-27 15:58:33 -02:00
Claudio Sanches
e81c03fdb0
Uglify JS files
2017-10-27 15:41:27 -02:00
Claudio Sanches
a0ef49164f
Fixed missing jQuery wrapper
2017-10-27 15:40:05 -02:00
Mike Jolley
b6b505e2c5
Use custom event instead of blur to trigger validation
...
Closes #17404
2017-10-27 18:00:08 +01:00
Claudio Sanches
b45df5dca1
Merge pull request #17407 from woocommerce/fix/17353
...
Handle defaults + locale without clearing defaults
2017-10-27 13:40:55 -02:00
Mike Jolley
7ec8cdbc21
Merge pull request #17192 from Umangvaghela/use-strict
...
'use strict' in jQuery file
2017-10-27 15:54:41 +01:00
Mike Jolley
4e4ca2145f
Remove logging
2017-10-27 13:30:55 +01:00
Mike Jolley
538bbac3ec
Handle defaults + locale without clearing defaults
...
Rather than loop defaults, then loop locale fields, this merges both
and applies rules after this.
To test, switch countries on the checkout and ensure fields are marked
required/hidden/labelled correctly.
Closes #17353
2017-10-27 13:29:23 +01:00
Marco Marasco
5fc4279d64
IE11 event handler listener fix for add to cart buttons
2017-10-25 17:52:31 +02:00
Mike Jolley
435c4344db
Fix zoom target
...
Closes #17227
2017-10-17 17:26:08 -07:00
Mike Jolley
fa46b7166f
Check zoom is enabled before running initZoomForTarget
...
Fixes https://wordpress.org/support/topic/product-gallery-zoom/
2017-10-13 15:16:41 +01:00
Umangvaghela
75e5e36b4a
'use strict' in jQuery file
2017-10-13 17:53:26 +05:30
claudiulodro
fa9bef7ce4
Minify
2017-09-22 14:24:10 -07:00
claudiulodro
b757f0db28
Fix #16868 on Cart page
2017-09-22 14:22:53 -07:00