Commit Graph

4604 Commits

Author SHA1 Message Date
Roy Ho 2fab448010
Update assets/css/twenty-twenty-one.scss
Co-authored-by: Christopher Allford <christopher.allford@automattic.com>
2021-02-17 13:58:16 -08:00
Moon 6284cbee3a Add a new dashboard widget to promote store setup 2021-02-17 12:10:13 -08:00
roykho ab97be1e98
Fix placeholder image height in cart closes #29137 2021-02-15 19:50:30 -08:00
Moon 3707764736 Add tracking to WooCommerce Status widget -- net-sales, order-processing, orders-on-hold, low-stock, and out-of-stock 2021-02-15 16:41:14 -08:00
roykho 66155b978b
Wrap variables in recent SASS format closes #29119 2021-02-12 15:33:45 -08:00
Matt Sherman 6044f3e958 Update Products and Reports icons to use Dashicons instead of custom font 2021-02-12 10:37:23 -05:00
Matt Sherman cca38a577e Use SVG instead of CSS/font for WooCommerce icon 2021-02-10 15:12:47 -05:00
Dan Q 7d0e67c12e
Change WooCommerce logo color to new purple.
Re #29053.
2021-02-08 11:57:02 +00:00
vedanshujain 2bb419e92f Fix eslint errors. 2021-02-05 12:35:40 +05:30
roykho 5c76d8df59
Revert jQuery function change as these are not jQuery objects 2021-02-04 12:36:15 -08:00
Roy Ho ce31630498
Merge pull request #28753 from helgatheviking/issues/28286-jquery-3
Issues/28286 Updates for deprecated jQuery 3 functions
2021-02-04 06:19:57 -08:00
Kathy Daring 56281fc804 Reverse adb2c6b86... Restore jQuery.select() 2021-02-02 13:41:07 -07:00
Kathy Daring afd164e271 revert 0ccff4dda5. restore jQuery .focus() 2021-02-02 13:38:48 -07:00
Kathy Daring ffdb2d9059 Merge branch 'master' into issues/28286-jquery-3
# Conflicts:
#	assets/js/admin/meta-boxes-product.js
2021-02-02 09:43:08 -07:00
Kathy Daring 9b7b72f00a replace jQuery.bind except in 3rd party assets 2021-02-02 09:38:04 -07:00
Claudio Sanches 12c6a6b082
Fixed coding standards 2021-01-28 17:07:26 -03:00
Josee Wouters 294df7f96a Left align content in tfoot in checkout-review-order-table 2021-01-27 10:38:39 +01:00
Kathy Daring 34bd50bce3 replace removeAttr with prop() 2021-01-21 10:22:30 -07:00
jonathansadowski 1f430fc980
Merge pull request #28827 from jffng/add/twentytwentyone-style-tweaks
Adjust spacing and font sizes for Twenty Twenty-One
2021-01-20 13:52:51 -06:00
Jeff Ong 82d759c7b6 Adjust spacing and font sizes. 2021-01-15 12:30:44 -05:00
Claudio Sanches 55cfa098d5
Merge pull request #28709 from kevinruscoe/fix/28707
Export sass vars to css var
2021-01-15 11:27:14 -03:00
Claudio Sanches a9a7391fdd
Apply suggestions from code review 2021-01-15 11:25:36 -03:00
Roy Ho b7e45c3073
Merge pull request #28607 from masteradhoc/masteradhoc-patch-speak-none
patch for css3 validation issue for speak property
2021-01-12 12:38:45 -08:00
roykho e0a722a642
Adjust dismiss link of store notice banner closes #28727 2021-01-11 12:24:49 -08:00
Roy Ho e0be4b0f5c
Merge pull request #28681 from tanvirulhaque/master
Fix: Attributes on Edit Product page - "Select all" not working after "Select none" used
2021-01-08 10:09:27 -08:00
Kathy Daring e6f620d156 Revert "replace jQuery..bind except in 3rd party assets"
This reverts commit 61c4e20863.
2021-01-07 15:16:59 -07:00
Kathy Daring 489d8042d0 Replace jQuery.trim() except in 3rd party assets 2021-01-07 15:15:15 -07:00
Kathy Daring c905d21862 Replace jQuery.blur() except in 3rd party assets 2021-01-07 15:12:16 -07:00
Kathy Daring 60f49f25d0 Replace jQuery.change() 2021-01-07 15:08:36 -07:00
Kathy Daring adb2c6b86e Replace jQuery.select() 2021-01-07 15:07:02 -07:00
Kathy Daring 0ccff4dda5 Repalce jQuery.focus() except in 3rd party assets 2021-01-07 15:06:18 -07:00
Kathy Daring 61c4e20863 replace jQuery..bind except in 3rd party assets 2021-01-07 15:04:26 -07:00
Kathy Daring a67def78de Replace jQuery.click() 2021-01-07 15:00:55 -07:00
Kathy Daring 80a8d66106 Replace jQuery.submit() 2021-01-07 15:00:14 -07:00
Kathy Daring cc0714f612 Replace Jquery.isFunction() except in 3rd party assets 2021-01-07 14:59:17 -07:00
Ron Rennick b3b73e069a merge upstream 2021-01-05 14:56:27 -04:00
Kevin Ruscoe 55fb3c0628 Export sass vars to css var 2021-01-02 11:36:02 +00:00
Tanvirul Haque 6379089465 Fix: Attributes on Edit Product page - "Select all" not working after "Select none" used 2020-12-29 18:55:20 +06:00
Vedanshu Jain 9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
Feature/fix build
2020-12-24 13:12:58 +05:30
Brian 2f808a1868
speak none fix 2020-12-17 07:47:40 +01:00
Brian 10fb4a3c19
speak none fix 2020-12-17 07:47:17 +01:00
Brian 3270423772
speak none fix 2020-12-17 07:46:57 +01:00
Brian 9d42187039
speak: never
#28601 issue on woo github
2020-12-17 07:45:50 +01:00
roykho cce5cbe985
Remove packaged minified files 2020-12-14 07:41:45 -08:00
roykho 83f327026f
Fix error tooltip misaligned on tax country field closes #28260 2020-12-11 12:34:31 -08:00
Roy Ho 8f37a6936f
Merge pull request #28014 from JoryHogeveen/feature/20-10-20-price-slider-init-trigger
Widget: Price Slider - trigger to re-initialize
2020-12-08 13:35:10 -08:00
Ron Rennick 80ded96120 merge master 2020-12-07 13:13:52 -04:00
Roy Ho aa89afcf95
Merge pull request #28332 from woocommerce/update/replace-jquery-click
Replace usages of depracted jQuery.fn.click() event shorthand
2020-12-07 06:03:56 -08:00
Rodrigo Primo 23af5478ec Fix JS coding standards 2020-12-05 11:11:56 -03:00
Jonathan Sadowski 0e40a078db Use correct colors for radios on payment method box 2020-12-04 16:56:06 -06:00
Jonathan Sadowski 2cb314edfc 2021 compat: Fix checkout page payment box radio styling 2020-12-04 16:41:49 -06:00
Jonathan Sadowski c7a1a627d4 2021 compat: improve error notice display on checkout page 2020-12-03 18:29:28 -06:00
Jonathan Sadowski 70299e7f12 2021 compat: improve error notice display on cart page 2020-12-03 18:27:40 -06:00
Jonathan Sadowski 4c9ce8cd74 2021 Compat: Fix stretched product image on cart page 2020-12-03 18:23:14 -06:00
jonathansadowski 7e12cba4d1
Merge pull request #28407 from woocommerce/add/2021-compat-my-account-details
Add "My Account - Details" page compatibility for Twenty Twenty-One
2020-12-03 17:52:10 -06:00
Jonathan Sadowski 0582632cbd Update account details form to use CSS vars for border size and color 2020-12-03 17:50:23 -06:00
Christopher Allford 7e4c2a9f91
Merge branch 'master' into add/2021-compat-my-account-add-payment-method 2020-12-03 15:23:48 -08:00
Christopher Allford ddd0750bed
Merge branch 'master' into add/2021-compat-downloads-page 2020-12-03 15:20:23 -08:00
Christopher Allford e39f6e12d7
Merge pull request #28406 from woocommerce/add/2021-compat-my-account-orders-page
Add "My Account - Orders" page compatibility for Twenty Twenty-One
2020-12-03 15:13:11 -08:00
Christopher Allford bc9143166e
Merge pull request #28492 from woocommerce/add/2021-single-product-page-mobile-compat
2021 Theme Compat: Update the single product page and the sales badge for mobile.
2020-12-03 14:51:21 -08:00
jonathansadowski 707ceb4e3d
Merge branch 'master' into add/2021-compat-my-account-details 2020-12-03 16:31:39 -06:00
jonathansadowski 2376120941
Merge pull request #28433 from woocommerce/add/2021-compat-my-account-addresses-page
Add "My Account - Edit Address" page compatibility for Twenty Twenty-One
2020-12-03 16:24:10 -06:00
Jonathan Sadowski 5a1994284b Adjust gallery trigger to not overlap with sale badge; keep sale badge always on right 2020-12-03 15:30:08 -06:00
Jonathan Sadowski 687f9b67d7 2021 compat: Update table on downloads page to support dark mode 2020-12-03 14:04:44 -06:00
Jonathan Sadowski 9d0da2a16c 2021 compat: Fix payment methods table background mobile styling 2020-12-03 13:56:46 -06:00
Jonathan Sadowski 4393319c61 2021 compat: Update payment methods table background on account page to support dark mode 2020-12-03 13:52:30 -06:00
Jonathan Sadowski 5db955459b Update 2021 compat for my-account orders so that divisors use body color 2020-12-03 13:12:37 -06:00
Jonathan Sadowski 58bdca2b5c Merge branch 'master' into add/2021-compat-my-account-orders-page 2020-12-03 12:40:46 -06:00
Jonathan Sadowski f095ca5b3d Update 2021 orders page table backgrounds to work with dark mode 2020-12-02 17:28:11 -06:00
Nestor Soriano 7a34fbcbde Merge branch 'master' into add/2021-compat-shop-page 2020-12-02 11:57:38 +01:00
Nestor Soriano ddf46a5186 Don't invert prev/next colors for 2021 theme 2020-12-02 08:59:35 +01:00
Jonathan Sadowski bc9e7e78f8 Adjust sale badge size between 668 and 768px viewports 2020-12-01 10:47:03 -06:00
Jonathan Sadowski ffc7502583 Remove font exception for sale badge on smaller viewports 2020-12-01 10:42:53 -06:00
Jonathan Sadowski ce2444e9e3 Improve tabs on smaller viewports 2020-11-30 12:56:39 -06:00
Jonathan Sadowski 42f8fa2fe8 Apply sale badge change to correct viewport size 2020-11-30 12:17:21 -06:00
Jonathan Sadowski bc2f7d08d2 Move sale badge to left on smaller viewports to fix gallery conflict 2020-11-30 12:12:06 -06:00
Nestor Soriano 526dd62b9c Add 2021 theme compatibility for the "My Account - Payment methods" page:
- Remove table borders
- Make buttons have transparent background, dark on hover
- Make buttons pile vertically, not horizontally
- Adjust margins
2020-11-30 09:50:23 +01:00
Nestor Soriano 40a3514733 Add 2021 theme compatibility for the "My Account - Add payment method" page:
- Make payment method name and images properly aligned with
  the radio button
