Commit Graph

867 Commits

Author SHA1 Message Date
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