Commit Graph

4391 Commits

Author SHA1 Message Date
Claudio Sanches c6fbae605b
Merge pull request #26609 from woocommerce/fix/26608-twentytwenty-price-underline
Twenty Twenty: remove underline from discounted prices
2020-07-01 14:28:32 -03:00
Claudio Sanches ef6b369726
Merge pull request #26536 from catchmareck/master
Trigger removed_coupon_in_checkout event after coupon removal on checkout
2020-07-01 14:13:49 -03:00
Claudio Sanches dfe2f05e27
Merge pull request #26516 from woocommerce/fix/twenty-twenty-block-styles
Remove TwentyTwenty Block styles
2020-07-01 13:27:57 -03:00
Claudio Sanches 882f10ba18
Merge pull request #26202 from woocommerce/fix/25427
Select2 CSS adjustment is affecting other plugins
2020-07-01 13:08:18 -03:00
Claudio Sanches dec50429b4
Merge pull request #25240 from shamalisulakhe/issue-24266-solution
Issue 24266 solution - with rerf of
2020-07-01 13:00:58 -03:00
Claudio Sanches 61caec9a24
Fixed coding standards 2020-07-01 13:00:25 -03:00
Claudio Sanches 9ac5bcb586
Merge pull request #26697 from passatgt/master
Fixes for Hungarian address format and name order
2020-07-01 12:55:50 -03:00
Claudio Sanches d74b73f014
Merge pull request #26558 from woocommerce/fix/26555
Fix tooltip flashing
2020-07-01 12:47:14 -03:00
Claudio Sanches 4450d2239f
Merge pull request #26660 from woocommerce/add/status-tools-prompt
Adds a prompt to confirm if should run tools in the Status page.
2020-07-01 12:39:54 -03:00
Claudio Sanches 683296f2dc
Merge pull request #26805 from franticpsyx/issue-26799
Preserve qty input val when changing variations
2020-07-01 12:37:55 -03:00
Grzegorz Rola 598100eeb0 Settings lost warning should be shown always. 2020-06-26 10:52:28 +02:00
Claudio Sanches f4d11c89f3
Merge branch 'master' into issue-24266-solution 2020-06-23 16:47:30 -03:00
Claudio Sanches a008e8a9ac
Fixed coding standards 2020-06-23 16:40:53 -03:00
Ron Rennick aaae319a65 deprecate wc-setup 2020-06-23 15:29:58 -03:00
Claudio Sanches ca9a76c462
Fixed coding standards 2020-06-23 10:46:26 -03:00
Peter Fabian 56d343e26a Added minified files. 2020-06-23 13:12:10 +02:00
Peter Fabian 3b0dd45fcf Put back the remove element for multiselects. 2020-06-23 12:38:43 +02:00
Manos Psychogyiopoulos 06a7847f73 Preserve qty input val whan changing variations 2020-06-18 07:42:25 +03:00
Albert Juhé Lluveras 646a460c70 Remove WC Blocks styles from TwentyTwenty CSS 2020-06-17 12:17:15 +02:00
Albert Juhé Lluveras eed277b37d Product grid blocks in TwentyTwenty: remove flex styles 2020-06-17 12:17:15 +02:00
Albert Juhé Lluveras 7f5da2eebb All Products block in TwentyTwenty: same styles as product grid blocks 2020-06-17 12:17:15 +02:00
Albert Juhé Lluveras 4931fd9d06 Product grid blocks in TwentyTwenty: make product title underline black 2020-06-17 12:17:15 +02:00
Albert Juhé Lluveras cd3777ddca Product grid blocks in TwentyTwenty: align 'Sale' badge to the top right 2020-06-17 12:17:15 +02:00
Peter Fabian 40f7c2d474 Update min files and selectWoo, coding standards. 2020-06-16 17:22:10 +02:00
Peter Fabian 14a26aca2c Update min files and selectWoo 2020-06-16 17:15:12 +02:00
jonathansadowski 68a5d88dd8
Merge pull request #26726 from woocommerce/fix/26298
Accessibility: Add aria-disabled to update cart button
2020-06-12 10:37:46 -05:00
Ron Rennick e80e9a35a7
Merge branch 'master' into fix/26271 2020-06-12 10:48:39 -03:00
Ron Rennick 14ddcbc8eb
Merge pull request #26250 from mi5t4n/fix/26234
Hide only the tab content under the tab wrapper
2020-06-12 10:18:41 -03:00
Ron Rennick d4f2fd0044
Merge pull request #26525 from helgatheviking/feature/find-variations-with-custom-attributes
Allow onFindVariation to accept custom attributes
2020-06-10 14:04:31 -03:00
Jonathan Sadowski e13f763587 a11y: Add aria-disabled to update cart button 2020-06-08 15:05:27 -05:00
Viszt Péter 1724507a0e Fixes for Hungarian address format and name order
Missing address-field class for Japan's postcode and state field
Checkout layout fixes on country change
2020-06-04 19:21:41 +02:00
Claudio Sanches b4ab40ae34 Adds a prompt to confirm if should run tools in the Status page. 2020-06-01 18:56:38 -03:00
Albert Juhé Lluveras 9438f0f419 Twenty Twenty: remove underline from discounted prices 2020-05-26 18:51:25 +02:00
David Stone 4486f06cda Use keepAlive for better user experience
keepAlive lets the user hover over the tooltip without closing it.
closes # 26555
2020-05-19 14:40:56 -06:00
David Stone 030c90e069 tweak keepAlive for better user experience
keepAlive will now close when leaving target element or tooltip box
2020-05-19 14:39:44 -06:00
Pan Seba d5952d3b00 Trigger removed_coupon_in_checkout event after coupon removal on checkout 2020-05-18 13:16:30 +02:00
Kathy Daring cecfee4f57 to account for <select> fields not being present, make sure ajax doesn't fire if there are no found attributes 2020-05-14 22:28:39 -06:00
Kathy Daring d1672ff42e optionally accept a custom array of chosen attributes. This will make it easier for "Swatches" and "Radio" input plugins to interact with the variations script without replacing the entire thing. 2020-05-14 22:27:40 -06:00
Kathy Daring b93b9092ca Give plugins an entry point into the VariationForm object 2020-05-14 22:26:13 -06:00
Néstor Soriano 2462877c56
Merge pull request #26410 from woocommerce/fix/message-type-styling
Allow different notice types with WC_Admin_Notices
2020-05-14 14:37:12 +02:00
Ron Rennick db7d86f4f5 fix merge conflicts 2020-05-12 13:46:10 -03:00
Christopher Allford 7f45c56417
Merge pull request #26072 from garretthyder/privacy-policy-update
Privacy policy update
2020-05-12 09:33:28 -07:00
Christopher Allford f41cb52e0c
Merge pull request #26251 from xristos3490/fix-wp-54-styles
[WC4.1 RC] WP 5.3 select2 css fixes broken in WP 5.4
2020-05-12 07:39:10 -07:00
Christopher Allford 66dd912ee3
Merge pull request #26430 from helgatheviking/issues/26334-clear-upsells-for-twenty-twenty
clear floats for upsells and related products. Closes #26334.
2020-05-11 20:05:17 -07:00
Christopher Allford 5b427c1155
Merge pull request #25654 from miguelfspinto/patch-2
Add option to override element tag container in checkout forms
2020-05-11 20:03:22 -07:00
Christopher Allford b4f6564cdd
Merge pull request #26132 from BrandynL/show-password
bugfix for show password icon and password hint
2020-05-11 19:54:39 -07:00
Christopher Allford 7206365250
Merge pull request #25760 from helgatheviking/issues/25759-conditionally-disable-ajax-add-to-cart
Conditionally disable ajax add to cart
2020-05-11 19:46:50 -07:00
Claudio Sanches 3ce6d4f04a
Fixed coding standards 2020-05-11 20:00:23 -03:00
Kathy Darling 9c5e07e5ba clear floats for upsells and related products. Closes #26334. 2020-05-08 10:07:41 -06:00
Claudio Sanches f5e67af29a Allow use .error and .success classes with .woocommerce-message 2020-05-07 16:12:48 -03:00
Christopher Allford 0d6675b490 Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
Sagar Tamang ab8ee194c8 Fix: Show password toggle not working in checkout page 2020-04-25 23:37:43 +05:45
xristos3490 dfee6ab2e4 Add body class and change styles 2020-04-22 23:32:26 +03:00
Sagar Tamang fbdbecbcf6 Hide only the tab content under the tab wrapper 2020-04-23 01:20:21 +05:45
Fernando Marichal d8e0d956a8 Modified CSS to solve the removing element problem
Added a `z-index` to the remove button (`x`) to set the z-order of the element. This solves the removing customer from the selector problem.
Also, the dropdown arrow width was made smaller
2020-04-16 16:01:13 -03:00
BrandynL b234964a1c changed append show-password-span to prepend to fix bug with password strength hint 2020-04-08 14:21:00 -04:00
Garrett Hyder 60b7b42f23 Remove support for pre-5.2 WP, also update wp-suggested-text to use .policy-text for better plugin support. 2020-04-07 10:28:22 -07:00
Vedanshu Jain 6d888582e8
Merge pull request #25625 from aryaanlambe/master
Addressed issue #25615
2020-04-07 00:05:14 +05:30
Vedanshu Jain e9bb84e18f
Merge pull request #25627 from bartech/master
Fix password visibility toggle (#25624)
2020-04-06 18:22:07 +05:30
Vedanshu Jain 395ceb7c9d
Merge pull request #25903 from woocommerce/fix-qty-update
Trigger change and set val to qty so that it properly updates event h…
2020-04-06 18:07:05 +05:30
Garrett Hyder fadb5d0704 Merge branch 'privacy-policy-update' of github.com:garretthyder/woocommerce into privacy-policy-update 2020-04-02 13:11:24 -07:00
Garrett Hyder a1ea941947 Updated CSS to use branch-5 instead of branch-5-0 after testing. Updated check to include privacy.css to account for core#43895 which reorganized the privacy files. 2020-04-02 13:10:50 -07:00
Garrett Hyder 99279211c5
Merge branch 'master' into privacy-policy-update 2020-04-01 16:37:41 -07:00
Garrett Hyder 89336488e9 Introduced privacy.scss with custom back-compat shim for handling the ul elements of WooCommerce privacy policy content and ensuring consistent styling with the default WordPress content. 2020-04-01 16:32:54 -07:00
Yash Kapoor 872b4c135c
Added support for file in checkout ajax. 2020-03-21 12:27:37 +05:30
Christopher Allford 1358cca6d1
Revert "Improved performance when saving variations" 2020-03-17 08:55:09 -07:00
Kathy Daring 319395b0fa update the add to cart button if ajax request not sent 2020-03-13 18:27:45 -06:00
Kathy Daring 4ed91d9482 quit early if should_send_ajax_request.adding_to_cart triggerHandler is false and trigger a custom event instead 2020-03-13 18:26:37 -06:00
Kathy Daring 6937baccce Revert "Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759."
This reverts commit 38e081e590.
2020-03-13 18:25:25 -06:00
Boro Sitnikovski 15641bf08f Trigger change and set val to qty so that it properly updates event handlers 2020-03-12 16:01:30 +01:00
Kathy Daring 38e081e590 Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759. 2020-02-25 13:12:27 -07:00
vedanshujain d904786d7d Support both `.data()` and `.datasore` to have better compatibility
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30
Miguel Pinto 8ff17ddbd2
Add option to override element tag container in checkout forms 2020-02-13 03:11:44 +00:00
Bartosz Drewniak 84e958dbde Fix password visibility toggle (#25624) 2020-02-10 20:30:39 +01:00
Aryaan Lambe 6a190c2db9 Changed show-password-input.display-password::after hex color 2020-02-10 17:35:32 +00:00
Christopher Allford 6ca7b9fa4a
Merge pull request #25382 from smachi/master
Improved performance when saving variations
2020-02-05 13:14:13 -08:00
gerdneuman 687670fa03
Remove stale .order-actions css
Since commit d5b86259c5 (diff-035896b9dcfca6957109ff14ed262109L33-R33) the `.order-actions` css class was refactored to `woocommerce-orders-table__header-order-actions. So the deleted CSS would not match anyway.
2020-02-05 12:03:57 +01:00
Claudio Sanches 9e1738be70
Revert "Eliminate update order AJAX request on checkout page load" 2020-02-04 14:19:52 -03:00
Claudio Sanches 7fe05d46e4
Revert "Remove code that ignored the woocommerce_ship_to_destination option" 2020-02-04 14:18:48 -03:00
Vedanshu Jain a85dc86978
Merge pull request #25540 from woocommerce/fix/25358
Find the correct form element to update.
2020-02-04 12:38:03 +05:30
Peter Fabian b85d314d5d Find the correct form element to update.
Previously it just found the first one, which made the second checkbox buggy.
2020-01-31 12:45:08 +01:00
Salva Machí c4a7e19534 Refactory: code style 2020-01-31 09:23:28 +01:00
Claudio Sanches f4263d8c11 Remove code that ignored the woocommerce_ship_to_destination option 2020-01-29 12:18:14 -03:00
Rodrigo Primo 2e61321e2a
Merge pull request #25289 from rafdizzle86/feature/add-checkout-place-order-success-triggerhandler
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2020-01-20 15:25:46 -03:00
Salva Machí d1dc5f8c20 Bypass inputs without name 2020-01-13 11:31:20 +01:00
Salva Machí 2ca6c12089 Bypass unchecked radio buttons, unchecked checkboxes and disabled inputs 2020-01-13 10:24:12 +01:00
Salva Machí 37d7d498ec Improved performance when saving variations
The serializeJSON function was causing a long delay when preparing the JSON if there are many input fields within the variations (even worse if 3rd party plugins add their own extra fields there too).
2020-01-10 11:38:38 +01:00
BrandynL 608d6628e3 added woocommerce specific css selector to avoid conflicts 2019-12-31 11:10:30 -05:00
Claudio Sanches ede3a1612c Fixed missing assets/css/jquery-ui/jquery-ui.min.css 2019-12-27 12:45:22 -03:00
Rafi Yagudin e03861640e Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event. 2019-12-22 17:06:50 -07:00
Christopher Allford ed7c891675 Adjusted the checkout email validation regex to be more accurate 2019-12-17 13:18:53 -08:00
Shamali Sulakhe ec09daeadc Merge remote-tracking branch 'upstream/master' into issue-24266-solution 2019-12-16 15:11:07 +05:30
Shamali Sulakhe e5e9d440a4 Merge branch 'master' of https://github.com/shamalisulakhe/woocommerce into issue-24266-solution 2019-12-16 15:08:30 +05:30
Rodrigo Primo 35053e418f
Merge pull request #24818 from roksprogar/master
fixed the jQuery data() caching issue
2019-12-13 14:33:09 -03:00
Claudio Sanches da407ab4e1 Hide Edge native "reveal password" feature 2019-12-10 16:08:49 -03:00
Peter Fabian df21ad72b9 Applied the branch CSS class at the correct level to apply to select2. 2019-12-10 14:07:50 +01:00
Peter Fabian c4a4ab429b Fix the Setup Wizard styling for WP 5.1, 5.2 and 5.3. 2019-12-10 13:55:06 +01:00
Claudio Sanches 104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Gerhard Potgieter 8827dfb3a4
Merge pull request #24609 from JohnTendik/feature/24429
Added unload event to prevent reload during checkout (#24429)
2019-12-06 14:57:59 +02:00
Claudio Sanches 6bdb7f7a83
Merge pull request #24271 from woocommerce/update/avoid-ajax-request-on-checkout-page-load-2
Eliminate update order AJAX request on checkout page load
2019-12-05 21:09:10 -03:00
Claudio Sanches 5dac360e8a
Merge pull request #24208 from woocommerce/fix/order-screen-tax-calculation-to-honor-rounding-setting
Honor tax rounding preference in edit item and refund flows
2019-12-05 20:52:48 -03:00
Gerhard Potgieter 7d39222334
Merge pull request #25162 from woocommerce/fix/24018
Hid variable parent products from "Add Products" search on order page
2019-12-05 14:22:43 +02:00
Claudio Sanches 0794ffd285 Fixed coding standards 2019-12-04 17:01:59 -03:00
Claudio Sanches c567b43098 Added padding to password field like WordPress core does 2019-12-04 17:01:19 -03:00
Claudio Sanches 9a3e6247a9
Merge pull request #24915 from BrandynL/show-password-hover-on-wc-forms
Show password hover on wc forms
2019-12-04 16:57:32 -03:00
Claudio Sanches 24c473f932
Merge pull request #24991 from woocommerce/add/new-onboarding-ab-test
Onboarding - Show the new experience to 10% of new users
2019-12-04 11:00:23 -03:00
Christopher Allford d1e25c9118 Added support for excluding certain product types from AJAX product searches 2019-12-03 14:14:47 -08:00
Claudio Sanches 3beb581215
Merge pull request #25074 from woocommerce/fix/24959
Added Photoswipe and jQuery-UI CSS minification
2019-12-03 17:59:51 -03:00
Claudio Sanches 329c587c5f
Merge pull request #25103 from woocommerce/fix/24417
Fixed media element initialization for product variation descriptions
2019-12-03 15:11:02 -03:00
Rodrigo Primo fd10af0669
Merge pull request #24822 from bobmulder/patch-1
Make variables default to allow overriding
2019-12-02 18:15:49 -03:00
Peter Fabian 278cf53f2f
Merge pull request #25125 from woocommerce/fix/25029.3
Fix select2 style and admin screen button alignments in WP 5.3
2019-11-27 17:58:46 +01:00
Peter Fabian 8a0a5805e4
Merge pull request #25085 from woocommerce/fix/24648
Improve WC & Twenty twenty compatibility
2019-11-27 17:54:44 +01:00
Peter Fabian 14c94341c0 Checkbox size fixed. 2019-11-27 17:33:00 +01:00
Peter Fabian db3c43a099 Remove the padding from WP 5.3 as per the original change. 2019-11-27 16:09:49 +01:00
Peter Fabian 3a094b820d There might be more than 3 related products. 2019-11-27 14:51:54 +01:00
Peter Fabian 8f0fa37033 Fixed the onsale floating away in Firefox. 2019-11-27 14:43:08 +01:00
Peter Fabian cd57edf0b3 Put back forgotten change. 2019-11-27 14:17:50 +01:00
Peter Fabian 7f18773c7d Apply CSS changes only to WP 5.3. 2019-11-27 14:11:17 +01:00
Viszt Péter 11e13425dd Support for WP's built-in color themes for select2 elements 2019-11-27 13:05:37 +01:00
Viszt Péter 6d5d238062 Responsive fixes 2019-11-27 13:05:29 +01:00
Viszt Péter 3d6c3b3551 Fixes for alignment issues on the settings screen introduced by WP 5.3 2019-11-27 13:05:20 +01:00
Peter Fabian 45f04d4dc0 Small padding updates to My Account > Orders table. 2019-11-27 12:29:24 +01:00
Peter Fabian a20c786661 Addressed feedback from designers. 2019-11-27 12:14:48 +01:00
Peter Fabian 2d1c9444f5 Fix action button centering for WP 5.3. 2019-11-26 22:34:34 +01:00
Peter Fabian 229967f9ea Moar fixes. 2019-11-26 20:50:29 +01:00
Peter Fabian 096b7136db Button color changed to highlight for this theme. 2019-11-26 19:24:39 +01:00
Peter Fabian 65d6a4fcbe Fix shipping form input radios to only show in case there's a selection.
Radio inputs in cart style synced with the one on Checkout page.
2019-11-26 19:19:51 +01:00
Peter Fabian 96c13b9cf6 Login form improvements and related error message updates. 2019-11-26 19:18:40 +01:00
Peter Fabian eebcf1e3be Select2 update on Cart page. 2019-11-26 18:23:42 +01:00
Peter Fabian fd1672f49e Blocks adjustments. 2019-11-26 18:07:49 +01:00
Peter Fabian a1ce40942e Select2 adjustments. 2019-11-26 17:00:44 +01:00
Peter Fabian 56c7f3bf97 My Account section updates. 2019-11-26 17:00:27 +01:00
Peter Fabian 361a23f46f Improved Thank you page styling. 2019-11-26 14:10:09 +01:00
Peter Fabian cf03de11af Narrow checkout layout improvements. 2019-11-26 13:32:58 +01:00
Peter Fabian 7c3ec0dd2c Wide checkout layout improvements. 2019-11-26 13:13:05 +01:00
Peter Fabian 154a5b51ac Wide checkout layout improvements. 2019-11-26 11:00:55 +01:00
Peter Fabian 095f6a1373 Update cart button width and colors. 2019-11-26 10:02:10 +01:00
Peter Fabian e82e53bd7d Fix notice a tag colours. 2019-11-26 09:59:40 +01:00
Peter Fabian f911b1f4bb Reverse order only on add to cart message on single product page. 2019-11-26 09:58:52 +01:00
Peter Fabian 2bf2b87250 Store notice and info messages colors fixed. 2019-11-26 09:43:15 +01:00
Paul Dechov 7f65a33fe8 Honor tax rounding preference in edit item and refund flows
The default value ('no') of the setting to round taxes at subtotal was not being honored on the Edit Order screen, which resulted in off-by-one discrepancies between the checkout item total and the edited or refunded item total.

This change is to round to the proper precision (w.r.t. the 'woocommerce_tax_round_at_subtotal' setting) for the default value of the form, as well as when the values are dynamically recomputed.
2019-11-25 17:49:43 +05:30
Peter Fabian 44c5500fe5 Make cart great again. 2019-11-24 20:05:28 +01:00
Peter Fabian 7db4abb2a0 Sale sign size was too large between wide and narrow viewport. 2019-11-24 12:20:29 +01:00
Peter Fabian 546b947e23 Center upsells to be in line with related products 2019-11-24 12:19:36 +01:00
Peter Fabian 086c60df39 Last product in shop looks weird with even spacing. 2019-11-24 12:00:19 +01:00
Peter Fabian aadae25552 Display products in one column in narrow viewport. 2019-11-24 11:57:08 +01:00
Peter Fabian 21124cb8c2 Ordering select styling for narrow viewport--break for ultra narrow. 2019-11-24 11:56:26 +01:00
Peter Fabian 9e7ff01e21 Result count and ordering styling for wide and narrow viewport. 2019-11-24 11:42:10 +01:00
Peter Fabian 3f244bd538 Shop heading/title fix. 2019-11-24 10:03:39 +01:00
Peter Fabian f3892359f3 Make thumbnail larger, improve shop layout. 2019-11-24 09:51:15 +01:00
Peter Fabian 9baaa88adc Allow Sale sign to be aligned with the picture. 2019-11-23 19:26:33 +01:00
Peter Fabian 3740e253b7 Action buttons in related products switched to correct size. 2019-11-23 19:18:04 +01:00
Peter Fabian 27e844f5bd Make the Sale marker font and padding same as buttons. 2019-11-23 19:15:03 +01:00
Peter Fabian 1e3ad2a146 Fix review form for user who isn't logged in. 2019-11-23 19:11:48 +01:00
Peter Fabian 47c69cac37 Bottom padding is unnecessarily huge. 2019-11-23 19:08:19 +01:00
Peter Fabian fc3aadbee9 Fix related products view in narrow view. 2019-11-23 19:07:33 +01:00
Peter Fabian 76f28e57c9 This breaks the new review form/title alignment. 2019-11-23 19:06:43 +01:00
Peter Fabian c9fbc0ae4e Improved styling of product gallery. 2019-11-23 18:43:45 +01:00
Peter Fabian fe348bb70f Product gallery margin fix for wide and narrow viewports. 2019-11-23 18:42:45 +01:00
Peter Fabian f1bb497b66 Make thumbnails in the gallery affect parent's height and wrapping 2019-11-23 18:41:28 +01:00
Peter Fabian 2cda8d4cfe Small layout enhancements. 2019-11-23 18:18:15 +01:00
Peter Fabian 04453768c0 Breadcrumbs adjustment for various widths. 2019-11-23 18:17:19 +01:00
Peter Fabian 22e7570f1e Align the Add to cart button height with the quantity input. 2019-11-23 18:16:32 +01:00
Peter Fabian 5d4619f7d6 Don't break button text mid-word. 2019-11-23 17:31:35 +01:00
Peter Fabian e5fb7bee6d Mid-width layout adjustment. 2019-11-23 17:31:10 +01:00
Christopher Allford 1984a11ff2 Added media element initialization to variation description audio/video shortcodes 2019-11-22 14:08:31 -08:00
Peter Fabian c15a3d525a Updated related products layout. 2019-11-22 19:35:05 +01:00
Peter Fabian 943ea231e7 Tidy up product tabs. 2019-11-22 18:56:06 +01:00
Peter Fabian 3e9a862450 Added offset between product information and tabs. 2019-11-22 17:30:34 +01:00
Peter Fabian b681720aa4 Harmonize styling for simple products Add to cart button with variable products. 2019-11-22 17:13:58 +01:00
Peter Fabian b58bdf7c1d Add styling for 'added to cart' notices:
- make spacing even
- center the text in the middle with some flex tricks
2019-11-22 16:57:42 +01:00
Peter Fabian cf377a643a Make the title/price spacing work for Products without rating and short description. 2019-11-22 16:56:31 +01:00
Peter Fabian 962e9292b1 Margin for clear variations link to give it some space. 2019-11-22 16:22:57 +01:00
Peter Fabian b22a216bb1 Make the button symmetrical. 2019-11-22 16:19:33 +01:00
Peter Fabian 17e98afc2a Style product meta information.
Make it less prominent, offset it further away from the button.
2019-11-22 16:17:23 +01:00
Peter Fabian e188620232 Add padding to the variation picker table to make it same size as quantity picker. 2019-11-22 16:13:05 +01:00
Peter Fabian 301b976cfa Make Add to cart button same size as quantity input. 2019-11-22 16:12:15 +01:00
Peter Fabian 177f720f1b Let the price have some more space from the bottom as well. 2019-11-22 15:54:43 +01:00
Peter Fabian 572ac52cb3 Make the product rating a bit less prominent, let the price have some more space. 2019-11-22 15:51:42 +01:00
Peter Fabian 9c74bf79ea Rather than setting the background in CSS, use the color picked in the
customizer.

This also fixes the background in the block editor and tinymce.
2019-11-22 15:37:54 +01:00
Peter Fabian ae2ebdb933 Main image size needs to correspond to settings in the PHP script. 2019-11-22 14:56:44 +01:00
Peter Fabian fa48cd2aa7 Make single product page layout wider and enlarge breadcrumb offset. 2019-11-22 12:51:39 +01:00
Peter Fabian 0798098e05 Override default beige background to make the design more versatile and clean. 2019-11-22 12:36:23 +01:00
Justin Shreve 1fabf2f145 Handle PR feedback 2019-11-21 12:23:05 -05:00
Justin Shreve 18925f2218 Adds an a/b test for the new onboarding experience 2019-11-21 12:00:04 -05:00
Christopher Allford c2bc312e97 Added Photoswipe and jQuery-UI CSS minification 2019-11-19 10:40:28 -08:00
Peter Fabian b1f0098cb5 Fixed stylelint issues (except for no-descending-specificity).
There is also one invalid unit for line-height, duplicate class declaration (but it's related to different styling areas, so left it there).
2019-11-19 19:32:45 +01:00
Peter Fabian 08d0b17678 Base the styling on Twenty Nineteen. 2019-11-19 19:13:10 +01:00
Peter Fabian bc04b8f45b Added basic declaration for WC support to Twentytwenty. 2019-11-19 17:58:16 +01:00
Vedanshu Jain 05a89e849e
Merge pull request #24227 from woocommerce/update/replace-checkout-fragment-only-on-change
Cache checkout fragments and update DOM on change only
2019-11-15 18:49:58 +05:30
Shamali Sulakhe 64fbb197d7 Removed patch file and merged changed with ver 3.9.0-dev 2019-11-15 17:58:54 +05:30
BrandynL 3ed614389f change event to click for better mobile device support 2019-10-28 09:56:20 -04:00
BrandynL 925bad1faf convert array instance to shorthand syntax 2019-10-28 09:35:39 -04:00
BrandynL 6ed7278678 add password hover visibility on password inputs with javascript 2019-10-27 16:56:42 -04:00
Tarek 6ed3927c35
Update admin.scss 2019-10-16 00:54:12 +02:00
Vedanshu Jain aabf38d831
Merge pull request #24832 from woocommerce/fix/24731
Fix CSS for WP 5.3
2019-10-15 17:47:52 +05:30
Peter Fabian 53295b9f08 Make the action buttons on edit order screen vertically aligned to the input element to the left. 2019-10-15 13:04:54 +02:00
Peter Fabian e314f1f233 Aligned the address fields with other elements on the first page of OBW. 2019-10-15 12:14:38 +02:00
Peter Fabian d0af99a278 Make the checkbox square again! 2019-10-15 12:12:35 +02:00
Peter Fabian af8fd207c8 Fixed select2 size on order list screen (filter at the top). 2019-10-15 11:55:41 +02:00
Peter Fabian 06921ba80c Moved the rules to the respective structure within the previous definitions. 2019-10-15 11:28:02 +02:00
Peter Fabian b7235431b3 Move the shipping form style to the file where it's actually loaded. 2019-10-15 11:05:51 +02:00
Peter Fabian 53fb13d704 Make the buttons in meta box on edit variation screen aligned with the inputs. 2019-10-15 10:57:59 +02:00
Peter Fabian a6de7b9e9f Make the selects in variation edit screen fill the entire row, thus also align with other elements on the page. 2019-10-15 10:55:02 +02:00
Peter Fabian 95635b2800 Make the edit order address email field align with the rest (select2 dimensions changed). 2019-10-15 10:53:36 +02:00
Peter Fabian 83ad2c4993 Make the shipping fields vertically aligned with the billing fields in Twenty Nineteen. 2019-10-15 10:51:35 +02:00
Peter Fabian 93277da7b1 Align select sizes in other contexts. 2019-10-15 10:49:37 +02:00
Peter Fabian 98b03d7fde Keep the edit order select fields smaller to fit with the rest of the form. 2019-10-15 10:47:24 +02:00
Peter Fabian e68499616b Increase the height of select and select2 elements in WC settings to fit with larger input fields. 2019-10-15 10:42:19 +02:00
Peter Fabian c2d36c823f Removed the line height to prevent text descenders being cut off in selects/dropdowns (#24731). 2019-10-15 10:39:36 +02:00
Bob Mulder c4ba9c094b
Make variables default to allow overriding 2019-10-14 11:40:08 +02:00
Rok Sprogar 8f6cb9d058 fixed the jQuery data() caching issue 2019-10-12 19:04:46 +02:00
Mehidi Hassan 3f8e3fdb2d Add space before parentheses of if condition for JS consistency 2019-10-10 23:37:56 +06:00
Claudio Sanches 9851b1f0f3 DRY 2019-10-03 21:19:52 -03:00
Adam Jones 0f7398d607 Fixing an issue with an on-body click triggering on pages that do not contain the referenced span.description element. Wrapped it in an if statement to make sure element exists beforehand. 2019-10-02 15:32:36 +01:00
Vedanshu Jain 4fc18d4940
Merge pull request #24739 from woocommerce/fix/24610
Make $subtext more darker to improve accessibility
2019-10-02 15:49:21 +05:30
Rodrigo Primo e2afc162c4
Merge pull request #24296 from woocommerce/fix/23900
Restored Photoswipe custom styles
2019-10-01 16:57:44 -03:00
Claudio Sanches 064a1657a7 Make $subtext more darker to improve accessibility 2019-10-01 15:30:05 -03:00
Gerhard 6d09d0efcf Fix OWB sell in person vertical alignment 2019-09-30 19:31:50 +05:30
Gerhard 97d3874e14 Fix OBW country vertical alignment 2019-09-30 19:31:50 +05:30
Gerhard Potgieter ee1b438c3c
Merge pull request #24517 from woocommerce/fix/24511
Control categories export field based on export type
2019-09-30 15:39:21 +02:00
Gerhard Potgieter dec4a381fe
Merge pull request #24720 from ChromeOrange/master
Allow select fields in credit card form to maintain value when the checkout form refreshes
2019-09-30 14:36:16 +02:00
Gerhard Potgieter 27be925552
Merge pull request #24406 from kolyasapphire/add-applied_coupon-trigger-to-checkout
Add 'applied_coupon' trigger to checkout.js
2019-09-30 13:59:37 +02:00
Andrew Benbow d339452bce
Update checkout.js 2019-09-30 10:24:00 +01:00
Andrew Benbow f8b268d3a0
Update checkout.js 2019-09-30 10:22:08 +01:00
Vedanshu Jain 436ee5de3a
Merge pull request #24680 from woocommerce/update/tracking-opt-in
Update usage tracking UI, default to opted-out.
2019-09-30 09:14:56 +05:30
Gerhard Potgieter e8d617156d
Merge pull request #24665 from miguelfspinto/patch-4
Enable append hashes on custom events (like ajax requests)
2019-09-27 13:35:48 +02:00
Vedanshu Jain aa665446e5
Merge pull request #24476 from yash-webkul/patch-15
Update wc-setup.scss
2019-09-27 00:32:16 +05:30
Vedanshu Jain 80aafe0b65
Merge pull request #24327 from yratof/yratof-fix-tabledisplay
Fix - Issue on shipping rates tbody due to grammarly fix
2019-09-26 21:56:55 +05:30
Rodrigo Primo 7fbe47772b
Merge pull request #24339 from woocommerce/fix/24128
Remove `blur` event to keep focus on select box.
2019-09-25 20:57:13 -03:00
Justin Shreve 0c3fc315c5 Update tracking opt-in UI. 2019-09-24 14:26:21 -04:00
Miguel Pinto fff09c9811
Enable append hashes on custom events (like ajax requests) 2019-09-23 16:04:31 +01:00
johntendik 0a9563dacd fixing indentation 2019-09-10 20:43:13 -04:00
johntendik 366681038f added unload event to prevent reload during checkout 2019-09-10 20:23:10 -04:00
Rodrigo Primo 9277a0e260
Merge pull request #24277 from woocommerce/fix/24231
Fix position of ID section in mobile rows actions
2019-09-05 10:03:48 -03:00
Claudio Sanches 08e9d0bdc9 Control categories export field based on export type 2019-08-27 16:11:05 -03:00
kolyasapphire faf05c00c2 Renamed the trigger
Changed to applied_coupon_in_checkout to avoid unexpected behaviour
2019-08-23 16:15:57 +03:00
Yash Kapoor 509a14590f
Update wc-setup.scss
Fixed CSS for .location-input
2019-08-23 12:19:45 +05:30
kolyasapphire fe3395cd6b Add 'applied_coupon' trigger to checkout.js
To check it’s working correctly:

add_action( 'woocommerce_after_checkout_form', 'alert_on_coupon');
add_action( 'woocommerce_after_cart', 'alert_on_coupon');

function alert_on_coupon() { ?>
<script type="text/javascript">
	jQuery(document).ready(function($) {
    $( document.body ).on( 'applied_coupon', function(event,code){
    	alert(code);
    });
});

$( document.body ).trigger( 'applied_coupon', [ data.coupon_code ] );
2019-08-14 19:09:18 +03:00
vedanshujain 970271d0b7 Remove `blur` event to keep focus on select box.
This removes the `blur` call so that focus on select box is maintained for accessibility. This call was added way back in 2012 but from what it looks like, it can be removed safely.
2019-08-06 22:08:00 +05:30
Andrew Lazarus 2596e6ecda
Removed whitespace 2019-08-05 11:29:39 +02:00
Andrew Lazarus 3805794baf Fix - Issue on shipping rates tbody, toby set to inherit, should be table-row-group 2019-08-05 11:23:04 +02:00
Paul Dechov e15e51868c Remove accidental jQuery references in favor of $ 2019-08-02 18:10:47 -04:00
Claudio Sanches 2b0fc6f50a Added sanitization for number of decimal points in JS 2019-08-02 14:02:33 -03:00
Claudio Sanches 375b989322 Added validation for multiple decimal points 2019-08-02 13:58:02 -03:00
Gerhard 02f9c7c8ff Use strict checking 2019-08-02 14:55:17 +02:00
Gerhard 34e883ce81 Apply patch by @dtwist 2019-08-02 14:19:37 +02:00
Hardik Thakkar 27689ba0ca Fixed #23870 2019-08-02 14:10:39 +02:00
Claudio Sanches 243b435139 Restored Photoswipe custom styles 2019-08-01 17:49:03 -03:00
Rodrigo Primo 972f7a49e2 Fix position of ID section in mobile rows actions
This commit fixes the position of the ID section in mobile rows actions
when displaying the list of products in the admin.
2019-07-31 16:21:19 -03:00