- Adjust font sizes and margins
2020-11-27 13:11:28 +01:00
Nestor Soriano 4a05c30f7f Add 2021 theme compatibility for the "My Account - edit addresse" page:
- Adjust size and margins of labels and textboxes
- Adjust size and margins of dropdown selectors
2020-11-27 11:17:04 +01:00
Nestor Soriano 74c93103ff Add 2021 theme compatibility for the "My Account - Addresses" page:
- Reduce the size of the address title font
- Reduce spacing between address lines
- Move "Edit" link to the right of the address title
- Adjust space between addresses
2020-11-26 16:45:20 +01:00
Nestor Soriano 2114e05704 Add 2021 theme compatibility for the "My Account - Downloads" page:
- Make downloads table background on even rows slightly darker
- Remove table and row borders
- Make downloads table rows thinner
- Make buttons have transparent background (dark on hover)
- Make buttons have all the same size
- Center the contents of the "Downloads remaining" column
2020-11-26 11:33:57 +01:00
roykho beebbb8e25
Switch to general panel when virtual is enabled and on shipping tab closes #28267 2020-11-25 10:12:24 -08:00
Nestor Soriano 521a9ba61b Add compatibility with the 2021 theme for the "Account Details" page
- Add a black border around text boxes
- Adjust font sizes
- Adjust margins
2020-11-25 12:40:02 +01:00
Nestor Soriano 5000b21218 Add 2021 theme compatibility for the "My Account - Orders" page:
- Make orders table background same as theme background
  (slightly darker on even rows)
