Commit Graph

4159 Commits

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