Commit Graph

1922 Commits

Author SHA1 Message Date
Shiva Poudel 56317052f2 Fix - Order button text on payment method change
CC @kloon
2017-11-18 20:08:19 +05:45
Mike Jolley 72e078e83e Merge branch 'fix/17236'
# Conflicts:
#	includes/class-woocommerce.php
2017-11-17 12:49:02 +00:00
Mike Jolley cbc16f7e2b Min 2017-11-15 14:34:42 +00:00
Mike Jolley 36ce76434a Fix propagation on click
Fixes #17630
2017-11-15 14:34:35 +00:00
Mike Jolley 56d86aee96 trashed styling 2017-11-15 13:41:20 +00:00
Mike Jolley 128b826791 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley dea454c88e Clickable elements 2017-11-15 12:51:14 +00:00
Shiva Poudel 07784c3ee2
Revert "Add correct method to define new in a backbone" 2017-11-15 11:24:10 +05:45
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 683e396c43 Merge branch 'pr/17567' 2017-11-08 15:21:24 +00:00
Mike Jolley f54b240539 No need to reload if redirecting 2017-11-08 15:21:13 +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 bb31ecdff1 Validation 2017-11-08 13:40:30 +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
Grzegorz Rola 56e8b8bc57 Refresh order edit page on every refund. Ie. when refund generates some data for custom meta boxes. 2017-11-04 16:40:52 +01: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
Mike Jolley ed49c5b524 Styling improvements 2017-11-03 11:57:44 +00:00
Mike Jolley ecebe6271b minify 2017-11-02 17:32:51 +00:00
Mike Jolley 10ea761a7d Pass order location through to order ajax functions which recalc taxes.
Closes #17236
2017-11-02 17:31:03 +00: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 1f7ecd9fb9 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/js/frontend/checkout.min.js
2017-11-01 16:52:21 +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 a31c328b1d Min 2017-11-01 13:53:04 +00:00
Mike Jolley c9f685f1e0 Simple reset on validation error in iris picker 2017-11-01 13:52:08 +00:00
Mike Jolley 547bde0ceb Improve iris code 2017-11-01 13:47:20 +00:00
Mike Jolley ef4c05a393 Merge branch 'pr/17098' 2017-11-01 12:43:35 +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
claudiulodro 1eb0c1cf97 selectWoo useability improvements 2017-10-27 11:58:33 -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
Claudio Sanches 8130fc9c38
Merge pull request #17356 from Umangvaghela/backbonejs-changes
Add correct method to define new in a backbone
2017-10-27 15:36:35 -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
Gerhard Potgieter 1e66cedaf0 Save order items before adding new one when there are unsaved changes. Closes #17384 (#17402) 2017-10-27 12:38:10 +01:00
Paul Dechov 9c2df6486c Default currency responds to country selection in setup wizard (#17318)
* Default currency responds to country selection in wizard

* Refactor to use wp_list_pluck

* Use <script> tag to define global instead of using hidden <input>

* Revert ignoring currency option value on page load
2017-10-26 13:39:54 +01:00
Claudio Sanches ca31772710 Merge pull request #17375 from marcomarasco/master
IE11 event handler listener fix for add to cart buttons
2017-10-25 19:55:10 -02:00
Claudio Sanches faa614ffa7 Merge branch 'master' into fix/17308-remove-item-reloads-unsaved-items 2017-10-25 19:47:54 -02:00
Claudio Sanches f38a7d5cc0 Fixed coding standards and minify 2017-10-25 19:45:46 -02:00
claudiulodro 6cc5d5290c Update to latest selectWoo 2017-10-25 13:51:37 -07:00