- Make orders table rows thinner
- Make buttons have transparent background (dark on hover)
- Add some margin before "Prev/Next" buttons
- Remove right padding on date column to avoid wrapping
2020-11-25 11:37:06 +01:00
Christopher Allford 686872a237
Merge pull request #28134 from woocommerce/add/2021-compat
Add support for Twenty Twenty-One theme
2020-11-24 16:26:34 -08:00
Jonathan Sadowski a8c2bac9b2 Update the my account page colors 2020-11-24 18:02:06 -06:00
Jonathan Sadowski c29aafd66d Update targeting for account page styles 2020-11-24 17:52:17 -06:00
jonathansadowski ebbf6b9d2e
Merge branch 'add/2021-compat' into add/2021-compat-my-account-page 2020-11-24 17:45:43 -06:00
Nestor Soriano 6fef73f469 Fix overlapping elements in shop items. 2020-11-24 15:36:14 -08:00
jonathansadowski 2f3701739d
Merge pull request #28395 from woocommerce/update/2021-compat-cart
Twenty Twenty-One: Cart Page
2020-11-24 17:09:41 -06:00
Christopher Allford 333e2e5137
Merge pull request #28333 from woocommerce/add/2021-compat-single-product
Add single product page compatibility for Twenty Twenty-One
2020-11-24 15:09:14 -08:00
Jonathan Sadowski 50690010c6 Adjust the margin around display of variable product price on single product page 2020-11-24 17:01:20 -06:00
Christopher Allford 73a9d865f1 Removed bullet points from shipping method selection during checkout 2020-11-24 14:56:15 -08:00
Jonathan Sadowski cbe07cf35e Make tabs look tabby 2020-11-24 16:49:16 -06:00
Christopher Allford 0e8e15645d Corrected cart page according to design 2020-11-24 14:44:42 -08:00
Christopher Allford d343527949 Corrected the "on sale" badge display 2020-11-24 14:06:04 -08:00
Jonathan Sadowski 3aeab3571e Fix height of add to cart button 2020-11-24 15:53:58 -06:00
Christopher Allford c3a940be6f
Merge pull request #28343 from woocommerce/update/twenty-twenty-one-home-page-css
Add home page compatibility for Twenty Twenty-One theme
2020-11-24 13:45:45 -08:00
Jonathan Sadowski fb4b9db3f1 Remove cart padding; set proceed to checkout button width to 100% 2020-11-24 14:48:17 -06:00
jonathansadowski 9ebb754195
Merge branch 'add/2021-compat' into fix/28304 2020-11-24 14:17:40 -06:00
Christopher Allford 3921ac3b50 Adjusted the dark mode 2020-11-24 11:08:44 -08:00
Christopher Allford 4795ee86dd Adjusted the checkbox 2020-11-24 10:35:10 -08:00
Christopher Allford fa47b11816 Adjusted the checkbox visibility 2020-11-24 10:19:24 -08:00
Nestor Soriano 71d85558ef Changes on "My Account" menu items based on mockup from designer:
- Even darker
- Smaller font
- Reduce space between items
- Un-bold
2020-11-24 16:24:36 +01:00
vedanshujain ede094bba8 Removed old styles that conflicts with new. 2020-11-24 17:12:17 +05:30
Nestor Soriano 8f475383e1 Remove styling for "onsale" since it already exists in target branch 2020-11-24 12:16:43 +01:00
Nestor Soriano d197f5059e Merge branch 'add/2021-compat' into add/2021-compat-shop-page 2020-11-24 12:14:04 +01:00
Nestor Soriano 14af0c432b Fixes in the "My Account" page for 2021 theme
- Adjust padding under the "My Account" title (was too big)
- Adjust color of menu items (was too light)
- Adjust thickness of underline on menu items hover (was too thick)
- Add some space between the "Hello" line and the next paragraph
2020-11-24 11:02:59 +01:00
vedanshujain a0b999191e Merge fixups 2020-11-24 14:26:23 +05:30
Christopher Allford 9d61226987 Fixed the apply_coupon button 2020-11-23 21:50:19 -08:00
Christopher Allford a9601fbebf Added appropriate styling to checkout page 2020-11-23 21:26:31 -08:00
Jonathan Sadowski 9d4d419d1c Remove non-WooCommerce specific h2 styles 2020-11-23 16:50:29 -06:00
jonathansadowski f88c19c3af
Merge branch 'add/2021-compat' into update/twenty-twenty-one-home-page-css 2020-11-23 16:20:11 -06:00
Jonathan Sadowski e86889b080 Remove non-WooCommerce specific wp-block-cover styles 2020-11-23 16:17:21 -06:00
Jonathan Sadowski 4016b58142 Calculate width for product li; improve smaller viewport 2020-11-23 16:07:04 -06:00
vedanshujain 528e7b7d91 More style fixes 2020-11-24 00:40:01 +05:30
vedanshujain 08ec8d2547 Style fixes for cart page for 2021 theme. 2020-11-24 00:39:54 +05:30
Jonathan Sadowski 6240b41215 Update badge to have dynamic width 2020-11-23 10:41:01 -06:00
Nestor Soriano 8505558b94 Adjust CSS for the "sale" mark in the shop page
Make it round, displayed on the right and with green background,
same as in the mockup.
2020-11-23 16:47:40 +01:00
Nestor Soriano cc81646506 Adjust CSS for the product title and buttons in the shop page
- Un-bold product titles
 - Make buttons have transparent background by default and dark
   background on hover, same as the rest of the theme
