Commit Graph

10910 Commits

Author SHA1 Message Date
Corey McKrill afd6376a5e
Include post_ID field in HPOS order edit screen (#39321)
This PR adds a post_ID hidden field to the HPOS order edit screen for compatibility with the posts order edit screen.

Fixes #39272
2023-07-19 14:11:52 -07:00
Barry Hughes e97eda12ae
Introduce grace period before asking guests to verify their email address (#39191)
* Add a grace period during which email verification is not required (order pay/conf page).

When the order confirmation (or payment) page is requested, we often want to ensure the visitor is associated with the order. However, this relies heavily on information stored in the user session and, depending on the payment gateway in use, this may not be dependable. Therefore, we've introduced a grace period during which no such verification will take place.

* Provide a mechanism for establishing server-side filters from our E2E tests.

* Make our utilities for setting up filters from E2E available in the test env.

* Update guest shopper workflow to account for order conf/payment access grace period.

* Tidy verbiage.

* Add changefile(s) from automation for the following project(s): woocommerce

* Only activate the Filter Setter (e2e utility) during e2e tests.

* Coding standard fixes for E2E utility plugin.

* e2e: Update locators for headings to use getByRole, add await to clearFilters

* e2e: Abstract the cookie domain to work on non-localhost test sites

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-07-19 11:57:03 -07:00
Ron Rennick ae89984d42 include post_ID in HPOS order edit screen 2023-07-19 13:46:09 -03:00
Maikel David Pérez Gómez 6f8559dada
Unable to "turn off the new product form" from within the editor (#39317)
* Fix turn off the new block experience when tracking is turned off

* Add changelog file
2023-07-19 12:22:38 -04:00
github-actions[bot] faf508c209
Delete changelog files based on PR 39301 (#39315)
Delete changelog files for 39301

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-19 10:22:10 -05:00
Maikel David Pérez Gómez 776d567f30
Create the Organization tab (#39232)
* Add Organization to the right of General tab

* Add Product catalog and Attributes sections to the Organization tab

* Add Categories and Disable product reviews blocks to Product catalog section

* Add attributes block to the attributes section

* Add changelog files

* Fix php linter error

* Remove Categories and Attributes blocks from the General tab

* Change Disable product reviews by Enable product reviews
2023-07-19 10:11:03 -04:00
Panos (Panagiotis Synetos) 7628a5bc94
Fix Storefront recommendation link and missing image in Marketplace (#39294) 2023-07-19 15:03:33 +03:00
Panos (Panagiotis Synetos) d7a4758d3d
Revert 2023-07-19 11:26:35 +03:00
Panos (Panagiotis Synetos) 355ea0b3bb
Wake up github actions 2023-07-19 11:26:14 +03:00
Matt Sherman 5b412c46f0
Restore the woocommerce_variations_added jQuery trigger (#39301)
* Restore woocommerce_variations_added trigger

* Add e2e expect to verify that woocommerce_variations_added_functions jQuery trigger was called
2023-07-18 22:15:40 -04:00
Corey McKrill 00073c0d4c
Fix for free shipping handling of minimum order rule (#39155)
Fixes the calculation from when Apply minimum order rule before coupon discount is active and prices are entered inclusive of tax and displayed that way in cart and checkout, free shipping is no longer available (based on the minimum order amount including tax), as it uses the pre-tax amount when a coupon is applied.

Fixes #28752
2023-07-18 17:00:39 -07:00
Corey McKrill 808c44c76c
Add changelog file 2023-07-18 16:25:33 -07:00
github-actions[bot] a41f6aaf8e
Prep trunk for 8.1 cycle (#39286)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:07:44 -05:00
github-actions[bot] 7bfe8234ae
Release: Remove 8.0 change files (#39288)
Delete changelog files from 8.0 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-18 10:06:34 -05:00
Panos (Panagiotis) Synetos e310c9ed59
Fix Storefront recommendation link and missing image in Marketplace 2023-07-18 10:16:53 +03:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
Sam Seay a511e72b4c
Add linting to CI for monorepo utils, add to CI unit tests for docs. (#39240) 2023-07-18 12:47:13 +12:00
martynmjones 2fcf512050
Add activation option workaround to trigger `woocommerce_newly_installed` action (#38694)
* Use option to track new WC installs

* Correct hook used for disabling legacy coupon menu

* Add changelog

* Fix deprecated hook version number

* Update unit tests

* Use AccessiblePrivateMethods to register action

* Update comments

---------

Co-authored-by: Martyn Jones <martyn.jones@automattic.com>
2023-07-17 12:52:50 -07:00
Joel Thiessen 7cb5cfed69
Making completion utilities available in AI package (#39190)
Co-authored-by: github-actions <github-actions@github.com>
2023-07-17 10:25:14 -07:00
Barry Hughes 722922191e
Revert PR#39146: fix basic flat rate shipping scenario (#39259)
* Reverts PR#39146 due to uncaught issues with flat rate shipping calculations.

* Explain lack of changelog.
2023-07-17 08:51:25 -07:00
Sam Seay 69e9acaba9
WooCommerce Docs: Improve Manifest Structure, Extend Frontmatter Support (#39214) 2023-07-17 20:46:23 +12:00
RJ 66cee083d4
add: removed avalara task list item (#39238)
* add: removed avalara task list item
2023-07-17 11:32:51 +08:00
Shendy f631a5ed20
Allow registered React-powered page to specify 'parent path' (#39116)
* Allow registered React-powered page to specify 'parent path', so the right menu item can be highlighted.

* Fix linting issue.

* Changelog.

* Add changefile(s) from automation for the following project(s): woocommerce

* Changelog.

* Add changefile(s) from automation for the following project(s): woocommerce

* Changelog.

* Update plugins/woocommerce/changelog/add-override-menu-item-highlight

Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Eric Jinks <3147296+Jinksi@users.noreply.github.com>
2023-07-16 15:23:33 -04:00
Barry Hughes 8a3893c47c
Prefer asterisks for API consumer key obfuscation | #39194 2023-07-14 08:45:59 -07:00
github-actions fb50c5f115 Add changefile(s) from automation for the following project(s): woocommerce 2023-07-14 16:05:23 +05:30
Vedanshu Jain 0124f3cd0c Fixed the option name, and additonal protection of creating order tables. 2023-07-14 15:15:44 +05:30
Vedanshu Jain bc942a0215
Refresh UX to enable HPOS tables (#38993) 2023-07-14 15:09:56 +05:30
Vedanshu Jain f9b31a2474
Add filter `woocommerce_redirect_order_location` for consistency with posts and HPOS. (#39193) 2023-07-14 12:40:05 +05:30
Vedanshu Jain 16f87da70d
Support dynamic prop setting for order subclasses. (#39219) 2023-07-14 12:04:57 +05:30
Vedanshu Jain 0629e2fb63 Add since tags. 2023-07-14 11:45:09 +05:30
Vedanshu Jain ca8ae1b768 Addded since tag. 2023-07-14 11:29:09 +05:30
Vedanshu Jain b6c3b3fd99 Convert tabs to spaces. 2023-07-14 11:20:00 +05:30
Vedanshu Jain 94fce9c169 Apply PR feedback suggestions. 2023-07-14 10:39:42 +05:30
Vedanshu Jain a92ba3e59a
Use correct representation of array types.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-14 10:32:46 +05:30
Phill 407dc4ebc3
Create fix-39194
Branch permissions won't let the workflow generate the changelog file.
2023-07-14 11:39:04 +07:00
rodelgc 2968cf3fe6
E2E: Add update button click, and more assertions to `can add custom product attributes` test (#39139)
* Add changelog

* Split for loop, add assertions

* Make visibility check more explicit
2023-07-13 13:38:51 -07:00
github-actions[bot] aeee7570c1
Delete changelog files based on PR 39207 (#39226)
Delete changelog files for 39207

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-13 09:36:45 -05:00
Vlad Olaru ed877abac6
Fixes for the WCPay welcome page incentives (#39207) 2023-07-13 17:07:45 +03:00
Vedanshu Jain cbfd4ae68c Add props to internal meta keys so that they are filtered. 2023-07-13 18:41:59 +05:30
Vedanshu Jain 098d0f2528 Add changelog. 2023-07-13 18:17:51 +05:30
Vedanshu Jain 74522b2b24 Removed unused method call and added unit tests. 2023-07-13 18:16:14 +05:30
Vedanshu Jain 88b7e992bc Support dynamic prop setting.
Additionally, use in refunds to set prop dynamically so that correct `this->data` is returned
2023-07-13 17:58:17 +05:30
Vedanshu Jain bde6fbf01e Handle edge case of order table being unexpectedly not present. 2023-07-13 16:29:58 +05:30
Vedanshu Jain 406f7b6174 Remove references to removed COT seperate feature flag. 2023-07-13 15:35:21 +05:30
Vedanshu Jain dcbddec591 Set option when HPOS tables are created.
Earlier, we were marking this based on whether HPOS is enabled or not, but now that HPOS is enabled (but not authoritative) for everyone, we need a seperate option to track this.
2023-07-13 15:33:42 +05:30
Oleksandr Aratovskyi aeaaac9505
Change WooCommerce Payments to WooPayments across the WC Core (#39188)
* Change WooCommerce Payments to WooPayments across the WC Core

* Change WooCommerce Payments to WooPayments across the WC Core

* Add more changelogs

* Add changelog for data package

* Change banner image and task description

* Fix lint error

* Change one more banner image

* Fix to the banner image

* Roll back changelog.txt and fix one condition for backwards compatibility

* Fix in changelog.txt

* Small fix in changelog.txt
2023-07-13 12:58:17 +03:00
Vedanshu Jain 0fc70027f5 Use custom option for custom order tables feature. 2023-07-13 12:01:14 +05:30
Vlad Olaru fd9e92e7bd
Add changelog entry 2023-07-13 09:29:48 +03:00
Vlad Olaru 5abf7acdbb
Simplify the has_wcpay logic to avoid overlapping conditions 2023-07-13 09:23:43 +03:00
Joel Thiessen b7e7d66de8
Adding basic Woo AI settings screen (#38920) 2023-07-12 17:12:03 -07:00