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
Joshua T Flowers
df0ddb2dff
Fix navigation between variations and tab selection ( #36239 )
...
* Fix navigation between variations and tab selection
* Add changelog entry
2023-01-03 08:59:49 -08:00
Nima
02cd258b44
Add unit tests for `marketing/campaign-types` API
2023-01-03 15:00:23 +00:00
Nima
1b668d94f3
Add `marketing/campaign-types` API
...
This API returns the aggregated list of supported marketing campaign types for all registered marketing channels.
2023-01-03 14:55:52 +00:00
Nima
8ef6532a07
Add campaign type property to campaign class
2023-01-03 14:55:06 +00:00
Nima
1687416413
Add MarketingCampaignType class
...
This allows defining campaign types for each marketing channel.
2023-01-03 14:54:03 +00:00
Nima
20efcfb804
Change API access permission
2023-01-03 14:05:27 +00:00
Fernando Marichal
af9f493c43
Fix attributes/options lists corrupt render ( #36236 )
...
* Fix attributes/options lists reordering
* Add changelog
* Fix element key
* Remove comment
* Add tests
* Fix changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-01-03 10:33:29 -03:00
github-actions[bot]
216a7505df
Prepare Packages for Release ( #36210 )
...
Automated change: Prep @woocommerce/components for release.
Co-authored-by: puntope <puntope@users.noreply.github.com>
2023-01-03 18:53:06 +07:00
Nima
264c92a52f
Change API access denied authorization code
2023-01-03 11:27:31 +00:00
Roy Ho
25f051cad2
Add PR write permissions ( #36263 )
2023-01-02 20:56:06 -08:00
Sam Seay
4c876e51c6
Add combobox and extra status information to the live branches menu in WooCommerce Beta Tester ( #36140 )
2023-01-03 12:03:41 +13:00
Paul Sealock
f557c44a0d
Create Woo Extension: Update Readme ( #36156 )
2023-01-03 07:03:44 +13:00
Roy Ho
16386238cc
Add minimum required permissions for workflow token ( #36200 )
...
* Add minimum required permissions to e2e-tests
* Add minimum token permission to more workflows
2023-01-02 09:28:11 -08:00
Vedanshu Jain
e4d2b00681
Applied coding standards.
2023-01-02 17:16:56 +05:30
Vedanshu Jain
b9fd1b8129
Add test for upshifting child orders.
2023-01-02 17:03:06 +05:30
mujuonly
d4ce6faf1e
Typo correction in woocommerce/src/Admin/ReportsSync.php ( #36122 )
...
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-01-02 12:11:37 +01:00
Barry Hughes
c2b2eb5bed
Adds `add_meta_boxes_<SCREEN_ID>` hook to the HPOS order editor. ( #35999 )
...
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-01-02 12:10:14 +01:00
Vedanshu Jain
be97c1353b
Add test for sorting by include param.
2023-01-02 16:20:25 +05:30
Thilina Pituwala
a633ff8abf
Fix signature mismatch in WC CLI command api calls ( #36240 )
2023-01-02 11:34:20 +01:00
Roy Ho
0d641253ac
Revert "Automatically show attributes in Variations" ( #36223 )
...
Revert "Automatically show attributes in Variations (#35807 )"
This reverts commit e4f6c468cb
.
2023-01-02 10:07:30 +13:00
Joshua T Flowers
3fe3710c51
Automatically generate product variations on option changes ( #36188 )
...
* Auto generate variations on option changes
* Add changelog entry
* Move product variation generation to hook
* Create product auto draft if not yet created
* Allow auto-draft and trash statuses for products
* Update form context with product ID to allow fetching variations
* Fix product ID usage in variations
* Reset form after initial product creation
* Use form value name for display instead of persisted name for auto drafts
* Add additional test around auto draft title
2022-12-30 13:12:09 -08:00
Joshua T Flowers
c9748dda09
Add ability to filter variations by local attributes in REST API ( #36201 )
...
* Allow filtering of variations by local attributes in REST API
* Add changelog entry
* Fix up lint errors
2022-12-29 12:23:35 -08:00
github-actions[bot]
b4502cf5d0
Delete changelog files based on PR 36159 ( #36231 )
...
Delete changelog files for 36159
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-29 07:13:09 -08:00
github-actions[bot]
e68e2f0545
Delete changelog files based on PR 36158 ( #36180 )
...
Delete changelog files for 36158
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2022-12-29 07:12:49 -08:00
Jorge A. Torres
a5a2743e79
Add changelog
2022-12-28 18:35:32 -05:00
Jorge A. Torres
b09eda12c1
Allow product filters to work when ‘shop’ is the front page
2022-12-28 18:22:08 -05:00
Nima
4d6ef8ece3
Unregister all channels on test tear down
2022-12-28 21:05:27 +00:00