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
claudiulodro
877a8491ad
Cleanup
2017-09-22 14:14:00 -07:00
claudiulodro
b3f70bb7b5
Make labels work on Cart page again
2017-09-22 12:31:08 -07:00
Mike Jolley
5131d096a8
JSMIN
2017-09-20 16:03:30 +01:00
Mike Jolley
eb3396328b
Apply default locale before country locale
2017-09-20 16:03:26 +01:00
Mike Jolley
d125739742
fix init
2017-09-16 12:37:29 -07:00
Mike Jolley
7cc931c185
Init price slider after using customizer
...
Closes #16834
2017-09-16 12:16:43 -07:00
Mike Jolley
a7b2ae8661
Update shipping code to see if full address has been entered before showing no shipping notice
...
Fixes #16757
2017-09-08 14:54:15 +01:00
claudiulodro
a3c876a2ef
Extra i18n address handling for cart page compatibility
2017-09-06 12:42:12 -07:00
Mike Jolley
ac225ee070
Delay variation transition to allow gallery to load
...
Fixes #16647
2017-08-30 12:48:02 +01:00
Gabor Javorszky
2a97509a3e
Fixed js param name
...
Fixes #16627
2017-08-28 16:36:02 +02:00
Mike Jolley
44abd1a1b8
Min
2017-08-22 11:55:00 +01:00
Mike Jolley
394a426be7
Remove change from this.queue_update_checkout
2017-08-22 11:54:44 +01:00
Mike Jolley
8720bde2f3
Minify
2017-08-18 10:39:45 +01:00
ragulka
d73e7e4f9d
Prevent unwanted double cart notices ( #16460 )
...
* Don't add shipping zone debug message when doing ajax
Prevent an issue where the "Customer matched zone" debug message is shown twice after first selecting a shipping method and then changing a product's quantity in cart and clicking Update cart.
* Don't pass event object to cart.update_cart
Prevent accidentally preserving cart notices when `wc_update_cart` event is triggered on body. If the event object is passed to update_cart() as the first param, it evaluates to true, forcing existing notices to be preserved.
* Pass custom arguments to cart.update_cart()
Instead of simply not passing the event object, pass any custom arguments, so it's possible to do something like: $( body ).trigger( 'wc_update_cart', true ); to still preserve notices if needed.
2017-08-16 11:34:35 +01:00
iickoo
9bd01a8d44
Update add-to-cart-variation.js
2017-08-15 20:55:19 +02:00
Mike Jolley
7c321a2269
Ajaxify widget remove from cart button
...
Fixes #13171
2017-07-13 12:15:13 +01:00
Claudio Sanches
a7582d50da
Merge pull request #16050 from woocommerce/update/15985
...
Use select2 in cart
2017-07-10 15:40:56 -03:00
Mike Jolley
555f093ac3
Use select2 in cart
...
Fixes #15985
2017-07-10 13:14:27 +01:00
Mike Jolley
79e3bbd0bf
Set allow one slide to false for flexslider
...
Closes #16002
2017-07-07 11:37:10 +01:00
claudiulodro
8a8daabf26
Update with master and recompile assets
2017-07-06 09:06:30 -07:00
Claudio Sanches
ee87024d82
Merge pull request #15956 from woocommerce/add-cart-readdition-notice
...
Use ajax when restoring an item in the cart
2017-07-04 16:35:23 -03:00
Claudio Sanches
002156d109
Minify
2017-07-04 16:34:58 -03:00
Claudio Sanches
3180f456d2
Merge pull request #15893 from woocommerce/fix/gallery-height-with-no-cache
...
Force height for the gallery if the image is no loaded at time of init
2017-07-04 14:10:00 -03:00
Claudio Sanches
7172d559c8
Fixed coding standards
2017-07-04 14:09:16 -03:00
Claudio Sanches
00237a6de9
Merge pull request #15959 from woocommerce/update/15949
...
Extra error checking in terms page content
2017-07-04 12:25:44 -03:00
Mike Jolley
671f052641
Tweak terms template to check the woocommerce_shortcode is not present in the content.
2017-07-04 14:03:08 +01:00
Mike Jolley
c1de30fa38
Merge branch 'master' into fix/gallery-height-with-no-cache
...
# Conflicts:
# assets/js/frontend/single-product.min.js
2017-07-04 11:50:15 +01:00
Caleb Burks
2d52e6e398
Use ajax when restoring an item in the cart
2017-07-04 04:01:59 -05:00
Caleb Burks
342b051731
Only show most recent cart removal notice
2017-07-04 03:33:51 -05:00
Mike Jolley
d78f088ba2
Force height for the gallery if the image is no loaded at time of init
2017-06-30 15:58:55 +01:00
Mike Jolley
f469312d76
Init zoom after slide is displayed
...
Closes #15825
2017-06-27 22:01:05 +01:00
claudiulodro
f02c9376c4
Move calls to selectWoo()
2017-06-26 12:44:33 -07:00
Mike Jolley
a1940f2da3
Grunt dev
2017-06-19 12:49:34 +01:00
Mike Jolley
fd7c154009
Optimise switch code
2017-06-06 14:16:56 +01:00
Faisal Alvi
1863446daf
fresh fix for 14677 (without unnecessary commit history)
2017-06-06 13:57:22 +01:00
Mike Jolley
f22d30603d
Use prototype pattern and trigger wc_cart_button_updated after updating markup
...
Fixes #15447
2017-06-05 12:43:52 +01:00
Mike Jolley
532ddfa6b0
Merge conflicts
2017-05-31 12:23:52 +01:00
Mike Jolley
2177ef93cd
Use formatted weight and dimensions for variations
...
Fixes #15327
2017-05-29 10:31:31 +01:00
Mike Jolley
a3f35d6e96
Checkout fallback regex tweaks ( #15210 )
...
* *Improve JSON regex #15159
* Run parse on invalid JSON to ensure validity and make regex more greedy.
Closes #15161
* Add is_valid_json helper
* Improve return
2017-05-25 11:20:05 +01:00
Mike Jolley
1837abbd99
Increase the timeout so the sizing works after changing variation image
...
Closes #15251
2017-05-24 17:15:22 +01:00