Commit Graph

40653 Commits

Author SHA1 Message Date
Barry Hughes 045c3fb915
Center product cards (2022 Theme) (#31626)
* Center product cards (2022 Theme)

* Product card color.

* Center product rating in loops.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-12 17:00:52 -05:00
Jeff Stieler accd914e54 Bold font for all price values on checkout. 2022-01-12 14:59:38 -07:00
Jeff Stieler 8e215949f8 Fix vertical alignment of prices on checkout. 2022-01-12 14:59:13 -07:00
Jeff Stieler 9c3afa0ab3 Fix product vendor display on checkout. 2022-01-12 14:58:54 -07:00
jamelreid 503fada6fb Removed duplicate plugins/woocommerce 2022-01-12 15:47:45 -05:00
jamelreid d49a68079e Imported and used removePathDuplicates method 2022-01-12 15:44:41 -05:00
jamelreid 059346a725 Added removePathDuplicates method
This method ensures that we can execute tests using a relative path with or without `plugins/woocommerce` and/or `tests/e2e` prepended on the test file path.
2022-01-12 14:00:00 -05:00
Vedanshu Jain 6e08e1802f
Checkout tweaks for 2022 compatibility (#31619) 2022-01-12 13:17:49 -05:00
Josh Betz 947b9c8ff1 Add doc comment for WC_REST_Coupons_Controller::prepare_objects_query 2022-01-12 11:06:44 -06:00
Josh Betz a88a7255b1 Fix infinite loop
Oops. We can't call $this->prepare_objects_query() unconditionally inside
prepare_objects_query(). This was my fault 🙃

b43af2ae16

To explicitly reference the parent implementation, we use `parent::`
2022-01-12 11:01:53 -06:00
Peter Fabian 38931e401b
Merge pull request #31395 from woocommerce/fix/remove-old-images
Removed assets referred to from deprecated functions.
2022-01-12 16:21:51 +01:00
Kevin Ang d974373b1f
Use inline `onload` event instead of jQuery `load` 2022-01-12 08:30:05 -06:00
Vedanshu Jain 159ceb3f35
Merge pull request #31575 from woocommerce/support/2022-my-account
Style My Account Pages for 2022 Theme.
2022-01-12 12:06:11 +05:30
Jeff Stieler 0c4035615a Style order details. 2022-01-11 22:46:49 -07:00
Jeff Stieler 497738ea71 Tweak show password icon again. 2022-01-11 21:51:26 -07:00
Jeff Stieler 59f57a631d Fix radio buttons on cart. 2022-01-11 21:51:14 -07:00
Jeff Stieler 4718c65352 Style order button and responsive form width. 2022-01-11 21:33:29 -07:00
Jeff Stieler 4b83fa9bca Style checkbox input. 2022-01-11 21:18:37 -07:00
Jeff Stieler cbc4d31ec5 Fix margin on my account address form. 2022-01-11 20:43:57 -07:00
Jeff Stieler 5c67ccdb86 Style radio buttons. 2022-01-11 20:43:40 -07:00
Jeff Stieler e4d51dc017 Style checkout form. 2022-01-11 20:43:32 -07:00
Jeff Stieler a3d83d4aec Fix checkout column layout. 2022-01-11 18:08:06 -07:00
Jeff Stieler e20d76a7f7 Style cart totals table. 2022-01-11 15:46:09 -07:00
Jeff Stieler 5224c4c83d Style "view cart" and "return to shop". 2022-01-11 15:14:31 -07:00
Jeff Stieler 9b8a73875d Fix add to cart buttons. 2022-01-11 14:58:16 -07:00
Jeff Stieler d20aa95d03 Fix password input. 2022-01-11 14:58:08 -07:00
Jeff Stieler 9ef7e0c778 Style cart items table. 2022-01-11 14:57:52 -07:00
Jeff Stieler 51f3e1c3f0 Style login form. 2022-01-11 11:04:11 -07:00
Jeff Stieler 96241487d5 Style tables on my account. 2022-01-11 11:04:11 -07:00
Jeff Stieler ca7a3eec62 Fix input height - affected add to cart. 2022-01-11 11:04:11 -07:00
Jeff Stieler c6dd0f0ab5 Remove button inner border. 2022-01-11 11:04:11 -07:00
Jeff Stieler d0f4691b65 Fix notice/message bottom margin. 2022-01-11 11:04:11 -07:00
Jeff Stieler 7e28e79f26 Style address edit form. 2022-01-11 11:04:11 -07:00
Jeff Stieler 540cbf587a Initial styles for my account template. 2022-01-11 11:04:11 -07:00
Jeff Stieler f07a9d40ad Fix message display on my account page. 2022-01-11 11:04:11 -07:00
Vedanshu Jain 487c4f6e17
2022 theme stylings for product and shop pages. (#31536)
* 2022 theme stylings for product and shop pages.

* Add support for variable products and gallery.

* Add margin to reset button.

* Add support grouped product.

* Disable breadcrumb and add notice styling child.

* Reduce heading size on title page.

* Reduce font-size for content in tabs.

* Fixes for PR 31536 (#31611)

* Set max width to 1000px for shop and products.

* Display breadcrumbs on product pages.

* Remove admin styles.

* Fix result count and ordering control alignment.

* Fix onsale alignment on single product pages.

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-11 12:57:48 -05:00
Josh Betz b1da020e07 Fix indentation
We use spaces to align the `=>` instead of a mix of tabs and spaces.
2022-01-11 10:08:12 -06:00
Miguel Perez Pellicer 06faa5daa6 Fix logic in get_template_loader_default_file function for loading custom product taxonomies. 2022-01-11 12:30:14 +01:00
anitaamurthy 9a34ccc7ba Merge branch 'trunk' into issue/31562-filter-coupons-by-status
# Conflicts:
#	plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
#	plugins/woocommerce/tests/legacy/unit-tests/coupon/data.php
2022-01-11 11:36:16 +05:30
Anitaa Murthy 0a1b850fb3
Issue/31555 add status field coupons api (#31561)
* Added the status field to the GET Coupon(s) API endpoint

* Updated existing unit test for reading coupons from the db

* Updated tests for version 2&3 when fetching coupons

* Update plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php

Co-authored-by: Josh Betz <j@joshbetz.com>

* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php

Co-authored-by: Josh Betz <j@joshbetz.com>

* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php

Co-authored-by: Josh Betz <j@joshbetz.com>

* Updated unit test for getters and setters

* Fix indentation

* Fix indentation.

Co-authored-by: Josh Betz <j@joshbetz.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-10 13:41:32 -05:00
Ron Rennick e5084c1ae9
Merge pull request #31559 from woocommerce/fix/31469
Allow multiple screenshots per test fix
2022-01-10 13:40:50 -04:00
Jonathan Lane be9189cff9
Merge pull request #31495 from woocommerce/add/e2e-more-variation-tests
Add/e2e more variation tests
2022-01-10 09:05:36 -08:00
jonathansadowski 4f482cff26
Merge pull request #31603 from woocommerce/fix/dep-sass-format
Use calc function to prevent deprecated warnings when building
2022-01-10 10:19:08 -06:00
Brian 26d8a667b5
small text change 2022-01-10 16:03:31 +01:00
Vedanshu Jain 658e28fff2
Merge pull request #31591 from woocommerce/fix/25458-photoswipe-close-mobile-trigger-bug
Fix PhotoSwipe lightbox "close" triggering elements covered by it on mobile
2022-01-10 20:28:47 +05:30
roykho 39a048631c
Use calc function to prevent deprecated warnings when building 2022-01-10 06:40:40 -08:00
Jeff Stieler 79c9b66714 Prevent photoswipe tap from interacting with elements directly underneath.
Props @Edsuns and @andi34.
2022-01-07 18:02:46 -07:00
Brian f736216f01
Update class-wc-settings-accounts.php 2022-01-08 01:17:33 +01:00
Brian 1d7b1a7171
fixes #31560
fixes #31560 - change string 'automatically generate an account password'
2022-01-08 01:13:22 +01:00
jonathansadowski dabd2c6bf2
Merge pull request #31581 from woocommerce/fix/circular-reference
change extension on scaffolding sample scripts
2022-01-07 14:26:47 -06:00