Commit Graph

4530 Commits

Author SHA1 Message Date
roykho 9118349520
Remove duplicate notices from cart during ajax updates closes #28914 2021-03-24 09:59:20 -07:00
jonathansadowski 2e60d47a01
Merge pull request #29181 from woocommerce/fix/27233
Use AJAX for Page Configuration
2021-03-23 11:46:00 -05:00
roykho e5380ac966
Add new function to handle single page search closes #27233 2021-03-22 13:20:16 -07:00
roykho 657bef2eb0
Fix sale tag misaligned on product archive when columns are less than 3 closes #29343 2021-03-18 09:01:19 -07:00
Néstor Soriano 7ba48234fa
Merge pull request #29397 from woocommerce/fix/issue-29163
Fix offsets not calculated correctly sometimes  on select2 dropdowns …
2021-03-17 09:38:04 +01:00
Néstor Soriano 17224d0ab1
Merge pull request #29345 from woocommerce/hw/low-stock-threshold-for-variations
Low stock threshold for variations
2021-03-17 08:59:32 +01:00
roykho a1cda953dc
Fix offsets not calculated correctly sometimes on select2 dropdowns closes #29163 2021-03-16 07:39:09 -07:00
Roy Ho 57569c5168
Merge pull request #29232 from Dartui/trunk
Pass checkout submit result to triggered handler
2021-03-15 09:46:31 -07:00
Roy Ho b04e08fb52
Merge pull request #29282 from hsingyuc/fix/29261
Trigger country field change on address change click
2021-03-12 12:55:34 -08:00
Fernando Marichal bf17fb04f0 Added Mercado Pago logo
This commit adds a new asset (Mercado Pago logo) that will be used in the payments setup task.
2021-03-12 11:21:46 -03:00
Peter Fabian f7755f123e Enable bulk updates of variations with low stock amount. 2021-03-10 18:15:31 +01:00
hsing 24c4c7658a Trigger country field change on address change click 2021-03-04 16:01:07 -05:00
Moon 00a272fa85
Merge pull request #29174 from woocommerce/add/28568-dashboard-widget-finish-setup
Add/28568 dashboard widget - setup
2021-03-02 16:46:51 -08:00
Claudio Sanches bcdfe3cb68
Merge pull request #29182 from woocommerce/fix/26973-get-customer-location
Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973
2021-02-26 20:33:29 -03:00
Krzysztof Grabania 626dcb1fb1 Pass checkout submit result to triggered handler 2021-02-26 11:55:49 +01:00
Barry Hughes 94ed76a2f2
Update assets/js/frontend/geolocation.js (fix coding standards)
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:55 -08:00
Barry Hughes 5380d119ce
Update assets/js/frontend/geolocation.js (fix coding standards)
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:46 -08:00
Moon 5c99233905 Minor fixes
* Removed extra double quotation from the image tag

* Fixed typo in the init() method

* Moved init() method body into the constructor -- a separate method is not necessary
2021-02-22 20:33:02 -08:00
Moon 781c5e24d7 Status dashboard widget should be rendered only if onboarding tasks have been completed or hidden 2021-02-22 15:29:47 -08:00
Christopher Allford 5e771d8e4f Started Converting Woo Page Dropdowns
Since the page selection dropdowns in the Advanced settings area are
populated on load we can end up taking a very long time to load on
shops that have lots of pages. This commit adds page search support
to wooSelect and starts converting the pages to use it.
2021-02-19 15:28:07 -08:00
barryhughes 761f155fc3 Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973 2021-02-19 14:50:59 -08:00
Claudio Sanches b6fe772d54
Merge pull request #29109 from woocommerce/update/add-tracking-to-status-widget
Add tracking to WooCommerce Status widget
2021-02-18 20:03:50 -03:00
Claudio Sanches 881159dd31 Indent with tabs 2021-02-18 20:02:56 -03:00
Claudio Sanches ddc71d71a6
Merge pull request #27242 from jgreys/fix/27021
Checkout: phone number validation fix #27021
2021-02-18 19:31:33 -03:00
Moon ba2f97af62
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:27 -08:00
Moon ab8d29ea0c
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:22 -08:00
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