Sam Seay
11b46d4f77
Add a new set of CLI commands to WooCommerce Beta Tester ( #36339 )
2023-01-12 14:16:01 +13:00
Sam Seay
262b2ecebd
Don't run CI checks on PRs that are just changelog changes ( #36280 )
2023-01-12 14:09:36 +13:00
barryhughes
83c946602a
Widen the selector used to hide the quantity input (for products that are sold individually).
2023-01-11 15:25:12 -08:00
Joel Thiessen
6e428201c1
Adding WooProductSectionItem slotfill ( #36331 )
2023-01-11 10:00:20 -08:00
nigeljamesstevenson
0490311829
k6: update order requests for HPOS add tidy scenarios ( #36174 )
2023-01-11 16:08:08 +00:00
Maikel David Pérez Gómez
8bada412d4
Product variations should inherit parent product properties ( #36234 )
...
Remove manage_stock 'parent' value before saving the variation
2023-01-11 11:41:25 -03:00
Miguel Pérez Pellicer
ef3d15fcd4
Make secondQuestion and title params optional in CES Prompt ( #36270 )
...
* Set secondQuestion and title as optional
* Update docs and changelog
* Fixes after review
2023-01-11 18:53:36 +07:00
nigeljamesstevenson
7c1ec35508
Enable COT Tests for all PRs. ( #36219 )
2023-01-11 10:55:20 +00:00
Vedanshu Jain
475f21a985
Disable posting comment since it conflicts with normal E2E report comment.
2023-01-11 10:19:25 +05:30
Vedanshu Jain
b3bd207baa
Enable COT Tests for all PRs.
2023-01-11 09:31:11 +05:30
github-actions[bot]
4ab70c5e7d
Delete changelog files based on PR 36170 ( #36172 )
...
Delete changelog files for 36170
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-01-11 07:19:51 +13:00
Joel Thiessen
f429b9444c
Adding WooProductFieldItem slotfill ( #36315 )
2023-01-10 10:13:02 -08:00
Shani
c6e1fb767e
Update README to add slack link and update issue submission denial language ( #36347 )
2023-01-10 19:09:05 +01:00
Rodrigo Primo
1d234b5ac0
Update TaskLists::add_task() to reflect changes in TaskList::add_task() ( #36104 )
...
* Update TaskLists::add_task() to reflect changes in TaskList::add_task()
In
8ff08ea0c9 (diff-061f664bd417ad78d47c53ad5e6cc7e2eb1243af4e55b6fbf68750225acb06a3R173)
`TaskList::add_task()` was refactored to receive an instance of `Task`
instead of an `array` as its first parameter.
This commit updates `TaskLists::add_task()` (easy to miss that it is a
different method as the only difference is the plural in the class
name) to reflect the changes from the commit mentioned above. It
updates the type of the second parameter from `array` to `Task` and
renames the parameter from `$args` to `$task`.
I found this while using `TaskLists::add_task()` to add a MailPoet task
as our PHPStan checks complained that I was passing the wrong parameter
to this WooCommerce method.
* Add missing changelog file
2023-01-10 08:13:49 -08:00
RJ
4927a2e412
dev: migrate @woocommerce/components/link to ts ( #36285 )
2023-01-10 19:12:22 +08:00
Barry Hughes
301182fc8a
When product is sold individually, hide quantity selector ( #36350 )
2023-01-10 09:49:59 +01:00
Roy Ho
929fd09fb6
Add permissions to issues endpoint ( #36344 )
2023-01-09 12:43:33 -08:00
Barry Hughes
466d93e3ef
Take private variations into account for sort order ( #36343 )
2023-01-09 10:59:11 -08:00
barryhughes
a1ce90b306
Changelog.
2023-01-09 10:05:26 -08:00
Gan Eng Chin
b326ba1204
Merge branch 'feature/34903-multichannel-marketing-frontend/main' into feature/34903-multichannel-marketing-frontend/34906-channels-card
2023-01-09 23:38:03 +08:00
Gan Eng Chin
1b1d70925e
Merge branch 'feature/34556-marketing-api' into feature/34903-multichannel-marketing-frontend/main
2023-01-09 23:36:42 +08:00
Roy Ho
422b24770b
Add workflow for bumping wp l-2 version support ( #36312 )
2023-01-09 05:36:54 -08:00
Joris Van Steenberghe
0774e0506a
Make sure setting sort order of all variations takes private variations into account ( #32833 )
2023-01-09 13:48:36 +01:00
Barry Hughes
0f37590021
Validate Norweigan postcodes/rework code for 4-digit post code validation ( #36277 )
...
Also gather countries that use four digit postcodes in one single case in the `switch` statement.
Co-authored-by: Stian <stian@dekode.no>
2023-01-09 12:11:22 +01:00
Vedanshu Jain
01e8a2029a
Make HPOS UX more consistent with posts (so that same e2e tests passes). ( #36282 )
2023-01-09 12:08:06 +01:00
Alexandre Faustino
af9389d50d
Adds 2 new order status filters for bacs and cheque email instructions ( #35849 )
...
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-01-09 11:52:41 +01:00
Néstor Soriano
b03cb80c0c
Fix: order refunds REST API endpoint reading from posts table even with HPOS active ( #36308 )
...
Move HPOS-aware orders retrieval code from REST API v3 to v2.
This has two effects:
1. Make the /orders endpoint compatible with REST API v2 when HPOS
is active, additionally to v3 (v1 would require additional work).
2. Fix the /orders/<id>/refunds endpoints for v2 and v3, which was
retrieving data from the posts table even when HPOS active
The class hierarchy is: RefundsV3 extends RefundsV2 extends OrdersV2
and OrdersV3 extends OrdersV2.
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2023-01-09 10:59:22 +01:00
Lucio Giannotta
74768f4c56
Update WooCommerce Blocks to 9.1.4 ( #36314 )
...
This update removes compatibility of the “Products (Beta)” block from
WordPress versions below 6.1.
2023-01-09 08:02:17 +13:00
Roy Ho
aca46fb7d1
Dev/woo ext/components ( #36328 )
...
* Add woo components and lock wp scripts dep
* Add some example usage of Woo components
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Update packages/js/create-woo-extension/src/index.js.mustache
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-01-06 14:04:08 -08:00
Maikel David Pérez Gómez
1ab678c13f
Include tax options in pricing section ( #36299 )
...
* Add Charge sales tax on sub section to pricing section when enable taxes is set to yes
* Add tax classes datastore
* Load tax classes in pricing section
* Set empty value when tax class is standard rate
* Add changelog files
* Add custom resolver to use slug as id for tax classes
* Add helper text and learn more link to tax class radio group
2023-01-06 09:41:45 -03:00
Fernando Marichal
a9005c58f0
Fix moving list item also moves image gallery item ( #36262 )
...
* Fix list id
# Conflicts:
# pnpm-lock.yaml
* Add changelog
* Add package changelog
* Remove changelog
* Add `-` between the item `index` and `id`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-01-06 08:53:33 -03:00
Fernando Marichal
230e79fbdf
Fix reordering items logic in attributes/options lists ( #36296 )
...
* Fix reordering list items bug
* Add tests
* Remove orphan comment
* Add changelog
* Rename const
* Update plugins/woocommerce-admin/client/products/fields/attribute-field/utils.ts
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Rename `objectKey` to `attributeKey`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2023-01-06 08:53:03 -03:00
Chi-Hsuan Huang
2d4f62be7a
Migrate Tag component to TS ( #36265 )
...
* Migrate Tag components's tests and stories to TS
* Migrate tag component to TS
* Add changelog
* Fix prop types
* Remove jsdoc, proptype and add inline ts comments
* Remove unused import
2023-01-06 10:48:03 +08:00
Joshua T Flowers
8b905b92c0
Allow product tab navigation without prompting for unsaved changes ( #36235 )
...
* Add callback to confirm whether or not the prevent leaving page prompt should trigger
* Move prevent leaving logic to util and add tests
* Add changelog entry
* Add navigation changelog entry
* Fix WooCommerce data mock
* Revert desctructuring of nav properties
2023-01-05 18:30:36 -08:00
Joshua T Flowers
04089f37e6
Add product variation flag to hide WIP ( #36311 )
...
* Add product variations feature flag
* Add changelog entry
2023-01-05 18:30:23 -08:00
Sam Seay
45d157a25e
Introduce clean command that should help with node_modules corruption and avoid fresh clone ( #36302 )
2023-01-06 10:51:58 +13:00
Vedanshu Jain
4c236bdc37
Use more generic selectors for HPOS<>Posts compatibility ( #36284 )
...
* Use more generic search selector for edit screen.
* Use more generic heading text for post<>HPOS compat.
2023-01-05 10:26:08 -08:00
Vedanshu Jain
677896c304
Add support for sorting by includes param. ( #36215 )
2023-01-05 22:17:14 +05:30
Néstor Soriano
b15639ee6a
Fix bug when filtering for customer_id=0. ( #36216 )
2023-01-05 14:41:23 +01:00
Vedanshu Jain
dab19a3ec9
Set child orders to be children of current order parent before deleting. ( #36218 )
2023-01-05 15:24:49 +05:30
Vedanshu Jain
dec29bc959
Merge branch 'trunk' into fix/35852
2023-01-05 14:59:17 +05:30
Vedanshu Jain
cb8c6f8b24
Remove duplicated statement.
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-01-05 14:57:33 +05:30
Vedanshu Jain
f36a16cd06
Update changelogger to 3.3.0 to support PR number capturing with merge ( #36266 )
...
* Update changelogger.
* Add changelog.
* Update changelogger for all packages.
* Add changelogs.
* Update changelog for remaining packages.
2023-01-05 14:42:51 +05:30
Vedanshu Jain
584167746e
Skip custom search for HPOS API queries as it's handled already. ( #36213 )
...
* Skip custom search for HPOS API queries as it's handled already.
For HPOS, we don't need a seperate step of passing the args through wc_order_search since we take care of search params in the final query itself. This duplication was actually causing for some results to not be displayed since we were ending up not honouring pagination arguments and would search only in first 10 matches.
* Add changelog.
2023-01-04 15:08:22 -05:00
Vedanshu Jain
e84c38504f
Speed up search query by using GROUP BY instead of DISTINCT for HPOS ( #35897 )
...
* Spped up the search query by using GROUP_BY.
Search query peforms much faster when using group by, MySQL does not like it when we use DISTINCT and join different tables.
* Add changelog.
* Fixup for calculating found orders seperately.
* Code standard fix.
2023-01-04 14:57:01 -05:00
IanDelMar
e0b829413d
Make coupon code label accessible ( #36247 )
...
* Make coupon code label accessible
* Changelog, version tag bump.
Co-authored-by: barryhughes <3594411+barryhughes@users.noreply.github.com>
2023-01-03 19:40:18 -08:00
Joshua T Flowers
e73fb9f23f
Derive product type from product attributes ( #36243 )
...
* Derive product type from product attributes
* Add tests around derive product type
* Add changelog entry
2023-01-03 16:25:21 -08:00
Joshua T Flowers
421fc3e30b
Convert HTML to blocks in product variation description ( #36241 )
...
* Convert HTML to blocks in product variation description
* Add changelog entry
2023-01-03 16:25:12 -08:00
Sam Seay
302dab0521
Update browserslistconfig for legacy JS assets ( #36264 )
2023-01-04 11:22:15 +13:00
rodelgc
7ecdd50365
E2e/fix obw industry spec ( #36260 )
...
* Fix 'can save industry changes' test
* Add changelog
* Wait store details contents to load
2023-01-03 12:42:47 -08:00