Commit Graph

3987 Commits

Author SHA1 Message Date
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
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
Mehidi Hassan 3f8e3fdb2d Add space before parentheses of if condition for JS consistency 2019-10-10 23:37:56 +06: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
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
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
Paul Dechov c3076209c7 Cache checkout fragments and only update DOM on change 2019-07-24 18:00:29 -04:00