2020-11-23 13:12:22 +01:00
Nestor Soriano b538d30f0e Adjust CSS for the categories list in the shop page
- Reduce font size
- Remove underlines
- Remove yellow background in counters
2020-11-23 12:51:47 +01:00
Nestor Soriano f50d383f2a Adjust CSS for the "Shop" title in the shop page
- Un-bolden title, align left, add horizontal rule to be in line
  with the theme.
- Adjust margins/paddings depending on the screen width.
2020-11-23 12:24:07 +01:00
Jonathan Sadowski 313b2bd073 Update styling for homepage category 2020-11-23 00:24:11 -06:00
Jonathan Sadowski b92c528540 2021 Compat: Update the style of the "sale" badge 2020-11-22 22:44:56 -06:00
Rodrigo Primo aa2565b4d7 Start adjusting the product categories widget in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 31914b52d7 Adjust font-weight of the section titles in the home page for the 2021 theme 2020-11-19 18:15:18 -03:00
Rodrigo Primo 673b50b4fd Fix the layout of banner in the home page for the 2021 theme 2020-11-19 18:15:10 -03:00
Nestor Soriano c9b6481474 Fix overlapping elements in shop items. 2020-11-19 16:58:10 +01:00
Jonathan Sadowski 192611980a Improve content-area padding at smaller viewports 2020-11-18 13:39:38 -06:00
Rodrigo Primo 1fca8bb1b1 Replaces a few more instances of jQuery.fn.click() event shorthand
This commit replaces a few more instances of jQuery.fn.click() event shorthand that were missed in the previous commit. For more information see the commit message for 8ebead165e.
2020-11-18 16:31:17 -03:00
Jonathan Sadowski bf92437b23 Improve margin beneath short description 2020-11-18 13:25:53 -06:00
Rodrigo Primo 8ebead165e Replace usages of depracted jQuery.fn.click() event shorthand
This commit replaces all instances in WooCommerce codebase (except included third-party libraries) where jQuery.fn.click( handler ) event shorthand was used. This shorthand was deprecated in jQuery 3.3 (see https://github.com/jquery/jquery/issues/3214). The jQuery documentation was not updated yet (see https://github.com/jquery/jquery-migrate/issues/288 and https://github.com/jquery/api.jquery.com/issues/972).

jQuery.click() was not deprecated and so it was not replaced.
2020-11-18 15:27:46 -03:00
Rodrigo Primo 5c8491c862 Remove jQuery code that does nothing
This commit replaces a block of jQuery code that I believe does nothing. I found it while starting the work to make our JS code compatible with jQuery 3 as it uses jQuery.fn.keyup() which has been deprecated.

As far as I can understand, this block of code is supposed to change the focus to the coupon description when the user hits the tab key while the focus is on the title field. It doesn't work because the keyup event is not fired for the tab key. The current behavior is that when the user hits the tab key, the focus changes to the "Generate coupon code" button, and if the tab key is pressed another time, the focus changes to the description text field. Which seems fine to me and that is why I'm suggesting we remove this code instead of fixing it.

I believe it was added in this c15b8e817c commit six years ago and unfortunatelly the commit doesn't provide much information on why it was added.
2020-11-17 14:39:55 -03:00
Jonathan Sadowski a05e55d119 Improve the readability of cart confirmation 2020-11-17 09:48:42 -06:00
Jonathan Sadowski 07d8855488 Fix related products alignment at lower breakpoints 2020-11-17 09:37:56 -06:00
Jonathan Sadowski 655166b6da Adjust margin on price, related product h2, and variations table 2020-11-17 09:04:25 -06:00
Christopher Allford ea888a4a21
Revert "Added support for file in checkout ajax." 2020-11-16 09:04:15 -08:00
Jonathan Sadowski 0f85f1d754 Fix save payment method checkbox in checkout 2020-11-16 09:23:56 -06:00
Jonathan Sadowski 67b3d1c5fb Fix stretched product admin images 2020-11-14 10:27:42 -05:00
Jonathan Sadowski 58e4b01f06 Apply related products fix to all products 2020-11-13 15:22:22 -05:00
Jonathan Sadowski 996736bf97 Display block overlay on checkout 2020-11-13 14:59:11 -05:00
Jonathan Sadowski 45515928c6 Darkmode support on checkout payment box 2020-11-13 14:53:19 -05:00
Jonathan Sadowski 0e92af159d Fix additional info spacing #28272 2020-11-13 11:14:22 -05:00
Jonathan Sadowski 64cda333d7 Fix related products 2020-11-13 10:25:13 -05:00
Jonathan Sadowski b0c8356a13 Fix product image stretching #28274 2020-11-13 10:10:37 -05:00
Jonathan Sadowski ec2105f183 Remove button color overrides; #site-content to #main 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 5ceb9e43c5 Update checkout page max-width 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 82b2fcc204 Update content area padding, adjust padding around empty notices 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 8df688ffd2 Improve product title styling 2020-11-16 06:41:39 -06:00
Jonathan Sadowski fb8b804e20 Use currentColor for body-color to support contrasting background colors 2020-11-16 06:41:39 -06:00
Jonathan Sadowski f018581c11 Clean up 'onsale' styling 2020-11-16 06:41:39 -06:00
Jonathan Sadowski 1faea15837 Use twentytwenty as base 2020-11-16 06:41:39 -06:00
Jeffrey Pearce bf8662bf67 Adds structure for Twenty Twenty One default theme support. Issue #27766
- New class class-wc-twenty-twenty-one.php
- New stylesheet twenty-twenty-one.scss
- Updates checks for default themes in theme_support_includes() and wc_is_wp_default_theme_active()
2020-11-16 06:41:39 -06:00
Christopher Allford 2516414eb6
Merge pull request #28229 from woocommerce/add/wc-pay-extensions-screen
Add WooCommerce Payments banner to extensions screen
2020-11-12 14:21:01 -08:00
Rodrigo Primo 7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Roy Ho edb06be34e
Merge pull request #27997 from woocommerce/fix/issue-27656
Fix checkout page not displaying visual blocking when place order is …
2020-11-11 12:53:17 -08:00
roykho 18bc862773
Remove fix from TwentyNineteen as the issue can't be reproduce anymore 2020-11-11 12:52:05 -08:00
Gerhard Potgieter 8afae13724 Update addons-button-solid to new purple 2020-11-10 18:37:43 +02:00
Gerhard Potgieter 48ff367299 Revert "Use right purple"
This reverts commit 0f62b77d6e.
2020-11-10 18:33:24 +02:00
Gerhard Potgieter 0f62b77d6e Use right purple 2020-11-10 18:32:32 +02:00
Gerhard Potgieter b5fb7c0104 Add purple woo button 2020-11-10 18:26:59 +02:00
Gerhard Potgieter b1d9363918 Add wc payments to extensions addons page. 2020-11-09 14:19:11 +02:00
Dominic Vermeulen-Smith 2c17454956 Merge remote-tracking branch 'upstream/master' into add-data-to-checkout_error 2020-10-29 13:39:40 +00:00
Dominic Vermeulen-Smith d2696e395b add error messages to checkout_error event 2020-10-26 18:03:06 +00:00
Rodrigo Primo 3d965f06e0
Merge pull request #25988 from yash-webkul/patch-1
Added support for file in checkout ajax.
2020-10-24 11:11:21 -03:00
Rodrigo Primo 291884e154 Replace all occurrences of jQuery.parseJSON()
jQuery.parseJSON() is deprecated (https://api.jquery.com/jquery.parsejson/). This commit replaces all of its occurrences with JSON.parse().
2020-10-22 10:11:27 -03:00
Jory Hogeveen 34eb09dfa1
Use `on` instead of `bind`
Bind will be deprecated
2020-10-20 15:56:43 +02:00
Jory Hogeveen 269ca73aa8
Allow re-init of price slider
Use case for when the widget is reloaded using AJAX
2020-10-20 15:56:02 +02:00
Claudio Sanches ef956e64e7 Update minified jQuery TipTip file 2020-10-19 21:18:20 -03:00
roykho 2bad75a87c
Fix checkout page not displaying visual blocking when place order is clicked closes #27656 2020-10-16 16:02:25 -07:00
Claudio Sanches 5daf39e169
Merge pull request #27010 from senff/fix/27009
CSS fix for issue 27009
2020-10-14 21:28:46 -03:00
Claudio Sanches 87ee7167eb
Merge pull request #27968 from woocommerce/fix/issue-27532
Tweak CSS to properly display product reviews in activity widget
2020-10-14 21:07:14 -03:00
roykho 233f38fa67
Tweak CSS to properly display product reviews in activity widget closes #27532 2020-10-14 14:37:28 -07:00
Peter Fabian 398e3b2c1a Remove duplicated content.
Ref: #27410
2020-09-24 10:25:22 +02:00
Ron Rennick 43051a0950 update deprecation versions to 4.6.0 2020-09-18 13:16:46 -03:00
Ron Rennick 9915a5b142 merge master 2020-09-18 12:53:28 -03:00
John Greys cbcb07be02
Coding standards fixes
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-05 08:26:48 +09:00
John Greys 8d63457a60
Coding standards fixes
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-05 08:26:36 +09:00
Rodrigo Primo 2b5a295db0 Fix variations and attributes layout when running WP >= 5.5
This commit fixes the layout of the sections of the product page in the admin that display variations and attributes. It was broken since WP 5.5 was releases. This version of WP removed a CSS rule that WooCommerce uses (see 22d0cd6c96 (diff-fc8970b78a0739bd367f17c3a8e552e6L1993)). So this commit simply adds this rule back.

See #27326
2020-09-04 09:47:25 -03:00
Claudio Sanches 5f1d2a8a2c
Merge pull request #27387 from woocommerce/fix/27385-twenty-twenty-notices
Fixes to notice styles in Twenty Twenty
2020-08-28 17:24:33 -03:00
Claudio Sanches 09630202e7
Merge pull request #27459 from jgreys/fix/27360
Fix white space character #27360
2020-08-28 17:23:12 -03:00
Ron Rennick 8fe3bcb90e rebase to current master 2020-08-28 10:59:43 -03:00
GREYS dd10ad5637 Fix white space character #27360 2020-08-24 11:40:43 +09:00
GREYS 55cf3e2508 Update checkout.js 2020-08-23 14:50:02 +09:00
GREYS 2a5bb98f0b Merge branch 'master' into fix/27021 2020-08-23 10:22:45 +09:00
Hayden Whiteman 3fca3caf1d Fix #27413 2020-08-22 19:35:13 +12:00
Peter Fabian e0d283c7b8
Merge pull request #27405 from woocommerce/fix/paypal-fieldlocale-undefined
Additional protection for fieldlocale
2020-08-19 18:11:02 +02:00
vedanshujain f74d2241f5 Additional protection for fieldlocale 2020-08-19 20:41:11 +05:30
Albert Juhé Lluveras cf0ce1b14f Remove no longer necessary property 2020-08-18 19:23:29 +02:00
Albert Juhé Lluveras ea52558086 Twenty Twenty: show notice buttons on the right. Fixes #27386 2020-08-18 19:20:33 +02:00
Albert Juhé Lluveras 3ee608aee8 Twenty Twenty: list error notices vertically. Fix #27385 2020-08-18 19:19:31 +02:00
Ron Rennick 72df8aecfa updated deprecated version to 4.5.0 2020-08-13 14:46:12 -03:00
Ron Rennick f0ad8a01be merge current master 2020-08-13 14:33:07 -03:00
Ron Rennick bb5c367e20 move the arrows on product pointers 2020-08-12 21:44:21 -03:00
GREYS 82d2124a74 Fix for issue #27021 2020-08-06 16:07:39 +09:00
Claudio Sanches 891a0cf8e8
Merge pull request #27170 from woocommerce/fix/27167
Fixed - Fixed "Product type" dropdown from Product's data meta box on WP 5.5
2020-07-30 16:38:18 -03:00
Claudio Sanches cc8282a23f
Merge pull request #27142 from woocommerce/fix/25788
Improve order details UI to highlight "Paid" and "Net Payment" sections
2020-07-30 15:49:24 -03:00
Claudio Sanches edaf71b115 Remove new WP 5.5 meta box arrows 2020-07-29 22:04:44 -03:00
Claudio Sanches 94f8d2d576 Fixed jQuery selector 2020-07-29 19:21:24 -03:00
Claudio Sanches 97c7937fd9 Fixed "Product type" dropdown on WP 5.5
WP 5.5 doesn't introduce a <span> tag inside metaboxes headings
2020-07-29 19:12:02 -03:00
Claudio Sanches 008e41170b Improved UX to highlight order data when there's some refund 2020-07-28 15:13:00 -03:00
Claudio Sanches db82c98801
Merge pull request #26945 from woocommerce/fix/25233
Photoswipe: Populate alt attribute for photoswipe galleries
2020-07-27 11:35:13 -03:00
Claudio Sanches 7bd34e3545
Merge branch 'master' into fix/25843 2020-07-24 17:04:28 -03:00
Christopher Allford b21c3fb55a Updated minified files 2020-07-16 21:44:49 -07:00
Claudio Sanches e340a20312
Merge pull request #26880 from wpdesk/bugfix/settings-changes-warning
Changed settings warning when leaving page
2020-07-14 13:40:05 -03:00
Nestor Soriano d2787818e3 Rename `quick-edit-warning` style with `wc-` prefix, and add styling. 2020-07-14 16:02:59 +02:00
Nestor Soriano a33bcaf532 Remove unnecessary phpcs disabler in quick-edit.js 2020-07-14 11:42:22 +02:00
Nestor Soriano fd34cf76b2 Fix stock status setting for variable products on bulk & quick edits.
For bulk edit: even if stock status was left as "No change", the
status of all variations was being changed to whatever the status
of the product was before it was converted to variable. Now
no change is performed when "No change" is selected, and all
variations change to whatever is selected otherwise.

For quick edit: a new "No change" option is added that will be
preselected when the product is variable. Previously, whatever
status the product had before being converted to variable was being
shown, and that's the status that would be set when saving.
Also, a "This will change the stock status of all variations"
message is displayed before the selector.
2020-07-14 11:42:21 +02:00
Nestor Soriano 39e5a1bfb1 Fix code sniffer errors on quick-edit.js 2020-07-14 11:42:21 +02:00
senff 48a236e0e1 CSS fix for issue 27009 2020-07-10 08:22:18 -04:00
Jonathan Sadowski 3b9ac931b6 Include alt in the items passed to initialize photoswipe 2020-07-02 13:17:34 -05:00
Jonathan Sadowski c0fe1e25de Update jquery zoom to grab alt from source image 2020-07-02 13:17:34 -05:00
Jonathan Sadowski c9e327809a Update photoswipe to display alt attribute on preload 2020-07-02 13:17:34 -05:00
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