github-actions[bot]
a740126564
Delete changelog files based on PR 37641 ( #37653 )
...
Delete changelog files for 37641
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-12 08:59:53 +02:00
Corey McKrill
3c64b953a0
Update doc block
2023-04-11 16:02:01 -07:00
Corey McKrill
b389a4e8ae
Add changelog file
2023-04-11 15:58:27 -07:00
Corey McKrill
d8ec0490cb
Add unit test
2023-04-11 15:55:27 -07:00
Corey McKrill
d4d375e874
WC_Data: Add method `delete_matched_meta_data`
...
Brings the CRUD layer's meta data handling closer to parity with
WP by allowing for selectively deleting meta entries with a specific
key only if they contain a specific value.
Fixes #37650
2023-04-11 15:51:38 -07:00
Corey McKrill
7fe96ac988
Don't hardcode table prefixes
2023-04-11 14:36:32 -07:00
Ron Rennick
450d9e9c8c
FlexSlider uses Web Animations API for "slide" instead of $.animate() ( #36987 )
2023-04-11 16:50:59 -03:00
Moon
30536f636e
Check min. WP and PHP versions before suggesting plugins ( #37611 )
...
* Add min_php_version for google and pinterest extensions
* Hide extensions that do not meet the min php version requirement.
* Add min_wp_version
* Add changelog
* Revert code style
2023-04-11 12:22:15 -07:00
Ron Rennick
9ee2307b65
Merge branch 'trunk' into flexcss
2023-04-11 16:00:53 -03:00
Maikel David Pérez Gómez
f5591b7c9a
Add track inventory field to inventory section ( #37585 )
2023-04-11 11:52:20 -07:00
Maikel David Pérez Gómez
8354ae2792
Create schedule sale pricing block ( #37567 )
...
* Create schedule sale pricing block
* Add auto show/hide and clean fields depending on the initial values
* Add validations to From and To dates fields
* Add changelog files
* Align block with the figma design
* Revert linter replacement in the editor global style.scss file
* Fix some words typos
* Move and rename schedule sale block to the blocks folder
* Load datetime format from @wordpress/date instead of using the woo options datastore
* Remove the min difference using by moment to compare dates from 'minute' to undefined
* Make sure the dates are normalized for comparison
2023-04-11 10:53:37 -04:00
Nathan Silveira
fa4dd90401
Change link all variations label ( #37632 )
2023-04-11 11:44:27 -03:00
Darren Ethier
50593c5257
Fix issue that breaks the WooCommerce Home Page when Gutenberg 15.5 is active ( #37641 )
...
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-04-11 15:27:38 +08:00
Chi-Hsuan Huang
4cc6644c8b
Add default priority for countries that don't exist in payment recommendation map ( #37590 )
...
* Add default priority for countries that are not in the payment recommendation map
* Add changelog
* Add doc
* Fix linting
2023-04-11 14:13:59 +08:00
Nathan Silveira
5d68259480
Add different confirmation message when attribute is used in a variation ( #37527 )
...
* Add different confirmation message when attribute is used in a variation
* Update logic to only consider checkbox checked value when prompting message
2023-04-10 17:44:51 -03:00
Jorge A. Torres
18d00cadd0
Consider ‘auto-draft’ the same as ‘pending’ for orders
...
This for backwards compat with CPT
2023-04-10 15:11:03 -05:00
Jorge A. Torres
4e16e6117b
Add changelog
2023-04-10 14:20:20 -05:00
Jorge A. Torres
4873f7c2c5
Test auto-draft deletion
2023-04-10 14:20:20 -05:00
Jorge A. Torres
dec3dda375
Periodically delete auto-draft orders older than a week
2023-04-10 14:20:20 -05:00
Jorge A. Torres
9d60bf90ed
Create orders as ‘auto-draft’ instead of ‘pending’ in the admin
2023-04-10 14:13:00 -05:00
Jorge A. Torres
2c626fe854
Add auto-draft to orders list table
2023-04-10 14:11:08 -05:00
Ron Rennick
054471618e
Dev - Add customer object parameter to taxable address filter ( #37426 )
2023-04-10 13:36:06 -03:00
Matt Sherman
a054ddbf50
Beta Tester: Update WCA Test Helper option modal to show full option name ( #37495 )
...
* Adjust options modal so that option name is not cut off
* Changelog
2023-04-10 08:36:13 -04:00
Matt Sherman
5dda0aac48
Beta Tester: Update WCA Test Helper Features list ( #37483 )
...
* Alphabetize features list
* Use toggles instead of button for features
* Changelog
2023-04-10 08:34:38 -04:00
“Chris
0863a76ce1
Add changelog
2023-04-10 14:27:20 +03:00
“Chris
0bc31867a4
Print block-based css classes only on fse themes
2023-04-10 14:25:19 +03:00
Corey McKrill
62ceb8e08b
Add changelog file
2023-04-07 17:30:31 -07:00
Corey McKrill
208fa5ea00
Add unit tests
2023-04-07 17:21:12 -07:00
Corey McKrill
ad565bd853
Add table name methods to OrderUtil
...
Adds methods to determine the names of the database tables currently
being used for orders and order meta, without needing to make a separate
check first to see if HPOS is enabled and in use.
2023-04-07 15:40:44 -07:00
Corey McKrill
152f0d3793
Make HPOS migration more strict by removing IGNORE. ( #37595 )
2023-04-07 12:30:48 -07:00
Vedanshu Jain
40d823df5c
Coding standard fix.
2023-04-07 18:31:21 +05:30
Vedanshu Jain
835d089fb7
Add changelog.
2023-04-07 18:11:32 +05:30
Vedanshu Jain
e85e68e0c5
Merge branch 'trunk' into pr/36885
2023-04-07 18:07:24 +05:30
Vedanshu Jain
e0327e3223
Fixup in unit test.
2023-04-07 18:06:55 +05:30
Anastasio
0d93e92bd1
Merge remote-tracking branch 'upstream/trunk' into woocommerce-webp-support
2023-04-06 21:39:42 +03:00
Ron Rennick
b0f042e252
Merge branch 'trunk' into woocommerce-webp-support
2023-04-06 14:54:41 -03:00
Ron Rennick
8be211b45b
Change default order to ‘date DESC’ in orders list table ( #37565 )
2023-04-06 14:27:09 -03:00
Joshua T Flowers
868fbbf23a
Register product editor blocks server-side ( #37339 )
...
* Move product block editor to new feature name
* Register all blocks and block assets server-side
* Add changelog entry
* Disable phpcs rule for file_get_contents
2023-04-06 10:13:48 -07:00
Vedanshu Jain
322639bb7e
Extra protection for empty order key orders.
...
Some order can have order key set to empty string. This commit disallows fetching those orders via key at DB level (its already disallowed from interface).
2023-04-06 21:06:38 +05:30
Vedanshu Jain
232a98317a
Add changelog.
2023-04-06 20:48:45 +05:30
Vedanshu Jain
7f00d211d1
Make migration more strict by removing IGNORE.
2023-04-06 20:48:11 +05:30
Vedanshu Jain
ebb43378a1
Remove unique constraint from order_key to prevent empty key conflict.
2023-04-06 20:46:59 +05:30
Vedanshu Jain
dbb4bd5e27
Dont store order failures when verbose is enabled to save memory.
2023-04-06 15:23:19 +05:30
Vedanshu Jain
6eca1ed561
Prevent errors from being logged twice when verbose is passed.
2023-04-06 15:14:06 +05:30
github-actions[bot]
33352895bc
Delete changelog files based on PR 37569 ( #37581 )
...
Delete changelog files for 37569
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-06 01:56:28 +02:00
Joel Thiessen
07b84051b2
Adding charge sales tax field to product block editor template ( #37582 )
2023-04-05 16:23:58 -07:00
Nathan Silveira
277f4aab12
Show tooltip in Save attributes button instead of using title attribute ( #37345 )
...
* Modify tipTip to allow showing dynamic content
* Show tooltip when button is disabled
* Add tipTip and disabled logic to create variations button
* Add header comment in tipTip plugin
2023-04-05 16:22:59 -03:00
Joshua T Flowers
7734027b4a
Add product radio block and tax class to product blocks editor ( #37529 )
...
* Add product radio block
* Wrap tax class radio in collapsible block
* Add link to description and sanitize HTML
* Add changelog entry
* Fix up php lint errors
* Add changelog entry
* Fix linting errors
* Remove unused import
2023-04-05 10:13:05 -07:00
Fernando Marichal
a5fe4232c7
Change variations dropdown visibility ( #37558 )
...
* Add default action with the name `Bulk actions`
* Attach event when dropdown changes
* Add changelog
* Remove `Go` button
* Fix e2e tests
* Fix styles
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-04-05 13:56:42 -03:00
Vedanshu Jain
9e9060e95b
Do not attempt to cache orders during order creation ( #37569 )
2023-04-05 20:49:57 +05:30
Vedanshu Jain
85c7bb6426
Apply coding standards.
2023-04-05 20:44:27 +05:30
Vedanshu Jain
b796522385
Applied coding standards.
2023-04-05 19:38:01 +05:30
Vedanshu Jain
b5e74ae90c
Add support for verbose command to display errors as they happen.
2023-04-05 19:28:15 +05:30
Vedanshu Jain
800ee5d6dd
Minor fixup for getting order ids in verify db command.
2023-04-05 19:01:20 +05:30
Vedanshu Jain
54eb2a0c43
Add sort order for migration script. ( #37545 )
2023-04-05 11:43:13 +02:00
Ron Rennick
d272495d08
update select all to checkbox in menu editor ( #37562 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-04-05 11:06:10 +02:00
Vedanshu Jain
817458a433
Remove caching on order save, instead do it when order is fetched.
...
This allows all the hooks when getting an order to be executed and we cache the correct object.
2023-04-05 13:29:29 +05:30
John Greys
c4cab15bd8
Add @since tag to woocommerce_customer_taxable_address filter
2023-04-05 00:50:07 +00:00
Jorge A. Torres
4250e9d7b5
Add changelog
2023-04-04 17:08:35 -05:00
Jorge A. Torres
1868311c6f
Change default order to ‘date DESC’ in orders list table
2023-04-04 17:08:35 -05:00
Jorge A. Torres
1d6c98985e
Add changelog
2023-04-04 16:56:32 -05:00
Jorge A. Torres
77e3cc5c77
Do not attempt to cache order during order creation (HPOS)
2023-04-04 16:56:29 -05:00
Ron Rennick
124bf3e529
Add changelog file
2023-04-04 13:18:36 -03:00
Maikel David Pérez Gómez
f7572b4361
Move the Save draft and Preview buttons to the product editor header ( #37461 )
...
* Add preview button to the product editor header
* Publish the product on add or on save
* Add save draft button
* Save product changes before previewing it
* Add notice messages
* Fix linter errors
* Force the store page to be openned in a new tab after publishing the product
* Enable publish button when the status is not publish
* Add changelog files
* Fix some comment typos
* Address comment suggestions
* Move preview logic to its own component
* Move save draft logic to its own component
* Move publish logic to its own component
2023-04-04 11:30:39 -04:00
Barry Hughes
32c766c5f8
Prevent duplicate alias in orders query SQL ( #37560 )
2023-04-03 14:13:19 -07:00
Jorge A. Torres
2cd5cdcc8c
Add changelog
2023-04-03 13:56:27 -05:00
Jorge A. Torres
35bbb0c920
Re-use aliases from OrdersTableQuery for field queries
2023-04-03 13:55:38 -05:00
Jorge A. Torres
b156651243
Use backticks for JOIN on OrdersTableQuery
2023-04-03 13:55:30 -05:00
Barry Hughes
bcfbfbd6d2
Thank you page (/checkout/order-received): payment gateway title formatting ( #37481 )
2023-04-03 09:47:14 -07:00
Barry Hughes
174d9075d9
Revert "Replace $.ajax() calls with browser-native window.fetch() calls." ( #37463 )
2023-04-03 09:46:49 -07:00
Ron Rennick
cb7f34de44
Restore reviews (comments) to the product editor ( #37457 )
2023-04-03 13:02:01 -03:00
barryhughes
3a1fc77442
Simply; just use `wp_kses_post()`.
2023-04-03 07:50:59 -07:00
Sam Seay
418ae6a86c
Add a changelog entry.
2023-04-03 14:17:32 +08:00
Fernando Marichal
d625f72e2b
New empty state for variations ( #37411 )
...
* Add variations empty state
# Conflicts:
# plugins/woocommerce/client/legacy/css/admin.scss
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Fix styles
* Add changelog
* Fix html
* Fix js
* Show and hide select and button
* Fix e2e tests
# Conflicts:
# plugins/woocommerce/tests/e2e-pw/tests/merchant/create-variable-product.spec.js
* Fix lint
* Fix hidden style
* Fix js for hidden elements
* Fix lint
* Transform `load_variations` into a promise
* Fix e2e test
* Fix tests
* Remove comment
* Fix styles
* Fix comment
* Remove async
* Remove async
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-31 16:40:16 -03:00
Maikel David Pérez Gómez
6df1cef307
Add Sale price and list price blocks to pricing tab with pricing section ( #37513 )
...
* Add pricing section to the pricing tab
* Add changelog file
* Fix php linter errors
2023-03-31 14:47:31 -03:00
Joshua T Flowers
85080f642b
Add block related assets entry points to product editor build ( #37318 )
...
* Add editorStyle properties to blocks
* Rename style.scss files to editor.scss
* Get block entry points for block related assets
* Copy block assets to core assets build folder
* Remove unusable dependency
* Add changelog entries
* Fix up RTL style builds for block assets
* Update copy-webpack-plugin dependency and lock file
* Fix up lock file after rebase
* Fix order of webpack rtl stylesheet builds to prevent additional stylsheets
* Fix up lock file after rebase
* Fix tsconfig
2023-03-31 10:36:40 -07:00
Chi-Hsuan Huang
e553759ab6
Fix `FormContext` type error in client/tasks/fills/steps/location.tsx ( #37532 )
...
* Fix FormContext type error
* Add changelog
2023-03-31 18:43:16 +08:00
Nathan Silveira
deb1cde448
Add listener to parent to avoid event being overwritten when DOM is replaced ( #37431 )
2023-03-30 16:41:20 -03:00
Moon
658034f64e
Migrate steps/location to TS ( #37257 )
...
* Migrate steps location to TS
* Add description for ts-expect-error
2023-03-30 12:07:58 -07:00
Joshua T Flowers
681391a50a
Add product images block to product editor ( #37455 )
...
* Add images block to the product editor
* Allow html in section block descriptions
* Add changelog entry
* Add client changelog entry
* Remove SVG related changes
* Fix up lock file after rebase
* Remove unused import
* Fix up php lint errors
* Move sanitize function to utils folder
2023-03-30 11:22:07 -07:00
Ilyas Foo
d3229b97cb
Update mobile app modal image resolution ( #37506 )
...
* Update image
* Changelog
2023-03-30 23:36:12 +08:00
Nima Karimi
afc2344f47
Remove the MCM feature flag on update to WooCommerce 7.7 ( #37454 )
...
* Remove the MCM feature flag on update to WooCommerce 7.7
This feature flag is no longer needed because the new marketing page will be the default on version 7.7 (pe2C5g-Ft-p2#comment-582).
* Remove the marketing overview welcome option
2023-03-30 16:13:57 +03:00
Chi-Hsuan Huang
be9f09f217
Fix missing result prop in `wcadmin_install_plugin_error` track ( #37466 )
...
* Fix missing result prop in install_plugin_error track
* Add changelog
2023-03-30 09:51:44 +08:00
Chi-Hsuan Huang
51af048c28
Update payment gateway recommendation priority ( #37442 )
...
* Update payment gateway recommendation priority
* Reformat
* Fix lint
* Add changelog
2023-03-30 09:15:17 +08:00
Chi-Hsuan Huang
6f5b7fd359
Fix rest api filter to allow any strings in replacement ( #37468 )
...
* Fix beta tester api filter replacement value
* Add changelog
* Fix lint
* Add doc comments
2023-03-30 09:13:09 +08:00
Barry Hughes
6c1ebf3c7a
Improve search query performance by avoiding LEFT JOIN on orders_meta table. ( #36688 )
2023-03-29 11:29:04 -07:00
github-actions[bot]
5b234b92e1
Delete changelog files based on PR 37492 ( #37494 )
...
Delete changelog files for 37492
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:12:06 +02:00
github-actions[bot]
9892f7af28
Delete changelog files based on PR 37477 ( #37489 )
...
Delete changelog files for 37477
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-29 16:11:24 +02:00
Gan Eng Chin
5094cc6742
Code refactor: Simplify boolean expression before `&&` in Marketing page ( #37452 )
2023-03-29 21:15:01 +08:00
Gan Eng Chin
a57ec7818e
Code refactor: Move marketing components into coupons directory ( #37444 )
2023-03-29 21:13:04 +08:00
Gan Eng Chin
b2629c03db
Make Multichannel Marketing the default new UI for Marketing page ( #37430 )
2023-03-29 21:09:23 +08:00
Albert Juhé Lluveras
2c0004a78d
Update WooCommerce Blocks package to 9.8.4 ( #37492 )
2023-03-29 14:59:28 +02:00
Gan Eng Chin
f814f09cab
Edit changelog.
...
To mention removing classic Marketing page and unused code.
2023-03-29 19:09:54 +08:00
Gan Eng Chin
b51d32e6b7
Remove unused woocommerce_marketing_overview_welcome_hidden option.
...
See https://github.com/woocommerce/woocommerce/pull/37430#discussion_r1150002880 .
2023-03-29 19:00:20 +08:00
Vedanshu Jain
6d4c579477
Merge branch 'trunk' into perf/count_orders
2023-03-29 16:00:53 +05:30
Vedanshu Jain
934084fb95
Add partial verification support for HPOS CLI ( #37446 )
2023-03-29 16:00:39 +05:30
Albert Juhé Lluveras
b5aaa1f996
Update WooCommerce Blocks package to 9.8.3 ( #37477 )
2023-03-29 11:57:58 +02:00
Vedanshu Jain
792bf6fc85
Merge branch 'trunk' into hpos/end-at-support
2023-03-29 13:24:02 +05:30
smallfishes
1f714e8ade
fixed bug where adjust_download_permissions was being scheduled on va… ( #34828 )
...
* fixed bug where adjust_download_permissions was being scheduled on variable products without downloadable variations
* check if is null per code review comment and issue 35918 on GitHub
* clean up changelog file
* Trigger checks
* Fix DownloadPermissionsAdjuster tests
---------
Co-authored-by: smallfishes <mike@smallfishanalytics.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-28 17:24:02 -05:00
barryhughes
59c977e5e9
Bump template version.
2023-03-28 13:19:57 -07:00
barryhughes
021ea1b9fd
Changelog.
2023-03-28 12:53:29 -07:00
barryhughes
17c4952e72
Use consistent strategy for sanitizing the payment gateway title.
...
Elsewhere, in relation to payment gateway titles, we use the HtmlSanitizer utility to remove dangerous HTML but allow a safe subset. We should also apply that here, for consistency.
2023-03-28 12:50:58 -07:00
Matt Sherman
30ea6cfc71
Show spotlight when switching to variable product type ( #37413 )
...
* Show variable product tour
* Only show tour when product type is changed to variable
* Only show tour if it hasn't been shown before
* Add variable_product_tour_shown to UserPreferences type
* Store whether tour has been shown in user preferences
* Record Tracks events
* Add docblock for woocommerce_admin_get_user_data_fields filter
* Add test for tour
2023-03-28 13:49:40 -04:00
Matt Sherman
eab7750208
Move product-editor CES-related components and utilities ( #37131 )
...
* Update package.json and lock file
* Move ProductMVPFeedbackModal to @woocommerce/product-editor
* Move ProductMVPFeedbackModalContainer to @woocommerce/product-editor
* Move ProductMVPCESFooter and useProductMVPCESFooter to @woocommerce/product-editor
* FIx mock of __experimentalUseProductMVPCESFooter in test
2023-03-28 13:38:08 -04:00
Justin Palmer
a1ed69bc0c
Remove new multichannel marketing option info from WC Tracker ( #37438 )
2023-03-28 17:54:36 +02:00
Matt Sherman
3e7d2fbe15
New empty state for variations when no attributes ( #37352 )
...
* HTML for new empty state
* Go to attributes tab when clicking on link in message
* Handle case where local attributes exist but are not used for variations
* Make sure the click handler is re-hooked up when attributes are added
2023-03-28 10:57:02 -04:00
Matt Sherman
a92c16d93d
Update style of product attributes tab empty state ( #37429 )
...
* Update style of product attributes tab empty state
* Update icon
2023-03-28 09:50:15 -04:00
Vedanshu Jain
3c351c6056
Applied standards.
2023-03-28 19:11:20 +05:30
Vedanshu Jain
7acc2fe096
Merge branch 'trunk' into perf/count_orders
2023-03-28 18:52:38 +05:30
Matt Sherman
19b6d3fb19
Change label for button to add new global attribute value from product screen ( #37414 )
...
Change label for button to add new global attribute value from product screen.
2023-03-28 09:19:48 -04:00
Vedanshu Jain
00ba26b508
Merge branch 'trunk' into hpos/end-at-support
2023-03-28 18:41:27 +05:30
Vedanshu Jain
99e4ed4963
Make params inclusive.
2023-03-28 18:38:59 +05:30
nigeljamesstevenson
c1ecb28ec7
update expectedIndustries variable name to be more descriptive ( #37448 )
...
update variable name to be more descriptive
2023-03-28 11:56:53 +02:00
Vedanshu Jain
15060e3161
Fix/37276 remove information schema queries ( #37299 )
2023-03-28 14:47:48 +05:30
Chi-Hsuan Huang
cdeb32baa1
Add `country` query param to payment suggestion data sources ( #37443 )
...
* Add country query param to payment gateway data sources
* Add changelog
* Fix lint
2023-03-28 14:18:25 +08:00
Chi-Hsuan Huang
e18a531e85
Add Payoneer, zipco payment gateways and update Klarna available countries ( #37329 )
...
* Update default payment gateways
* Add changelog
* Update payoneer image
2023-03-28 11:43:33 +08:00
barryhughes
7c0dfa3093
One more PHPCS override. We need to restore the current screen obj.
2023-03-27 15:52:10 -07:00
barryhughes
44330f5ab8
Tidy tests per coding standards.
2023-03-27 15:52:10 -07:00
barryhughes
c567a679b5
Do not assume is set in the array.
2023-03-27 15:52:10 -07:00
barryhughes
03ebff86b8
Quick edit and reply customizations targeting the Product Review page should not impact the product editor.
2023-03-27 15:52:10 -07:00
barryhughes
d4738cd5f0
Changelog.
2023-03-27 15:52:10 -07:00
barryhughes
6e8f080438
Restore reviews (comments) to the product editor.
2023-03-27 15:52:10 -07:00
Sam Seay
7918d0a3c2
Revert "Replace $.ajax() calls with browser-native window.fetch() calls. ( #36275 )"
...
This reverts commit 6c053d3eec
.
2023-03-28 10:58:17 +13:00
Barry Hughes
c4fc54680b
Updated accessibility for product categories shortcode. ( #37445 )
2023-03-27 14:02:57 -07:00
Peter Fabian
4b64923747
Synchronized SSR from template to REST API ( #37425 )
...
* Synchronized SSR from template to REST API.
* Changelog.
* PHPCS
* More PHPCS.
* PHPCS fix
* Fixed unit tests.
2023-03-27 15:19:24 -05:00
github-actions[bot]
bfe49d9d83
Delete changelog files based on PR 37397 ( #37423 )
...
Delete changelog files for 37397
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:39:19 +02:00
github-actions[bot]
1bcc039bf5
Delete changelog files based on PR 37313 ( #37358 )
...
Delete changelog files for 37313
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-27 21:12:10 +02:00
Leif Singer
82a172cd06
Delete changelog files based on PR 37323 ( #37456 )
2023-03-27 20:57:05 +02:00
Leif Singer
7a68b6f16f
Delete changelog files based on PR #37434 ( #37449 )
2023-03-27 18:13:26 +02:00
Maikel David Pérez Gómez
a5b104eaed
Add icon support to product section block ( #37340 )
...
* Add block icon component
* Use the block icon component within the section block
* Add changelog file
* Fix rebase conflicts
* Remove icon configuration from the client side
* Change the BlockIcon component to get the icon from the attributes first and then from the metadata
* Expose the BlockIcon to be used outside of the package
* Add the BlockIcon documentation
* Configure the block to support the new icon via attributes
* Set the icon to the block section in the server template definition
* Revert back index.tsx -> index.ts in the section block
* Fix php linter errors
* Add changelog file
* Fix php linter error
* Return null instead of a Fragment
2023-03-27 12:52:03 -03:00
Gan Eng Chin
69a00e8eaa
Add changelog.
2023-03-27 23:29:59 +08:00
Vedanshu Jain
4245ec17b9
Yoda conditions, I have used.
2023-03-27 20:44:38 +05:30
Gan Eng Chin
de2aa280ef
Simplify boolean expression before && in Marketing page.
2023-03-27 21:55:42 +08:00
Peter Fabian
e8409660da
Changelog.
2023-03-27 15:40:31 +02:00
Peter Fabian
cf9fbb2248
Updated accessibility for product categories shortcode.
2023-03-27 15:39:49 +02:00
Gan Eng Chin
07181dd142
Add changelog.
2023-03-27 20:27:32 +08:00
Gan Eng Chin
64bd683e0b
Simplify import.
2023-03-27 20:17:05 +08:00
Vedanshu Jain
bb0ca91846
Add changelog.
2023-03-27 17:45:44 +05:30
Vedanshu Jain
dd2fe3869b
Add support for end_at ID to allow partial verification.
2023-03-27 17:44:52 +05:30
Gan Eng Chin
ab2d56d8b3
Move card and slider into coupons directory.
2023-03-27 19:56:40 +08:00
Gan Eng Chin
48c50afcbf
Move RecommendedExtensions and KnowledgeBase into coupons directory.
2023-03-27 19:56:40 +08:00
Matt Sherman
a77e4abffe
Emit error on webpack build when invalid export name used in import for JS ( #37195 )
2023-03-26 21:42:33 -04:00
Justin Palmer
51e04b9eba
Remove multichannel marketing info from WC Tracker
2023-03-25 16:57:20 +01:00
Leif Singer
62b275c41a
Update tested and required WordPress versions according to L-2 policy ( #37434 )
2023-03-25 09:25:13 +01:00
github-actions[bot]
a7516cb2b0
Delete changelog files based on PR 36593 ( #37420 )
...
Delete changelog files for 36593
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:18:43 +01:00
github-actions[bot]
0e1f974f49
Delete changelog files based on PR 37373 ( #37380 )
...
Delete changelog files for 37373
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:17:54 +01:00
github-actions[bot]
df52c85e92
Delete changelog files based on PR 37354 ( #37356 )
...
Delete changelog files for 37354
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-24 19:16:51 +01:00
Gan Eng Chin
046b0195ab
Update e2e test for marketing page.
2023-03-25 01:32:14 +08:00
Gan Eng Chin
6a6dd1a710
Fix failed api-core-tests.
2023-03-25 01:22:14 +08:00
Gan Eng Chin
49299de1fd
Add changelog.
2023-03-25 00:40:29 +08:00
Vedanshu Jain
126187b794
Fix imported ContainerInterface ( #37334 )
...
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-03-24 16:50:53 +01:00
nigeljamesstevenson
59a12a1868
E2e/fix failing daily product variations ( #37246 )
2023-03-24 15:20:37 +00:00
Peter Fabian
ee061bbd7f
Added missing docs for filter.
2023-03-24 15:26:41 +01:00
John Greys
c8d0ab3019
Add changelog file
2023-03-24 14:22:41 +00:00
John Greys
e1226eb9c3
Dev - Add customer object parameter to taxable address filter
2023-03-24 14:20:25 +00:00
Ilyas Foo
47587065c9
Fix `possibly_refresh_data_source_pollers` function ( #37397 )
...
* Add default value for get_option
* Changelog
2023-03-24 21:07:10 +08:00
Konstantinos Megas
2cd529bcda
fix typos ( #37407 )
...
* fix typos
fix typos
* Add changelog
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-03-24 21:05:34 +08:00
Peter Fabian
ea40a1409e
Changeglog.
2023-03-24 13:52:23 +01:00
Peter Fabian
fc7c015cab
Added SSR report endpoint accessible through WCCOM.
2023-03-24 13:50:50 +01:00
Néstor Soriano
2d9b4bdd46
Bump WooCommerce minimum required PHP version to 7.3 and upgrade to PHPUnit 9 ( #37366 )
2023-03-24 13:42:46 +01:00
Gan Eng Chin
ec2cc54c09
Remove feature toggle in WC Settings page.
2023-03-24 20:01:44 +08:00
Peter Fabian
7475685946
Update incorrect docs.
2023-03-24 12:45:51 +01:00
Gan Eng Chin
12ec1c88fc
Remove unused classic marketing overview component.
2023-03-24 16:56:52 +08:00
Konstantinos Megas
6525bd069d
Fix typos in code comments ( #37405 )
2023-03-24 09:22:58 +01:00
Niels Lange
3dbf859df3
Replace woocommerce-blocks textdomain in *.json files ( #37234 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-03-24 09:21:58 +01:00
Sakri Koskimies
1a058dc12f
Fix rounding difference on refunds with per-line taxes. Closes #30263 ( #34641 )
2023-03-24 09:09:13 +01:00
Nicholas Hance
6585113636
Update schema for version to match what is sent ( #35940 )
...
More specifically, the type of "version" in the "order" object in REST API is now declared as "string" instead of "int".
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-03-24 08:49:53 +01:00
Néstor Soriano
432daa511d
Delete order data from wc_order_tax_lookup and wc_order_stats on order deletion ( #36601 )
2023-03-24 08:45:54 +01:00
Chi-Hsuan Huang
9cf7ef5a3d
Migrate woocommerce-payments task fills to TS and remove connect.js fill ( #37308 )
...
* Migrate woocommerce-payments.js to TS
* Remove tasks/fills/connect.js
* Add changelog
* Remove connect js
2023-03-24 12:26:13 +08:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Jon Lane
9c8249fa46
Fix timeout
2023-03-23 11:42:46 -07:00
Christopher Allford
3d614cd862
Removed TypeScript Incremental Build Support ( #37374 )
2023-03-23 11:25:42 -07:00
Nathan Silveira
818c0c0a12
Add start command to woocommerce/client/legacy ( #37368 )
2023-03-23 11:20:20 -07:00
Jon Lane
660b277d4b
Complete refactor
2023-03-23 10:35:57 -07:00
Anastasio
e901ec1672
Removed previously added unnecessary filter
2023-03-23 19:29:56 +02:00
Lucas Bustamante
ebafecea0f
Reduce flakiness on E2E setup ( #37410 )
...
* Reduce flakiness on test setup
* Add changelog
* Go to wp-admin
2023-03-23 09:40:31 -07:00
Gan Eng Chin
51a57c2808
Remove unused Button component in marketing directory.
2023-03-23 23:28:55 +08:00
Gan Eng Chin
4f7705f691
Always use MarketingOverviewMultichannel for marketing page.
2023-03-23 23:19:34 +08:00
Jorge A. Torres
627c2bce01
Synchronize order meta data (between HPOS and CPT stores) ( #36593 )
2023-03-23 10:03:44 -05:00
Vedanshu Jain
41c2549f20
Remove manual meta handling code since custom meta is synced now.
2023-03-23 08:34:00 -05:00
nigeljamesstevenson
189460417c
Release tests with plugins installed ( #37361 )
2023-03-23 12:32:30 +00:00
nigeljamesstevenson
8806f0d6ee
changelog entry
2023-03-23 09:31:40 +00:00
nigeljamesstevenson
0e1f74ae5a
update incorrect variable name in api-core-test
2023-03-23 09:26:27 +00:00
Gan Eng Chin
5953362485
Refetch "Installed extensions" card data after installing recommended channels ( #37300 )
2023-03-23 15:06:08 +08:00
Jorge A. Torres
c76a999ae9
Propagate metadata deletion
2023-03-22 21:38:12 -05:00
barryhughes
fd3749d5c2
Add assertions covering synchronization of order meta data deletions.
2023-03-22 21:38:12 -05:00
barryhughes
e15b942054
Fix typos.
2023-03-22 21:38:12 -05:00
barryhughes
ed511dbb76
Synchronize order meta data (between HPOS and CPT stores) upon a call to $order->save_meta_data.
2023-03-22 21:38:12 -05:00
Jon Lane
50852ca9ea
Fixed variations test
2023-03-22 10:09:27 -07:00
Nestor Soriano
1468539e5c
Merge branch 'trunk' into bump-required-php-to-7.3
2023-03-22 17:03:07 +01:00
Albert Juhé Lluveras
5a21b3f218
Update WooCommerce Blocks package to 9.8.2 ( #37373 )
2023-03-22 16:56:41 +01:00
Nestor Soriano
74d0841eaf
Merge branch 'trunk' into bump-required-php-to-7.3
2023-03-22 16:43:50 +01:00
Nestor Soriano
b7cd5aa47d
phpunit.xml migrated to the new PHPUnit 9 schema
2023-03-22 16:21:06 +01:00
Nestor Soriano
15c7a18c98
Add changelog file
2023-03-22 13:32:42 +01:00
Nestor Soriano
9137eff39b
Fix tests that throw deprecation warnings in PHPUnit 9.
...
These fixes include:
- Replace assertRegExp with assertMatchesRegularExpression
- Replace assertObjectHasAttribute and assertClassHasStaticAttribute
with assertTrue(property_exists)
- Replace assertFileNotExists with assertFileDoesNotExist
- Replace expects(at()) with withConsecutive
2023-03-22 13:23:58 +01:00
Nestor Soriano
9bc58b8773
Upgrade PHPUnit to v9, and fix errors in tests.
...
These errors are due to deprecations in PHPUnit 9, mostly due to the
fact that comparions are now string on assertions:
- Use assertArraySubset instead of arrayContains for checking
subsets of associative arrays.
- Use assertEqualsWithDelta for comparing floats (thorugh a new
method in the base tests class, assertFloatEquals)
- Convert ints to strings and viceversa before comparing.
- Use assertArrayHasKey instead of assertContains for checking
key existence in associative arrays.
- Use assertStringContainsString instead of assertContains for
checking substrings.
2023-03-22 12:42:43 +01:00
Gan Eng Chin
1453351521
Simplify tests for CreateNewCampaignModal.
2023-03-22 18:38:43 +08:00
Gan Eng Chin
59c94ce24a
Fix build errors after merging from trunk.
2023-03-22 18:35:06 +08:00
Joel Thiessen
4ae467af9e
Adding more menu with items using slot fill ( #37255 )
...
* Refactored, adding slot fill, basic working via common components
* Pinning plugins dep
* More menu style tweaks
* Fixing merge issues
* Adding product header item slotfill to support more menu modal
* Fixing moved imports
* Adding changelogs
* Adding hover state for more menu toggle btn
* Fixing typo
* Refactoring to use WooHeaderItem instead of adding new slot-fill
* Removing unneeded fragment
* Adding admin layout changelog
* PR feedback
* Fix up lock file after rebase
---------
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2023-03-22 07:30:06 -03:00
Gan Eng Chin
186f1fb850
Merge branch 'trunk' into feature/37127-marketing-reload-installed-extensions
2023-03-22 18:28:39 +08:00
rodelgc
06da097968
Merge branch 'trunk' into e2e/release-plugins-0
2023-03-22 18:04:42 +08:00
nigeljamesstevenson
c37080f29f
Add workflow to run API, k6 performance, and E2E tests on trunk after PR merge ( #37033 )
2023-03-22 09:44:36 +00:00
Gan Eng Chin
c0dc416700
Exclude marketing channels in "Installed extensions" and "Discover more marketing tools" cards ( #37126 )
2023-03-22 17:41:04 +08:00
rodelgc
5f8aa3671c
Merge branch 'trunk' into e2e/release-plugins-0
2023-03-22 17:29:08 +08:00
Gan Eng Chin
76379770a1
Fix hook file name with correct casing.
2023-03-22 16:51:25 +08:00
Gan Eng Chin
1f7a8120a3
Temporary rename file to fix casing issue.
2023-03-22 16:50:27 +08:00
Gan Eng Chin
3189f2b7f5
Reorganize code.
2023-03-22 16:44:44 +08:00
Gan Eng Chin
01492520d3
Fix JSDOC comment in UseRecommendedPluginsWithoutChannels.
2023-03-22 16:38:21 +08:00
Gan Eng Chin
5e6cd11028
Simplify naming in PluginsTabPanel.
2023-03-22 16:09:40 +08:00
Gan Eng Chin
b18e1705cd
Fix and simplify mocks in DiscoverTools tests.
2023-03-22 16:07:51 +08:00
Gan Eng Chin
7395d6939c
Fix file name for useInstalledPluginsWithoutChannels.
2023-03-22 15:59:37 +08:00
Joel Thiessen
b8416d7948
Replacing multiple components on the product page with a single hook. ( #37283 )
...
* Replacing multiple componments on the product page with a single hook.
* Adding changelog
* Removed the conditional hook logic, because of React rule - Don’t call Hooks inside loops, conditions, or nested functions.
* Use promise for receiving entity, and reload template on product change
* Add changelog
---------
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-03-22 04:48:55 -03:00
Chi-Hsuan Huang
688c5e97ff
Revert "Add missing woocommerce_run_on_woocommerce_admin_updated hook for RemoteInboxNotificationsEngine scheduled action" ( #37354 )
...
* Revert "Add missing woocommerce_run_on_woocommerce_admin_updated hook for RemoteInboxNotificationsEngine scheduled action (#36768 )"
This reverts commit b114426042
.
* Add changelog
* Fix lint
2023-03-22 12:55:59 +08:00
Vedanshu Jain
eb297c00c9
Overwrite clone method to prevent duplicate data when saving a clone. ( #37313 )
...
* Add unit test to simulate duplicate meta insert.
* Overwrite clone method to prevent duplicate datq when saving a clone.
* Add changelog.
* Coding standard fixes.
* Fix phpcs
---------
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-21 18:23:57 -05:00
Jonathan Lane
0eacfc31cf
Merge branch 'trunk' into e2e/fix-failing-daily-product-variations
2023-03-21 16:11:56 -07:00
jonathansadowski
2e8b7921e3
Update stable tag to 7.5.1 ( #37344 )
...
* Update stable tag to 7.5.1
* Create change file
2023-03-21 15:52:20 -05:00
Anastasio
bd2de5ff60
Added WebP support, at allowed_image_mime_types
2023-03-21 22:44:14 +02:00
Anastasio
f2cd586b22
Updated WebP section in wc-core-functions.php
...
Removed, previously added, unnecessary filter, and already existing function in wc-rest-functions.php.
2023-03-21 22:40:03 +02:00
Fernando Marichal
8e08139881
Set quantity value when stock tracking is enabled ( #37304 )
...
* Set default quantity value
* Rename `Stock quantity` to `Quantity`
* Add changelog
* Fix original stock
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-21 16:55:56 -03:00
Matt Sherman
bfb59715bc
e2e: Remove explicit timeouts for variable products and analytics tests ( #37335 )
...
* Improve filling out attribute input fields
* Improve waiting for attributes to be saved
* Improve waiting for Analytics overview settings to be saved
2023-03-21 15:41:15 -04:00
Nestor Soriano
735e66a24b
Remove the admin notice about the upcoming PHP 7.3 requirement
2023-03-21 16:59:14 +01:00
Matt Sherman
b27f6023f8
Move remaining CES-related components to @woocommerce/customer-effort-score ( #37316 )
...
* Add @woocommerce/tracks to dev dependencies
* Move remaining CES-related components to @woocommerce/customer-effort-score
* Update imports in woocommerce/client/admin
2023-03-21 11:58:35 -04:00
Nestor Soriano
dd2f6f4c13
Bump WooCommerce minimum required PHP version to 7.3
...
This includes:
- Changing "Requires PHP" in woocommerce.php
- Changing "require-php" and "config-platform-php" in composer.json
- Changing "testVersion" in phpcs.xml
- Updating the composer.lock file with more modern versions
of some of the dependencies
2023-03-21 16:56:34 +01:00
Maikel David Pérez Gómez
62ca7a266b
Add the summary field to the product form ( #37302 )
...
* Add summary block
* Add changelog files
* Add text alignment
* Add RTL and type definitions
* Add justify text alignment
* Fix rebasing errors
2023-03-21 12:34:24 -03:00
Gan Eng Chin
e281c09bc6
Merge branch 'trunk' into feature/34907-marketing-exclude-channels
...
Conflicts:
plugins/woocommerce-admin/client/marketing/hooks/index.ts
2023-03-21 23:33:41 +08:00
Gan Eng Chin
637fca8df5
Rename file UseInstalledPlugins to UseInstalledPluginsWithoutChannels.
2023-03-21 23:23:39 +08:00
Gan Eng Chin
648eab74eb
Change namings in useInstalledExtensions to useInstalledPluginsWithoutChannels.
2023-03-21 23:22:39 +08:00
Michael Pretty
d9e049d074
adding missing docblocks for tests
2023-03-21 11:05:39 -04:00
Michael Pretty
2db2e720c9
Correcting quoting style for non-dynamic strings in tests
2023-03-21 10:55:08 -04:00
github-actions[bot]
f899b43d91
Prep trunk for 7.7 cycle ( #37324 )
...
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-21 15:48:18 +01:00
Michael Pretty
6c9cfaa793
Add unit tests for update-functions.
2023-03-21 10:46:49 -04:00
Gan Eng Chin
fab90dc712
Fix incorrect data while loading in useRecommendedPlugins.
...
See the incorrect data issue in https://github.com/woocommerce/woocommerce/pull/37126#discussion_r1141936304 .
2023-03-21 22:28:05 +08:00
github-actions[bot]
45123fcc96
Release: Remove 7.6 change files ( #37322 )
...
Delete changelog files from 7.6 release
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-21 15:17:31 +01:00
nigeljamesstevenson
e4eb7904fb
Add Liberia as store location for e2e test ( #37323 )
2023-03-21 14:14:15 +00:00
Gan Eng Chin
e4a8d17ed3
Rename file useRecommendedPlugins to useRecommendedPluginsWithoutChannels.
2023-03-21 21:13:19 +08:00
Gan Eng Chin
b129dd5173
Change namings and add docs in useRecommendedPlugins.
2023-03-21 21:12:00 +08:00
Gan Eng Chin
c6bcf9fa67
Fix incorrect data while loading in useRecommendedPlugins.
...
See the incorrect data issue in https://github.com/woocommerce/woocommerce/pull/37126#discussion_r1141936304 .
2023-03-21 19:30:24 +08:00
Gan Eng Chin
fe4e28d511
Rename UseInstalledPlugins to UseInstalledExtensions.
...
Also change related names from "plugin" to "extension".
2023-03-21 19:08:13 +08:00
Gan Eng Chin
50c391cee0
Use fallback value instead of default value in useInstalledPlugins.
2023-03-21 18:35:38 +08:00
Gan Eng Chin
79023a4a10
Fix incorrect data while loading in useInstalledPlugins.
2023-03-21 18:33:57 +08:00
Jon Lane
c4f0170c1e
Add Liberia as store location
2023-03-20 16:07:03 -07:00
Moon
b114426042
Add missing woocommerce_run_on_woocommerce_admin_updated hook for RemoteInboxNotificationsEngine scheduled action ( #36768 )
...
* Add woocommerce_run_on_woocommerce_admin_updated hook
* Add changelog
* Simplify schedule call
* Lint fix
2023-03-21 06:46:21 +08:00
Süleyman KENAR
32fd0a41ed
Add support for Loco Translate translations in WooCommerce Admin ( #36739 )
...
* Update Translations.php
* fix formatting issues
* added changelog
* Update Translations.php
Added seperate parsers for chunk files
2023-03-21 06:42:26 +08:00
nigeljamesstevenson
e74abeffe4
update api-core-tests to handle extenstions that add shipping ( #37239 )
2023-03-20 13:24:36 -07:00
nigeljamesstevenson
185cd3dcaa
Update playwright api-core-tests to associate orders with real products to prevent extension issues for those that validate product ids ( #37243 )
...
* Update playwright api-core-tests to associate orders with real products to prevent extension issues for those that validate product ids
* add newline at end of file
* add comment
2023-03-20 13:23:23 -07:00
Peter Fabian
ae92dafea3
Allow for passing context into the get_image for product variation. ( #28498 )
...
* Allow for passing context into the get_image for product variation.
Since get_image behaves differently in edit and view contexts, it is important to pass the context down. In view context, if there is no image set for variation, it returns parent's image. However, this is wrong for WP admin or mobile app running from pov of admin user.
* Added changelog.
* Address PHPCS issue
---------
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-20 14:50:55 -05:00
Fernando Marichal
a51f26d2c1
Convert "Allow backorders?" into radio buttons ( #37282 )
...
* Add check to show `Allow backorders as radio buttons
* Add changelog
* Rename hook
* Fix lint
* Fix hook default value
* Add tip to radio buttons
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-20 15:41:51 -03:00
Moon
679339ec95
Refresh data source poller transients on wc_admin_daily ( #37027 )
...
* Refresh data source poller transients on wc_admin_daily
* Add changelog
* Conditionally refresh data source pollers
* Fix style
* Check woocommerce-pyaments -- woocommerce-payments can override payments task
* Add marketing task check for RemoteFreeExtensionsDataSourcePoller
2023-03-20 11:30:48 -07:00
Jonathan Lane
ab75a00a83
Merge branch 'trunk' into e2e/fix-failing-daily-product-variations
2023-03-20 11:00:13 -06:00
jonathansadowski
1f177d23c0
Update stable tag to 7.5.0 ( #37311 )
...
* Update stable tag to 7.5.0
* Changelog
2023-03-20 11:00:58 -05:00
github-actions[bot]
591921cd30
Delete changelog files based on PR 36992 ( #36996 )
...
Delete changelog files for 36992
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-20 10:29:03 -05:00
github-actions[bot]
b65376025b
Delete changelog files based on PR 36919 ( #36942 )
...
Delete changelog files for 36919
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-20 10:27:23 -05:00
Fernando Marichal
d0450fa43c
Show `Stock status` options as radio buttons ( #37278 )
...
* Add check to show Stock status as radiobuttons
* Add changelog
* Fix lint
* Fix typo
* Fix flaky e2e tests
* Rename hook
* Fix validation to show radio
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-20 09:32:38 -03:00
Dharmesh Patel
748677c4a1
Fix incorrect VAT exempt behaviour on shop page when prices are exclusive of tax. ( #33991 )
2023-03-20 12:53:19 +01:00
Gan Eng Chin
bebad071a3
Add introduction banner card into multichannel marketing page ( #37110 )
2023-03-20 19:25:01 +08:00
Tam Mullen
da4f273963
Update labels in pr labeller to include Solaris focus ( #37275 )
...
Update labels in labeller to include Solaris focus
2023-03-20 11:21:24 +00:00
Gan Eng Chin
a2b02fc00c
Rename illustration-large.svg to illustration.svg.
2023-03-20 18:11:02 +08:00
Gan Eng Chin
0300078dfd
Remove unused illustration.svg file.
2023-03-20 18:08:30 +08:00
Gan Eng Chin
4e38969ce7
Use one illustration instead of two in IntroductionBanner.
2023-03-20 18:07:30 +08:00
Vedanshu Jain
c3bec0c827
Run all unit tests in HPOS context ( #36650 )
2023-03-20 15:19:01 +05:30
Gan Eng Chin
7dd7994e01
Make scrollIntoView center on the "Add channels" button.
2023-03-20 17:46:54 +08:00
Gan Eng Chin
29299903c3
Make shouldShowCampaigns boolean type.
2023-03-20 17:23:20 +08:00
RJ
a959b589f6
fix: added skydropx slug back to shipping partners list ( #37286 )
2023-03-20 16:48:44 +08:00
Moon
1aa899ae91
Add shipping partner suggestions api ( #37155 )
...
* Add wp-json/wc-admin/shipping-partner-suggestions API endpoint
* lint fix
* lint fix
* Update plugins/woocommerce/src/Admin/API/ShippingPartnerSuggestions.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Update plugins/woocommerce/src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Change row to column and column to row -- I put them incorrectly
* Fix force_default_suggestions description
* Chagne row to colmun and column to row
* Override is_visible value after evaluation
* Lint fix
* Lint fix
* Correct asset path
---------
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-03-19 22:37:24 -07:00
Moon
e8a00edaef
Visual tweaks for shipping task partners ( #37229 )
...
* Visual tweaks for 2 partners layout
* Add spacing between banner image and list
* Add changelog
* Add spacing between banner image and list
* Align buttons at the bottom
* Lint fix
2023-03-19 21:33:10 -07:00
Gan Eng Chin
5455abcabb
Use useImperativeHandle instead of exposing button ref in Channels.
2023-03-20 01:00:19 +08:00
Gan Eng Chin
75c11a681d
Simplify CSS to have less hardcoded width value.
2023-03-20 00:11:32 +08:00
Gan Eng Chin
38370cc544
Remove unneeded CSS.
2023-03-19 23:34:17 +08:00
Gan Eng Chin
ddd287cc4c
Show Campaigns card when banner is dismissed or campaigns total is truthy.
2023-03-19 23:30:21 +08:00
Gan Eng Chin
11683be1a8
Set default parameter values for useCampaigns.
2023-03-19 23:17:22 +08:00
Gan Eng Chin
458c16bad9
Move useCampaigns to shared hooks directory.
2023-03-19 22:54:55 +08:00
Gan Eng Chin
c6a95ae9bf
Rename callback props in IntroductionBanner to make them clearer.
2023-03-19 21:10:22 +08:00
Gan Eng Chin
6b75b5db38
Rename variables to make them clearer.
2023-03-19 20:58:54 +08:00
Gan Eng Chin
155211d77a
Remove unneeded Icon component.
2023-03-19 20:56:00 +08:00
Gan Eng Chin
65523e36dd
Fix spacing for close button in IntroductionBanner.
2023-03-19 20:54:34 +08:00
Gan Eng Chin
1b65be0a53
Fix useSelect dependency in useIntroductionBanner.
2023-03-19 20:50:37 +08:00
Gan Eng Chin
99c6ebff15
Remove the use of isOptionsUpdating in useIntroductionBanner.
...
isOptionsUpdating will return true for any option update, not just our option here. This causes issue as shown in demo video in https://github.com/woocommerce/woocommerce/pull/37110#discussion_r1130531104 .
We can just depend on getOption. When we update an option, it will be updated immediately in wp.data store before making API request to update the option in database (see c5564a15c1/packages/js/data/src/options/actions.ts (L44)
).
2023-03-19 20:38:20 +08:00
Gan Eng Chin
162d790a7a
Update option name and value to make it more indicative.
2023-03-19 20:16:04 +08:00
Gan Eng Chin
49253425b2
Specify dependency for useSelect in useIntroductionBanner.
...
Co-authored-by: Eason <eason.su.tw@gmail.com>
2023-03-19 20:12:09 +08:00
Gan Eng Chin
7cc8e065f9
Merge branch 'trunk' into feature/34904-marketing-introduction-banner
2023-03-19 20:09:23 +08:00
Gan Eng Chin
f45e43b990
Add changelog.
2023-03-19 18:06:44 +08:00
Gan Eng Chin
e20b9d1ac9
Filter out marketing channels in useRecommendedPlugins.
2023-03-19 18:06:39 +08:00
Gan Eng Chin
8c151984ad
Filter installed plugins against marketing channels in useInstalledPlugins.
2023-03-19 18:06:34 +08:00
Gan Eng Chin
555116f3df
Fix broken tests for CreateNewCampaignModal.
...
The tests had errors because useInstalledPlugins is added into the component and it is not mocked in the tests.
2023-03-19 17:59:35 +08:00
Michael Pretty
2e3057052f
fix lint issues
2023-03-17 15:27:28 -04:00
Matt Sherman
c5564a15c1
Filter Variations report variation attributes correctly ( #37223 )
...
* FIx Variations report
* Fix Orders report
* Remove ability to pass table into get_attribute_subqueries since it should always be the same table we join on
2023-03-17 14:05:51 -04:00
louwie17
345ad58919
Add product pricing block ( #37211 )
...
* Adding initial pricing block
* Have price block render in form
* Make sure price is loaded correctly and fix template rendering
* Make pricing block abstract and add list and sale price to template
* Add changelogs
* Revert changes in wc/data package
* Fix lint issues
* Fix type error
* Add styling
* Fix styling lint issues
* Revert config change missed in rebase
* Make use of base control help text for field info
* Allow additional callbacks for onFocus and onKeyUp
2023-03-17 14:03:10 -03:00
Gan Eng Chin
ffc36d808c
Add changelog.
2023-03-18 00:52:04 +08:00
Gan Eng Chin
1aaa26e07d
Reload installed extensions data after installing recommended channels.
...
This is because the channel may not have registered itself as a marketing channel and it should show up in the Installed extensions card.
2023-03-18 00:47:54 +08:00
Michael Pretty
00bf0760be
Update changelog
2023-03-17 12:29:50 -04:00
Michael Pretty
bd0da16eab
Replace information_schema queries in wc-update-functions.php with create table searches
...
Partially fixes #37276
2023-03-17 12:21:21 -04:00
Maikel David Pérez Gómez
e370f25c0c
Add a product header component to the blocks interface ( #37152 )
...
* Add button and saving logic
* Add comment suggestions
* Add changelog files
* Add comment suggestions
* Set header title to product name if the name field is dirty otherwise the default title value
* Navigate to EditProductPage after creating the product succesfully
* Add get-header-title util and expose edited product name from useSelect
2023-03-17 13:21:15 -03:00
github-actions[bot]
14675be4f0
Delete changelog files based on PR 36871 ( #37297 )
...
Delete changelog files for 36871
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-17 10:14:18 -05:00
github-actions[bot]
a4c9e471b2
Delete changelog files based on PR 37277 ( #37294 )
...
Delete changelog files for 37277
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-17 10:11:46 -05:00
Gan Eng Chin
8070f65ec7
Make sure expression before `&&` is always boolean in React rendering in marketing page ( #37227 )
2023-03-17 22:56:35 +08:00
Gan Eng Chin
aa15311e8b
Disable React Fast Refresh completely in webpack when running `start` command ( #37289 )
2023-03-17 22:22:50 +08:00
Matt Sherman
ffc5b911ee
Bypass scheduled actions for customer updates ( #37265 )
...
* Bypass scheduler for customer update
* Handle case when wc_last_active user meta doesn't exist at all
* Bypass scheduler for wc_last_active customer update
* Bypass scheduler for delete_user and remove_user_from_blog
* Bypass scheduler for woocommerce_privacy_remove_order_personal_data
* Bypass scheduler for woocommerce_new_customer
* Remove obsolete test for last_active_update sync
* Remove assertions for pending wc-admin_import_customers
2023-03-17 10:11:06 -04:00
Chi-Hsuan Huang
9ea8b630ee
Remove cart2cart option from product task ( #37285 )
...
* Remove cart2cart option from add product task
* Remove cart2cart link test
* Add changelog
* Fix unit test
* Fix lint
2023-03-17 20:15:31 +08:00
Chi-Hsuan Huang
cbafbd53c4
Update plugins/woocommerce/changelog/dev-update-webpack-config
...
Co-authored-by: Gan Eng Chin <ecgan@users.noreply.github.com>
2023-03-17 19:44:09 +08:00
Peter Fabian
a45b67d390
Prevent dbDelta from running unnecessary ALTER table during upgrade ( #37277 )
2023-03-17 12:03:17 +01:00
Chi-Hsuan Huang
f5b80b84cf
Add changelog
2023-03-17 17:53:14 +08:00
Chi-Hsuan Huang
a6e3398e06
Disable React Fast Refresh completely in webpack when running start command
2023-03-17 17:52:24 +08:00
Vedanshu Jain
329c65ed76
Better language, and allow deleting by inherited classes too.
2023-03-17 14:58:35 +05:30
Vedanshu Jain
c99f17592c
Add changelog.
2023-03-17 14:03:47 +05:30
Vedanshu Jain
22cfecd522
Also delete when order type is placehoder, since it was created by HPOS.
2023-03-17 14:02:59 +05:30
Vedanshu Jain
31134c7055
Revert "Also delete when order type is placehoder, since it was created by HPOS."
...
This reverts commit 5e636046dd
.
Reverting so that it can be properly included in a seperate PR
2023-03-17 14:01:52 +05:30
Vedanshu Jain
ade1540ece
Merge branch 'trunk' into hpos/unit-tests
2023-03-17 13:39:19 +05:30
Néstor Soriano
196c4f889c
Load same stylesheets in the Site Editor as in the frontend ( #36911 )
2023-03-17 09:07:37 +01:00
Chi-Hsuan Huang
a643fef112
Fix woocommerce-admin "packages" commands ( #37204 )
...
Fix WCA run packages command
Add changelog
2023-03-17 15:11:33 +08:00
Chi-Hsuan Huang
2699aeca6b
Update default payment gateways for payment partners ( #37233 )
...
* Update default payment gateways
* Add changelog
* Move cod
2023-03-17 14:38:35 +08:00
RJ
23b79428f7
add: payment transaction processor images to payment recommendations ( #37230 )
2023-03-17 13:49:50 +08:00
RJ
04f34e9636
fix: payments recommendations pane wrong image size ( #37259 )
2023-03-17 12:29:19 +08:00
Fernando Marichal
0f733d1db2
Record values for toggled checkboxes/features in settings ( #37242 )
...
* Record toggled values
* Improve `tab` and `section` recording.
* Add changelog
* Fix lint
* Fix lint
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-16 15:22:51 -03:00
Gan Eng Chin
f769a8c6f5
Merge branch 'trunk' into feature/34904-marketing-introduction-banner
...
Conflicts:
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-03-17 01:21:13 +08:00
Matt Sherman
9c5e9b57bf
Move CES data store to @woocommerce/customer-effort-score ( #37252 )
2023-03-16 10:22:33 -04:00
Matt Sherman
97b6ae086f
Initial e2e tests for new product editor (form-based) ( #36902 )
2023-03-16 09:51:01 -04:00
Ahmed
3985242547
Add onboarding support for new countries in WCPay ( #36906 )
...
* Add new countries to WCPay
* changelog
* add new countries code to woocommerce admin
* Add the new countries to onboarding wizard fallback config file
---------
Co-authored-by: Anurag Bhandari <anurag@automattic.com>
2023-03-16 20:48:45 +08:00
Jorge A. Torres
b19ad2f6d7
Prevent possible PHP warnings produced by 'woocommerce_ajax_order_items_removed' hook ( #37178 )
...
* Remove superfluous check.
* Prevent PHP warnings in `woocommerce_ajax_order_items_removed`
* Add changelog
2023-03-16 08:42:01 -03:00
Albert Juhé Lluveras
6f757f8991
Update WooCommerce Blocks package to 9.8.1 ( #37238 )
2023-03-16 10:52:55 +01:00
Joshua T Flowers
77937dd8cb
Move usePreventLeavingPage to navigation package ( #36752 )
...
* Move usePreventLeavingPage to navigation package
* Rename usePreventLeavingPage to useConfirmUnsavedChanges
* Move imports to external dependencies
* Fix up history push overrides
* Add changelog entries
* Fix up rebase issues
* Update i18n dependency to wp-6.0
* Fix up lock file
* Remove unused imports
* Update lock file
* Remove self import for navUtils
2023-03-16 05:33:22 -03:00
RJ
1c9b3a58fe
fix: mobile app connection owner bug ( #37170 )
2023-03-16 16:20:36 +08:00
Chi-Hsuan Huang
f50abc724f
Remove accordion from "Other payment providers" in WC Pay Task ( #37205 )
...
* Remove accordion from Other payment providers in WC Pay Task
* Add changelog
* Fix tests
* Update test
* Fix e2e test
2023-03-16 12:11:59 +08:00
Chi-Hsuan Huang
c804e76156
Set up "React Fast Refresh" in woocommerce-admin ( #37165 )
...
* Add @pmmmwh/react-refresh-webpack-plugin, react-refresh, webpack-dev-server and add start:hot command
* Set up react fast fresh
* Add changelog
* Run prestart in hot command
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
2023-03-16 11:52:03 +08:00
rodelgc
55d864aaf3
Add changelog
2023-03-16 09:17:23 +08:00
rodelgc
8f6fdf74b0
Search up to 100 release tags/versions
2023-03-16 09:15:42 +08:00
Matt Sherman
fb3a920a7e
Update Customers report with latest user data after editing user ( #37237 )
2023-03-15 19:11:26 -04:00
louwie17
93506388e3
Update product rest config and template block usage ( #37206 )
...
* Update product post rest configs
* Update block usage
* Add changelogs
* Fix lint
* Make use of setupEditorState instead of setupEditor as we do not have a content block
* Simplify product condition
* Make use of core store only
2023-03-15 13:44:05 -03:00
witlock
c8f7a564c5
Add/Remove order coupon actions logged in notes ( #30642 )
...
* log admin coupon code actions
* added documentation, fixed return value
* formatting
* included user to note logs
* Add changelog
* Address PHPCS issues
* Make WC_Abstract_Order::remove_coupon() return a bool
* Move addition of coupon-related order notes from WC_Order to AJAX callbacks
* Address PHPCS problems
* Pass coupon order notes through `esc_html()`
* Add AJAX update of notes when adding/removing coupons via admin
* Fix tests (maybe?)
---------
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-15 13:33:46 -03:00
Jon Lane
7781410372
Changelog
2023-03-15 10:23:00 -06:00
Jon Lane
171cd337b8
Fixes failing variable product test
2023-03-15 10:21:47 -06:00
Tam Mullen
562fede1e2
Update the CI workflow to include WP 6.0 and 5.9 ( #37180 )
...
Update the CI workflow to include WP 6.0 and 5.9 matching our L-2 support policy
2023-03-15 15:49:33 +00:00
Moon
16c7c58462
Update Avalara CTA copy in tax task ( #37224 )
...
* Change CTA to Download
* Add changelog
2023-03-14 22:37:07 -07:00
Gan Eng Chin
dd6856a6c0
Add changelog.
2023-03-15 08:27:52 +08:00
Gan Eng Chin
aef22190d2
Make sure expression before && is always boolean in React rendering in marketing page.
2023-03-15 08:24:00 +08:00
Gan Eng Chin
98dcb9bea4
Specify args for wp.data resolution in marketing page to support WP 5.9 ( #37198 )
2023-03-15 07:30:40 +08:00
Matt Sherman
4cabe5f6b5
Add Tracks events for product inventory tab ( #37202 )
2023-03-14 18:16:01 -04:00
mynewvk
f43e36a45b
Display price depend on price location ( #25080 )
...
* display price depend on price location
* change arg key
* test for wc_get_price_to_display
* fix spacing & function docblock
* Add changelog file
* Address PHPCS issues
* Rename `display_location` to `display_context`
* Address PHPCS issues
* Update changelog wording
---------
Co-authored-by: Kolya lukin <mykola@imagecms.net>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-03-14 18:27:39 -03:00
Ron Rennick
3809392f7c
Use dbDelta and truncate to manage attribute lookup tables ( #36872 )
2023-03-14 13:42:35 -03:00
Albert Juhé Lluveras
b88e07eda6
Update WooCommerce Blocks package to 9.8.0 ( #37210 )
2023-03-14 17:37:38 +01:00
Matt Sherman
b94d38458d
Add components to @woocommerce/customer-effort-score ( #37112 )
...
* Update src structure of @woocommerce/customer-effort-score
* Changelog
* Add dependencies to @woocommerce/customer-effort-score
* Move useCustomerEffortScoreExitPageTracker and utils to @woocommerce/customer-effort-score
* Fix up imports from @woocommerce/customer-effort-score
* Changelog
* Fix import of constant
* Mock @woocommerce/customer-effort-score in tests
* Move tests to @woocommerce/customer-effort-score
* Update lock file
* Update lock file from trunk
* Update lock file again... this time, tests pass
2023-03-14 12:16:19 -04:00
Vedanshu Jain
52890fccab
Fix typo.
2023-03-14 17:28:50 +05:30
Nicolas GEHIN
cf3c0c4c98
Test unit for PR #36885
2023-03-14 09:02:44 +01:00
Nicolas GEHIN
072e9a043c
Remove the double conditions "options" + "variables" to obtain the discount line with or without taxes
2023-03-14 09:02:27 +01:00
Joshua T Flowers
31ec8d8352
Add tab blocks to the blocks product editor ( #37174 )
...
* Add initial tab block and tabs render
* Add tabs styling
* Set initially selected tab on render
* Set initial tab based on query param
* Add template placeholder with tabs
* Add changelog entry
* Allow multiple tab and section blocks
* Add changelog entry for wc
* Fix up arrow alignment
* Fix up block configuration type
* Add missing navigation dependency to product editor
2023-03-13 15:00:50 -07:00
Fernando Marichal
b1a0d3177c
Show message in Inventory tab for variable products ( #37185 )
...
* Add message to inventory tab
* Add styles
* Add changelog
* Fix link styles
* Fix message style without buttons
* Avoid line break
* Remove space
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-13 18:26:51 -03:00
Gan Eng Chin
580e3a8c36
Add changelog.
2023-03-14 03:39:34 +08:00
Gan Eng Chin
0316fbb265
Specify empty array as hasFinishedResolution args.
...
This is to make things consistent with invalidateResolution to make things work with WP 5.9.
2023-03-14 03:35:20 +08:00
Gan Eng Chin
5a58784a62
Specify empty array as invalidateResolution and hasFinishedResolution args.
...
This is to make things work with WP 5.9.
2023-03-14 03:32:54 +08:00
Vedanshu Jain
09581201f2
Add changelog.
2023-03-13 21:57:42 +05:30
Joel Thiessen
4dff6db40f
Adding test name block with support for entity data store ( #37132 )
...
* Adding test name block with support for entity data store
* Adding changelog
* Changing block.ts to block.json and amending TS config to support
* Experiment in loading blocks from settings template
* Enable the use of templates with the block editor
* Fix dependency
* Add changelog
* Fix lint error and remove unused utils
* Fix tests by fixing mocks
---------
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-03-13 11:45:25 -03:00
Vedanshu Jain
43fedcfc5a
Add unit test to ensure caching does not affect sort order.
2023-03-13 20:08:58 +05:30
Vedanshu Jain
0746305ec1
Restore the sort order when orders are cached.
2023-03-13 19:33:59 +05:30
Vedanshu Jain
5e636046dd
Also delete when order type is placehoder, since it was created by HPOS.
2023-03-13 16:35:05 +05:30
Gan Eng Chin
0cf56774f5
Merge branch 'trunk' into feature/34909-marketing-create-campaign-modal
2023-03-13 12:51:24 +08:00
Gan Eng Chin
baf9408f69
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
...
Conflicts:
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.test.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-03-13 01:02:12 +08:00
Atanas Penchev
6db4d6b68a
Extract variable
2023-03-11 03:36:23 +02:00
louwie17
329b0cbd07
Hydrate product editor settings ( #37123 )
2023-03-10 12:21:22 -08:00
Tam Mullen
5019a344a1
Add k6 release regression test ( #37146 )
...
* Added test scenario for release regression testing
2023-03-10 17:47:33 +00:00
Gan Eng Chin
c6e6f8774d
Specify empty array dependency in useCampaignTypes.
...
This is to make it work with WP 5.9. See https://github.com/woocommerce/woocommerce/pull/37044#discussion_r1132062493 .
2023-03-11 00:42:09 +08:00
Atanas Penchev
420127107b
Merge branch 'woocommerce:trunk' into flexcss
2023-03-10 18:34:19 +02:00
Gan Eng Chin
1fea0185fe
Don't throw error in getCampaignTypes.
...
In WP 5.9, if we throw error, there would be an uncaught promise, and it causes UI to break.
2023-03-11 00:31:23 +08:00
Matt Sherman
af24637439
Create @woocommerce/admin-layout package ( #37094 )
...
* Initial admin-layout package skeleton
* Changelog files
* Use createOrderedChildren and sortFillsByOrder from @woocommerce/components for WooFooterItem
* Move WooFooterItem to @woocommerce/admin-layout
* Use WooFooterItem from @woocommerce/admin-layout
* Suppress errant TS lint errors
* Exports for @woocommerce/admin-layout
* Fill updates and eslint suppression
* Changelogs
* Remove suppression of tslint errors
* Fix react and @types/react versions
* Load @woocommerce/admin-layout script and styles
* Move WooHeaderItem, WooHeaderNavigationItem, and WooHeaderPageTitle to @woocommerce/admin-layout
* Regenerate lock file post-rebase
* Remove duplicate import post-rebase
* Add wc-admin-layout to app style dependency
* Fix jest mock of @woocommerce/admin-layout
* Fix spacing.
* Export slot names
* Fix typo in .npmrc
* Update lock file
* Try updating lock file
* Update lock file
* Update lock file
* Update to latest lock file from trunk
* Update lock file
* Sync dependencies of @woocommerce/admin-layout
* Manually sync @wordpress dependencies
2023-03-10 09:58:02 -05:00
Atanas Penchev
65e1d170ba
Handle multiple slider containers
2023-03-10 13:16:18 +02:00
Néstor Soriano
4cbb607631
Render 'safe_text' settings as 'text' inputs ( #37154 )
2023-03-10 10:52:09 +01:00
Vedanshu Jain
f497146de9
Merge branch 'trunk' into hpos/unit-tests
2023-03-10 15:21:57 +05:30
Matt Sherman
4f5a3d7e77
Show link to store settings when stock management is disabled ( #37140 )
...
* Update stock management enabled checkbox label
* Add link to store settings when stock management is disabled
* Refactor to create woocommerce_wp_note function
2023-03-09 22:45:54 -05:00
Joel Thiessen
970c1ef352
Hydrating product entity when creating or editing product with block editor ( #37064 )
2023-03-09 13:11:25 -08:00
Jorge A. Torres
9776cad2b7
Render 'safe_text' settings as 'text' inputs.
2023-03-09 17:31:39 -03:00
Maikel David Pérez Gómez
2896a8cd13
Add the new feature to enable the new product editor blocks experience ( #37137 )
...
* Add the new feature to enable the new product editor blocks experience
* Add the type definition of the feature flag
* Add the feature to the beta_featues in Features.php file
* Keep the page routes when the feature is anabled
* Add the feature php class to manage page assets
* Add changelog file
2023-03-09 15:33:39 -03:00
Gan Eng Chin
0a58ec19f8
Remove unneeded div in CreateNewCampaignModal.
2023-03-10 02:14:35 +08:00
Gan Eng Chin
e4da8cba09
Display info message when there are no campaign types.
2023-03-10 02:13:05 +08:00
Seghir Nadir
46b813723d
Turn WC_Order::get_tax_location public ( #36953 )
...
* Make WC_Order::get_tax_location public
* Reverted access modifier change for get_tax_location() and implemented public wrapper get_taxable_location()for it.
---------
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
2023-03-09 16:06:02 +00:00
Gan Eng Chin
6446053784
Load campaign types in overview and refetch after installeing a channel.
2023-03-09 23:46:54 +08:00
Nestor Soriano
a203681b96
Merge branch 'trunk' into fix/tax_lookup_and_order_stat_deletion
2023-03-09 16:15:57 +01:00
Gan Eng Chin
8b6aad4138
Refetch campaign types after installing a channel in CreateNewCampaignModal.
2023-03-09 22:51:12 +08:00
Néstor Soriano
73c1ad1541
Fix the ArrayUtil::get_value_or_default method ( #37053 )
...
* Fix the ArrayUtil::get_value_or_default method
The method was supposed to return null if the key exists in the array
and has a null value, but instead it was returning the supplied
default value, as the "??" operator.
Also the few existing usages of the method that supplied a default value
have been converted to instances of the "??" operator for compatibility.
* Add changelog file
2023-03-09 11:42:54 -03:00
Gan Eng Chin
29d67a3a21
Refactor test data in CreateNewCampaignModal tests.
2023-03-09 22:31:51 +08:00
Gan Eng Chin
9f0326b398
Remove unneeded return in CreateNewCampaignModal.
...
This helps us save indentation and make the code few lines shorter.
2023-03-09 22:26:06 +08:00
Gan Eng Chin
e15305b7c3
Remove unneeded CardDivider in CreateNewCampaignModal.
...
The code is copied from the Channels component, but in CreateNewCampaignModal, we don't need to display the divider, so we can just remove the divider code.
2023-03-09 22:23:27 +08:00
Gan Eng Chin
c6dcee426b
Make it clear that title and classname cannot be overwritten by props.
2023-03-09 22:17:03 +08:00
Matt Sherman
40f3a7160a
Rename "Manage stock?" label to "Stock management" ( #37135 )
2023-03-09 09:14:47 -05:00
Gan Eng Chin
f5bb8490ea
Rename open and setOpen to isModalOpen and setModalOpen in Campaigns.
2023-03-09 22:11:53 +08:00
Gan Eng Chin
e831e89997
Make the mocked modal clearer.
...
The previous text "Create a new campaign" can be a bit confusing with the other text "Create new campaign" in the test.
2023-03-09 22:09:24 +08:00
Gan Eng Chin
551db21e9b
Remove unneeded getByText in Campaigns test.
2023-03-09 22:05:17 +08:00
Gan Eng Chin
f19969dacb
Change NewCampaignTypes to CampaignTypes.
2023-03-09 21:52:11 +08:00
Gan Eng Chin
39ce470fe8
Specify dependency for useSelect in useNewCampaignTypes.
2023-03-09 21:43:54 +08:00
Gan Eng Chin
3ba492f32b
Move convert function out of useSelect in useNewCampaignTypes.
...
This is so that it doesn't become dependency in useSelect.
2023-03-09 21:42:59 +08:00
Fernando Marichal
3edd8f48cb
Add validation to enable Save attributes and Save variations buttons ( #37046 )
...
* Add validation for attributes and variations
* Enable save button when data is valid
# Conflicts:
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Add changelog
* Remove if
* Remove validation while saving
# Conflicts:
# plugins/woocommerce/client/legacy/js/admin/meta-boxes-product-variation.js
* Rename method `is_attribute_or_variation_empty`
* Add button title when disabled
# Conflicts:
# plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-variations.php
* Fix typo
* Fix e2e tests
* Convert functions into global fn
* Use maybe_disable_save_button
* Fix validation
* Refactor `is_attribute_or_variation_empty`
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-09 10:32:24 -03:00
Sam Seay
bec3ec18ac
Update Syncpack and use it to pin @wordpress packages to wp-6.0 ( #37034 )
2023-03-09 10:13:25 +13:00
Yousuf Hossain
92f94248cd
Added woocommerce_reduce_order_item_stock action hook to let other plugin hook functionalities without looping through the order items again and again. ( #34721 )
...
* Added woocommerce_reduce_order_item_stock action hook to let other plugins do somthing without looping again the order line items
* changed "product data" to "change details" and updated docblock as instructed
* maintained WP coding standards and change @since docblock tag
2023-03-08 18:05:40 -03:00
Ron Rennick
83fb31db8e
Orders: Update date modified on refund ( #37047 )
2023-03-08 13:10:49 -04:00
Gan Eng Chin
6d72c2bbe1
Fix failed test for Campaigns component.
2023-03-09 01:08:28 +08:00
Gan Eng Chin
66e46d8942
Run lint:css-fix.
2023-03-09 00:34:20 +08:00
Justin Palmer
a74f80d19d
Add tracking support for marketplace and multichannel marketing options. ( #37017 )
2023-03-08 15:41:46 +01:00
Vedanshu Jain
9b8a9eb0aa
Fix unit tests for order and customer functions to provide HPOS compat. ( #36905 )
2023-03-08 15:51:06 +05:30
Maikel David Pérez Gómez
3ded2b46e9
Create editor skeleton on add/edit product pages ( #37023 )
...
* Add required dependencies
* Create the block editor component
* Create the header component
* Create the sidebar component
* Create the editor component
* Remove comments
* Export the block editor from its package
* Enqueue wp-edit-site
* Create the new block mode product page
* Register the new ProductPage component in /add-product route
* Add temporal layout styles
* Fix rebasing conflicts
* Fix linter errors
* Redirect to the new product-editor page when edit
* Add changelog files
* Fixing dependencies conflicts and ignoring some non running test
* Add comment suggestions
* Fix conflicts after rebasing
* Add comment suggestions
2023-03-08 05:51:59 -04:00
rodelgc
b60cc128fd
Allow running of "Smoke test release" on draft releases ( #36997 )
...
* Conditionally use authorization token when getting WC Zip download URL.
* Exponse error message
* Handle undefined authorization token more gracefully
* Specify GH token in workflow
* Add changelog
* Use E2E_GH_TOKEN instead of default github.token
* Provide GitHub token to other jobs
* Fix getting of tag name from triggered event
* Use "inputs" context instead
* Add release version to workflow name
* Correct concurrency group
* Fix workflow name
* Add --archive option
* Fix output setting
* Fix script for verifying asset
* Remove unnecessary 'uses' line
* Remove node 12 deprecation messages
* Re-add "published" release type
2023-03-08 10:23:56 +01:00
Tomek Wytrębowicz
dbc3cde987
Remove redundant code from Report classes ( #36883 )
2023-03-08 08:46:08 +01:00
Fernando Marichal
a23b2cf415
Fix duplicated global attribute ( #37109 )
...
* Add fix
* Add changelog
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-07 18:04:17 -03:00
Atanas Penchev
52a8a34d81
Merge branch 'flexcss' of https://github.com/apenchev/woocommerce into flexcss
2023-03-07 21:48:42 +02:00
Atanas Penchev
9bc08a383e
Correct changelog
2023-03-07 21:48:23 +02:00
Atanas Penchev
a41cd74f76
Merge branch 'woocommerce:trunk' into flexcss
2023-03-07 21:39:23 +02:00
Gan Eng Chin
1a28784bbe
Add changelog.
2023-03-08 03:06:05 +08:00
Gan Eng Chin
4068808f0a
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
2023-03-08 03:03:31 +08:00
Gan Eng Chin
97ed1d2a7d
Fix array length rendering literal 0 in CreateNewCampaignModal.
2023-03-08 02:57:02 +08:00
Gan Eng Chin
42ac7e4d28
Better logic for displaying buttons in IntroductionBanner.
2023-03-08 02:54:43 +08:00
Gan Eng Chin
8fe3781266
Use ref instead of location hash to scroll to add channels section.
2023-03-08 02:06:06 +08:00
Néstor Soriano
8786c19b74
Fix: variations exported as draft were imported as draft ( #36933 )
...
* Fix: variations exported as draft were imported as draft
* Add changelog file
* Fix "ArrayUtil::get_value_or_default" for existing keys with null values
Now ArrayUtil::get_value_or_default($array, $key, $default) will return
null, instead of $default, when $array[$key] exists and is null.
* Undo the change to ArrayUtil (will get its own PR)
2023-03-07 13:57:17 -03:00
Gan Eng Chin
0cb2fb1cd0
Display CreateNewCampaignModal upon button click in IntroductionBanner.
2023-03-08 00:37:55 +08:00
Gan Eng Chin
a9b696d28c
Move CreateNewCampaignModal to shared components folder.
2023-03-08 00:34:09 +08:00
Rodrigue Tusse
6f8f35b9f1
Add changelog.
2023-03-07 15:15:35 +02:00
Rodrigue Tusse
ed6c19b827
Fix 0 rendered on short-circuit evaluation.
2023-03-07 15:06:25 +02:00
Viktor Szépe
f1a3f388bd
Fix variable name in Reports\Stock\Stats ( #37057 )
...
* Fix variable name in Reports\Stock\Stats
* Add since tag
* Add changelog
2023-03-07 09:44:51 +08:00
github-actions[bot]
e8b8c058b0
Delete changelog files based on PR 37051 ( #37093 )
...
Delete changelog files for 37051
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-03-07 12:52:05 +13:00
Niels Lange
9218bfd237
Bump WooCommerce blocks package to 9.6.5 ( #37051 )
...
---------
Co-authored-by: Saad Tarhi <saad.trh@gmail.com>
2023-03-07 12:25:22 +13:00
Corey McKrill
d2e1ff4333
Add unit test
2023-03-06 15:07:19 -08:00
Corey McKrill
0c9bd08ed6
Tweak the input value for date_modified
...
Turns out the value used here doesn't matter, because it will always
update to the current time. It just needs to have a changed prop in
order for the save to execute.
2023-03-06 15:05:41 -08:00
Joel Thiessen
2332c7c813
Migrating details fields to product-editor package ( #36945 )
2023-03-06 14:33:10 -08:00
Maikel David Pérez Gómez
79841c58a5
Fixes react version to 17.0.2 globally ( #37087 )
...
* Fix react version to 17.0.2 globally
* Add changelog file
2023-03-06 18:38:05 -03:00
Ron Rennick
a78fe23e61
Fix Typo in Variable Name on line 342 ( #36759 )
2023-03-06 14:09:58 -04:00
Ron Rennick
7d62529dd4
Allows developers to add their own filters to the active filters list ( #36705 )
2023-03-06 13:18:04 -04:00
Joel Thiessen
b825b51767
Moving useProductHelper and useVariationsOrder hooks to product editor package ( #37006 )
2023-03-06 09:11:54 -08:00
Ron Rennick
5586fb96ba
Add changelog file
2023-03-06 13:09:14 -04:00
Gan Eng Chin
7c9eedbbb4
Merge branch 'feature/34909-marketing-create-campaign-modal' into feature/34904-marketing-introduction-banner
...
Conflicts:
plugins/woocommerce-admin/client/marketing/hooks/index.ts
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/RecommendedChannels.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-03-07 00:46:38 +08:00
Vedanshu Jain
5dffc39b12
Fix API unit test for HPOS compat ( #36910 )
2023-03-06 21:29:50 +05:30
Ron Rennick
c67ccf6492
Move the changelog to the correct folder
2023-03-06 10:49:21 -04:00
Vedanshu Jain
77f7cf9879
Update PayPal tests for HPOS compat. ( #36909 )
2023-03-06 17:23:22 +05:30
Vedanshu Jain
282263bfde
Fix test in Admin reports for HPOS compat ( #36946 )
2023-03-06 17:22:24 +05:30
Vedanshu Jain
fb356b686e
Use simplified name for readibility.
2023-03-06 17:21:23 +05:30
Viktor Szépe
deb1d131ad
Fix absolute imports ( #37058 )
...
* Fix absolute imports
* Add changelog
* Fix changelog
2023-03-06 19:38:52 +08:00
Viktor Szépe
50fe847b56
Fix class namespaces in Onboarding ( #37056 )
...
* Fix class namespaces in Onboarding
* Add changelog
2023-03-06 19:33:23 +08:00
Atanas Penchev
8e64856bd4
Element.animate() instead of CSS3 transitions
2023-03-06 13:25:48 +02:00
Marco Almeida
4b9be76926
Add @since tag to hooks doc
2023-03-06 09:55:22 +00:00
Atanas Penchev
87c40e7715
Correct 'jswing' easing
2023-03-05 20:16:25 +02:00
Atanas Penchev
75a2615f5a
Add missing jQuery easing methods
2023-03-04 20:51:14 +02:00
Atanas Penchev
8caba33649
Whitespace
2023-03-04 20:22:57 +02:00
Atanas Penchev
caead0385f
Add fallback easing
2023-03-04 20:19:12 +02:00
Nathan Silveira
a39abbb15e
Fix jQuery event being erased when element was replaced after saving attributes ( #37019 )
...
Attach create_variations event to parent to avoid erasing it when DOM element is replaced
2023-03-03 14:34:07 -03:00
Gan Eng Chin
e653a4ca15
Merge branch 'trunk' into feature/34909-marketing-create-campaign-modal
2023-03-04 01:04:59 +08:00
Gan Eng Chin
3e620c41c6
Add tests for CreateNewCampaignModal.
2023-03-04 01:02:46 +08:00
Joel Thiessen
36655cb1e4
Updating rest namespace for product post type to v3 ( #37028 )
2023-03-03 08:30:56 -08:00
Barry Hughes
6f3858e82d
Fix class name in ProductDownloadsServiceProvider ( #37052 )
2023-03-03 08:11:55 -08:00
Barry Hughes
4316a6629d
Add changelog file
2023-03-03 07:25:02 -08:00
rodelgc
46300131ff
Correct `UPDATE_WC` value in the "Smoke test daily" workflow ( #37049 )
...
* Correct UPDATE_WC value
* Add changelog
2023-03-03 13:58:21 +01:00
Albert Juhé Lluveras
46aa035e14
Fix missing padding in some buttons in TT2 with WP 5.9 and 6.0 ( #37018 )
...
* Add default button padding to TT2 stylesheet to fix some visual issues in WP 5.9 and 6.0
* Add changelog notice
2023-03-03 13:45:18 +01:00
Viktor Szépe
7ec2ad68be
Fix class name in ProductDownloadsServiceProvider
2023-03-03 13:43:06 +01:00
Gan Eng Chin
00a12db5bd
Add Campaigns card in Multichannel Marketing page ( #36735 )
2023-03-03 18:43:02 +08:00
Marco Almeida
987b4feb24
Add params and docblocks to the new hooks
...
Add params and docblocks to the new proposed hooks woocommerce_widget_layered_nav_filters_start and woocommerce_widget_layered_nav_filters_end
2023-03-03 10:13:13 +00:00
Corey McKrill
ceeb5a8f4a
Add changelog file
2023-03-02 16:04:30 -08:00
Corey McKrill
1fde589c9f
Orders: Update date modified on refund
...
Ensures that when a refund is processed successfully for an order,
the date_modified field for the order is updated to match the creation
date of the refund.
Refs #28969
2023-03-02 16:00:27 -08:00
Gan Eng Chin
15c57bf712
Fix and add tests for Campaigns card.
2023-03-03 03:25:00 +08:00
Gan Eng Chin
34ebedd7f6
Add changelog.
2023-03-03 03:01:55 +08:00
Gan Eng Chin
913f7176b2
Refetch registered channels after installing channel in Campaigns card.
2023-03-03 02:34:16 +08:00
Ron Rennick
3cee72119a
Prevent possible warning in `COTMigrationUtil::get_post_or_object_meta()` ( #37026 )
2023-03-02 14:05:24 -04:00
Gan Eng Chin
ec15697d44
Load campaign types in Campaigns card.
2023-03-03 01:08:21 +08:00
Gan Eng Chin
e13112875b
Move useNewCampaignTypes to shared hooks directory.
2023-03-03 01:05:14 +08:00
Gan Eng Chin
51a5a18448
Simplify receiveCampaignTypes.
2023-03-03 00:54:21 +08:00
Gan Eng Chin
8132addd18
Simplify wp.data for receiveCampaignTypes.
2023-03-03 00:24:51 +08:00
Gan Eng Chin
2443bfd7a0
Merge branch 'feature/34905-marketing-campaigns-card' into feature/34909-marketing-create-campaign-modal
...
Conflicts:
plugins/woocommerce-admin/client/marketing/data-multichannel/action-types.ts
plugins/woocommerce-admin/client/marketing/data-multichannel/actions.ts
plugins/woocommerce-admin/client/marketing/data-multichannel/resolvers.ts
2023-03-03 00:11:35 +08:00
Saad Tarhi
dfc1535786
Add support for the Cart & Checkout in WooCommerce's declare compatibility feature ( #36426 )
2023-03-02 16:51:30 +01:00
rodelgc
a5d8898ba1
Add in files from working branch
2023-03-02 17:57:41 +08:00
Saad Tarhi
e6bee7b785
Apply disable UI filter to experimental features too
...
This change disable UI for both experimental and mature features
Previously we applied this filter to mature ones only
2023-03-02 10:39:33 +01:00
Sam Seay
1834621d1a
Update the @woocommerce/eslint-plugin and fix bugs ( #36988 )
2023-03-02 11:36:38 +13:00
Jorge A. Torres
7c7611856b
Add changelog
2023-03-01 18:44:55 -03:00
Jorge A. Torres
77c87bc516
Check that $post->ID exists before using in COTMigrationUtil::get_post_or_object_meta()
2023-03-01 18:44:26 -03:00
Moon
d339a777e1
Update/use theme color for completed task strikethrough ( #37001 )
...
* Use theme color for completed task strikethrough
* Add changelog
* Fix style
2023-03-01 11:54:21 -08:00
Gan Eng Chin
c0364ad0ab
Remove unused error property in CampaignsState.
2023-03-02 03:16:29 +08:00
Gan Eng Chin
4b87f0a4ed
Add JSDOC.
2023-03-02 03:15:38 +08:00
Gan Eng Chin
9feaf55a60
Simplify receive campaigns success and error.
2023-03-02 03:02:14 +08:00
Gan Eng Chin
5af90c5e77
Add JSDOC for getTotalFromResponse.
2023-03-02 01:16:51 +08:00
Gan Eng Chin
b83888577a
Fix getTotalFromResponse treating total 0 as undefined.
...
If total is 0, then the function should return 0, not undefined.
2023-03-02 01:13:42 +08:00
Gan Eng Chin
8e9f344478
Test code refactor with createTestCampaign.
2023-03-02 00:59:22 +08:00
Justin Palmer
f0c2df54f5
Add marketplace suggestions + multichannel marketing info to WC Tracker
2023-03-01 17:00:17 +01:00
Fernando Marichal
25497c4faa
Add existing global attribute layout ( #36944 )
...
* Changed `has_local_attributes`
* Add new layout
* Add attribute layout
* Add changelog
* Create method `toggle_add_global_attribute_layout`
* Add global attribute layout
* Fix button in mobile
* Remove commented code
* Change changelog
* Fix typo
* Fix style
* Fix buttons visibility
* Fix div visibility
* Fix buttons visibility
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-03-01 11:56:49 -03:00
Vedanshu Jain
185b8ae252
Use common method to mark HPOS tests as skipped.
2023-03-01 17:43:36 +05:30
Nathan Silveira
2e33922e35
Change Variations form shown in Variations tab when there are no variations created ( #36957 )
...
* Show add attribute in Variations tab
* Create new ajax function to create attributes and variations at the same time
* Partial commit for review
* Rename action and reload attributes and variations screen after submitting action
* block/unblock UI when loading
* Change labels
* Remove unneeded output_variations function
* Changelog
* Extract duplicated code to html-product-attribute-inner
* Handle sniff issues
* Fix PHPCS issues
* Refactor class-wc-ajax to reuse code
* Fix phpcs issues
* Fix more sniff issues
* Handle code review suggestions
* Switch back to var
* Switch to snake case
* Use var instead of const
2023-03-01 09:12:30 -03:00
Chi-Hsuan Huang
4b1bcad3ba
Fix blank screen is displayed during OBW when using WP5.9 ( #36903 )
2023-03-01 09:42:11 +08:00
jonathansadowski
bd6586a378
Update the stable tag to 7.4.1 ( #37009 )
...
* Update the stable tag to 7.4.1
* Create change file
2023-02-28 16:56:32 -06:00
Jorge A. Torres
d1f1f91409
[36257 redux] Add `menu_order` sorting option to products widget ( #37002 )
...
* Update class-wc-widget-products.php
Option for default sorting by menu order
* Fix PHPCS issues
* Add changelog
---------
Co-authored-by: 2GOOD <2GOOD@users.noreply.github.com>
2023-02-28 16:00:43 -03:00
HILAYTRIVEDI
91b9aef4db
fix/#34200-need-to-add-space-between-author-image-and-meta ( #34994 )
...
* fix/#34200-need-to-add-space-between-author-image-and-meta
* Log added
* Log added
* fix/#34200-need-to-add-space-between-author-image-and-meta
* Remove unnecessary changelog file
* Reword changelog
* Further adjust CSS to match Comments table
* Add missing <br> to match other comments tables
* Reindent some CSS lines
---------
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-02-28 15:12:58 -03:00
Maikel David Pérez Gómez
7d0669dcb1
Add selection to the tree control ( #36435 )
...
* Create tree-control component
* Remove items from treeItemProps
* Add tree-control expand/collapse on click the expander button or by a custom logic
* Add stories
* Add the type definitions
* Add use selection hook
* Upgrade WP components dependency to v19.8.5 to support indeterminate checkbox control
* Add selection logic to the tree control
* Create stories
* Add changelog file
* Fix linter error
* Add styles to fit the disign
* Highlight selected item when it's a single selection tree
* Rebasing from trunk
* Add comment suggestions
* Fix unit test errors due to a new version of @wordpress/compose related to the ResizeObserve feat
2023-02-28 15:10:12 -03:00
Joel Thiessen
6a345ac7eb
Moving currencyContext to currency package and updating references ( #36959 )
2023-02-28 08:55:49 -08:00
Saad Tarhi
6b099f917b
Bump WooCommerce blocks package to 9.6.3 ( #36992 )
2023-02-28 12:13:20 +01:00
Saad Tarhi
ac47d1892e
Add changelog
2023-02-28 07:46:25 +01:00
Saad Tarhi
42d75e5529
Run "composer update woocommerce/woocommerce-blocks"
2023-02-28 07:44:18 +01:00
Saad Tarhi
3992e25d7a
Bump Woo Blocks version to 9.6.3
2023-02-28 07:43:48 +01:00
Atanas Penchev
72695598d1
Changelog
2023-02-28 00:29:52 +02:00
Atanas Penchev
1c451aa093
FlexSlider always uses CSS3 transitions for "slide" animations
...
jQuery transitions easing method are replicated via CSS3 transition-timing-function
2023-02-28 00:08:32 +02:00
Corey McKrill
2700a44463
Fix: can't apply or remove a coupon whose code is "0". ( #36924 )
...
Fixes a bug that allowed to create a coupon with code "0" but prevented if from being actually used. With the fix a coupon with code "0" can be used as any other coupon.
Also adds two new methods to the StringUtil class: `is_null_or_empty` and `is_null_or_whitespace`.
Closes #35210 .
2023-02-27 12:17:34 -08:00
Gan Eng Chin
d111370d1e
Make UI work with wp.data new campaign types.
2023-02-28 00:51:34 +08:00
Gan Eng Chin
9526608fbc
wp.data for getting new campaign types.
2023-02-28 00:45:47 +08:00
Gan Eng Chin
418e4fba02
Fix build error after merging.
2023-02-27 23:49:50 +08:00
Gan Eng Chin
f420a0ed9e
Merge branch 'feature/34905-marketing-campaigns-card' into feature/34909-marketing-create-campaign-modal
...
Conflicts:
plugins/woocommerce-admin/client/marketing/components/RecommendedChannelsList.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.scss
plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/Channels.tsx
plugins/woocommerce-admin/client/marketing/overview-multichannel/Channels/RecommendedChannels.tsx
2023-02-27 23:46:30 +08:00
Vedanshu Jain
4c75a36003
Applied coding standards.
2023-02-27 20:06:51 +05:30
Vedanshu Jain
f12be6e673
Applied coding standards.
2023-02-27 19:35:36 +05:30
Vedanshu Jain
33d41206fc
Add changelog.
2023-02-27 19:18:23 +05:30
Vedanshu Jain
4b5d13b8ec
Merge branch 'fix/36679' into fix/36678
2023-02-27 19:17:28 +05:30
Vedanshu Jain
1e700b90af
Add changelog.
2023-02-27 19:11:37 +05:30
Vedanshu Jain
2b1b4fcfec
Merge branch 'fix/36680' into fix/36679
2023-02-27 18:57:26 +05:30
Vedanshu Jain
4f4d42b9ef
Add changelog.
2023-02-27 18:47:54 +05:30
Vedanshu Jain
a9280ff5d8
Merge branch 'fix/36681' into fix/36680
2023-02-27 18:46:59 +05:30
Vedanshu Jain
5c1d1d78d2
Add changelog.
2023-02-27 18:25:01 +05:30
Vedanshu Jain
9e23ee2675
Merge branch 'fix/36682' into fix/36681
2023-02-27 18:21:14 +05:30
Vedanshu Jain
1736911bfa
Applied coding standards.
2023-02-27 17:42:47 +05:30
Vedanshu Jain
f5ac18f11c
Add changelog.
2023-02-27 17:27:32 +05:30
Vedanshu Jain
ca14a921db
Merge branch 'fix/36684' into fix/36682
2023-02-27 17:24:53 +05:30
Vedanshu Jain
04642b8bd4
Apply coding standards
2023-02-27 17:22:44 +05:30
Vedanshu Jain
648d801da2
Added changelog.
2023-02-27 17:08:38 +05:30
Vedanshu Jain
ef74ccd496
Use posts before delete hook along with HPOS one.
2023-02-27 17:07:59 +05:30
Vedanshu Jain
8369487847
Apply coding standards.
2023-02-27 16:43:25 +05:30
Vedanshu Jain
b286c50ebd
Merge branch 'fix/36685' into fix/36684
2023-02-27 16:29:26 +05:30
Vedanshu Jain
46f6eb3d5f
Removed typo.
2023-02-27 14:56:43 +05:30
Vedanshu Jain
01114fc5d9
Toggle COT appropriately for COT tests.
2023-02-27 14:50:14 +05:30
Nestor Soriano
be43265761
Fix GET coupons request and apply_coupon
2023-02-27 10:15:56 +01:00
Ron Rennick
a45f9c4f55
Fix k6 baseline load imports ( #36940 )
...
* add wpLogin import to wc-baseline-load.js
* add changelog
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-02-27 16:42:10 +08:00
Nestor Soriano
f56010334d
Remove unnecessary 'use's
2023-02-27 09:28:15 +01:00
Vedanshu Jain
8da07f73e7
Fetch order first to refresh cache before returning prop.
2023-02-27 13:48:59 +05:30
Vedanshu Jain
cf46233b35
Merge branch 'fix/36686' into fix/36685
2023-02-27 13:20:57 +05:30
Corey McKrill
3f0405970d
Product Importer: Ensure all products in the file get processed ( #36839 )
2023-02-27 08:47:31 +01:00
Vedanshu Jain
212884e417
Merge branch 'hpos/unit-tests' into fix/36686
2023-02-27 12:50:25 +05:30
Dinesh Kesarwani
613083a950
Merge branch 'woocommerce:trunk' into trunk
2023-02-27 10:46:07 +05:30
rodelgc
ea1925c841
Enable "Smoke test release" workflow ( #36598 )
...
* First pass at updating release test workflow
* Add changelog
* Set dir env variables
* Update to workflow
* Fix indent
* Fix indent
* Clean up indent
* Re-order steps
* Change order of jobs
* Added common php versions
* Update pipeline
* Update some labels
* Simplify for testing
* Update paths
* Create tmp folder
* Fix path
* Paths
* Try outputting some debugging
* Add step ID back
* Remove working directory
* Another path tweak
* Add API release tests
* Add k6 tests
* Add PHP tests
* Launch wp-env during PHP tests
* Try default values
* Tweak some settings, add WP testing
* Tweak some settings
* Re-order e2e steps
* Update step descriptions
* Reorganize tests, add plugin tests
* Enable only e2e job
* Initial set up to run against release smoke test site
* Fix syntax
* Temporarily disable update wc spec
* Temporarily disable downloading woocommerce zip
* Download release zip using tag name
* Fix wrong job name
* Fix wrong job name
* Fix dir
* Delete fetch-asset-id.js
* REfactor update-woocommerce spec
* Add error handling
* Download release zip by tag
* Refactor update woo spec to download zip by tag
* Correct job name
* fail test on invalid tag
* Enable all e2e tests
* Run api tests before e2e tests
* Fix job dependency
* Add customer credentials to api job
* Separate job for WC Update
* Combine e2e allure-results, then report
* Enable report job
* Fix context
* Change job and artifact names
* Use test s3 path
* Minor job name change
* Upload artifacts to bucket
* Correct s3 path
* Add quiet option
* Retain video on failures
* Finalize s3 path
* Try WP latest-1
* Revert to wp latest
* Refine search for woocommerce zip asset
* Get created-at
* Specify repo in gh command
* Slugify env description
* Trim space
* Sync with bucket instead of copy
* Remove invalid --recursive flag
* Re-add missing step to combine e2e results from update wc test
* Ensure artifact upload on test failure
* Enable all e2e tests on WP latest
* Retain existing data before updating WC
* Make test compatible with 'Canceled' and 'Cancelled'
* Set env_desc as env var
* Re-add deleted file
* Fix UPDATE_WC in daily smoke test workflow
* Add tracing in global setup
* Remove tracing
* Temporarily run only basic spec
* Job for WP Latest-1 & 2
* Fix "Required input 'created_at' not provided"
* Minor rename
* Remove install filter
* Install deps in get-wp-matrix
* Delete get-wp-versions.js
* Add get-wp-versions.js to e2e-pw folder
* REname file
* REfactor
* Refactor script for getting WP prev versions
* Update job dependencies
* Temporarily remove disabled jobs
* Allow e2e-wp-latest after api test failure
* Update L-1 & L-2 job deps
* Fix report-wp-latest
* Fix failing api test
* Make get-wp-versions quicker
* Publish report immediately after test
* Test reporting in e2e-update-wc
* Fix missing parameter
* Fix env_desc, re-enable other jobs
* Enable all e2e tests
* Minor job name change
* Fix flaky test
* Add php version testing
* stringify php versions
* Re-enable all e2e tests
* Up timeout to 2min
* Remove PHP 8.0
* Add missing conditionals
* Fix php version verification script
* Fix starting dir
* Fix flakiness
* Skip e2e if api failed
* Verify woocommerce.zip early
* Add token
* Delete test summary on github for the meantime
* Use default playwright config
* More meaningful variable names
* Update step titles based on review
* Use expect.poll()
* Minor spacing corrections
* Use `stable-check` endpoint, delete unnecessary loop
* Update locators to be JN-compatible
* Fix erroneous getting of release tag
* Fix conflict of "No thanks" button locator with that of WP Mail Logging's
* Update github-script action to v6
* Revert to 'Cancelled'
* Remove unnecessary step
* Provide missing env variables
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-02-27 12:11:46 +08:00
Gan Eng Chin
e57181b987
Add tests for Campaigns component.
2023-02-27 02:23:11 +08:00
Gan Eng Chin
3513ef51a1
Merge branch 'trunk' into feature/34905-marketing-campaigns-card
2023-02-25 00:39:37 +08:00
Barry Hughes
6cd66c5692
Merge branch 'trunk' into add/encoding-selector-to-product-importer
2023-02-24 08:13:15 -08:00
Gan Eng Chin
f62b44ae2f
Set numberOfRows for TablePlaceholder in Campaigns card.
2023-02-24 23:48:04 +08:00
Gan Eng Chin
f7a1ef2123
Code refactor with getTotalFromResponse in getCampaigns.
2023-02-24 23:45:10 +08:00
Gan Eng Chin
a4e11924fd
Change meta.total to optional in receiveCampaignsSuccess.
2023-02-24 23:44:47 +08:00
Néstor Soriano
00b8a8e76c
Merge branch 'trunk' into fix/load-theme-specific-stylesheet-in-site-editor
2023-02-24 16:35:55 +01:00
Gan Eng Chin
f5ba6d94ac
Remove unused fetchWithHeaders control.
2023-02-24 23:35:40 +08:00
barryhughes
c8074a79e5
Add changelog
2023-02-24 06:35:56 -08:00
barryhughes
b772e9a995
Merge branch 'trunk' into issues/35004-attributes-saved-trigger
2023-02-24 06:31:31 -08:00
Néstor Soriano
89ec0bc083
Change SORT_STRING to SORT_NATURAL for the encodings list
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-24 14:59:08 +01:00
louwie17
aec4dfd3bd
Update product editor package ( #36830 )
...
* Add missing dev packages to product-editor package
* Create components folder for organization
* Move product field, section and tab slots over to product-editor package
* Move use of product slot fills to product-editor package
* Sync dependencies
* Add changelogs
* Update README's and add constant for default values
* Update README's in product-editor package
2023-02-24 09:37:53 -04:00
Vedanshu Jain
5c2ccb563b
Run HPOS test in a matrix along with post tests.
2023-02-24 16:57:51 +05:30
Nestor Soriano
575146615a
Fix: can't apply or remove a coupon whose code is "0" via REST api
...
Also fix: coupon usage not incremented for coupon with code "0"
2023-02-24 11:57:23 +01:00
Gan Eng Chin
a982b7be21
Error handling in getCampaigns.
2023-02-24 18:32:33 +08:00
Vedanshu Jain
87da68c377
Use correct data store for getter/setters.
2023-02-24 15:03:54 +05:30
Vedanshu Jain
a3a41356ee
Sanitize value before returning.
2023-02-24 15:03:48 +05:30
Vedanshu Jain
f8b6258c92
Set correct datastore for tests.
2023-02-24 15:03:41 +05:30
Vedanshu Jain
5e7052b03d
Use correct data store for getter/setters.
2023-02-24 15:02:01 +05:30
Vedanshu Jain
7fbd736517
Sanitize value before returning.
2023-02-24 15:01:38 +05:30
Gan Eng Chin
92762ca9b0
Better pagination with TablePlaceholder in Campaigns card.
2023-02-24 17:09:42 +08:00
Vedanshu Jain
2d3f38851c
Set correct datastore for tests.
2023-02-24 14:37:35 +05:30
Vedanshu Jain
2362d7785a
Add HPOS support to admin orders API.
2023-02-24 14:04:35 +05:30
louwie17
2ef4f8a9da
Fix create wc extension script ( #36917 )
...
* Run create-extension for create-wc-extension script
* Add changelog
---------
Co-authored-by: Sam Seay <samueljseay@gmail.com>
2023-02-24 04:28:07 -04:00
Vedanshu Jain
a3c646fe55
Apply coding standards.
2023-02-24 13:18:52 +05:30
Vedanshu Jain
f20d619c30
Skip legacy tests.
2023-02-24 13:11:28 +05:30
Vedanshu Jain
d54e141aaf
Use CRUD instead of direct post access for HPOS compat.
2023-02-24 13:06:04 +05:30
Vedanshu Jain
5c6392dc7c
Use closure instead of returning DB object to prevent interference in other tests.
...
PHPUnit will evaluate all data providers before starting anyh test (to count the number of tests to be executed). Which means that any data provider inserting data into DB is going to interfere with other tests. Using closure instead helps PHP in counting the data, yet not having to actual DB calls.
2023-02-24 13:04:01 +05:30
helgatheviking
e0cf5476a8
Add woocommerce_attributes_saved trigger. Closes #35004 .
2023-02-23 16:35:02 -07:00
Fernando Marichal
756fe32c04
Create spotlight on analytics revenue report ( #36653 )
...
* Add `RevenueReportDateTour` component
* Add changelog
* Fix styles
* Rename RevenueReportDateTour to ReportDateTour to use it in two different reports: Orders and Revenue
* Change default sort date to date_paid
# Conflicts:
# plugins/woocommerce/src/Admin/API/Reports/Orders/Stats/DataStore.php
* Update changelog
* Assign date_column_name before calling parent constructor
* Remove date_type default value from configuration and show tour only if user didn't assign a value
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Nathan Schneider <nsschneider1@gmail.com>
2023-02-23 15:49:24 -03:00
Gan Eng Chin
61aa3cd135
Add changelog.
2023-02-24 02:19:46 +08:00
Gan Eng Chin
cc5345db4e
Campaigns pagination UI logic.
2023-02-24 02:13:20 +08:00
Gan Eng Chin
60d815c582
wp.data for campaigns data pagination.
2023-02-24 02:10:37 +08:00
Gan Eng Chin
20ae504be0
Add controls with fetchWithHeaders.
2023-02-24 02:08:59 +08:00
Joshua T Flowers
87d79f15a3
Move product editor utils to product editor package ( #36730 )
...
* Move product editor utils to product editor package
* Add changelog entries
* Move remaining utils
* Move util import/exports to separate index file
2023-02-23 09:48:49 -08:00
Néstor Soriano
ba7fef3bcf
Merge branch 'trunk' into fix/cant-apply-coupon-0
2023-02-23 12:05:50 +01:00
Nestor Soriano
59a55b8561
Add changelog file
2023-02-23 11:52:01 +01:00
Nestor Soriano
3b4b85ba1f
Fix: can't apply or remove a coupon whose code is "0".
...
Also added two new methods in StringUtil: is_null_or_empty
and is_null_or_whitespace.
2023-02-23 11:49:38 +01:00
Saad Tarhi
615365d14e
Fix "undefined `disable_ui` index" error
2023-02-23 11:31:01 +01:00
Saad Tarhi
b312c65a95
Fix PHPCS errors
2023-02-23 09:00:10 +01:00
Saad Tarhi
2ed94d56c3
Merge branch 'woocommerce:trunk' into add/36413-support-for-cart-checkout-in-declare-compatibility
2023-02-23 08:38:03 +01:00
Saad Tarhi
b5b0c28ed0
Add generic approach to adding features without UI
...
In our case for the Cart & Checkout feature, we don't want to show the
UI in the "Features" tab in Woo Settings. Creating a flag for this
purpose will make it easier for future features to unsubscribe from
showing a UI if required
2023-02-23 08:37:05 +01:00
Saad Tarhi
390efe8bdd
Fix PHPCS lint error
2023-02-22 19:05:52 +01:00
Luigi Teschio
b0e5db0bfe
Bump WooCommerce blocks package to 9.6.2 ( #36919 )
...
bump WooCommerce blocks package to 9.6.2
2023-02-22 15:51:04 +01:00
Vedanshu Jain
f3cb5424d7
Move generic method to parent class for reusability.
2023-02-22 19:42:47 +05:30
Vedanshu Jain
6d162a9950
Undo regression in previous commit.
2023-02-22 19:13:06 +05:30
Vedanshu Jain
0b689ed8bd
Modify test to support HPOS.
2023-02-22 19:12:53 +05:30
Vedanshu Jain
aaf45d5971
Use isset to support other params.
2023-02-22 19:12:15 +05:30
Vedanshu Jain
61b6daae27
Use correct column name for date_updated.
2023-02-22 17:51:59 +05:30
Néstor Soriano
f9f6e68e21
Merge branch 'trunk' into revert-34992-revert-34396-add/order_cache
2023-02-22 13:08:52 +01:00
Cluster CIS
7feaed74fa
Fix selectors for quantity element in variable products ( #36871 )
...
Fixes bug introduced in PR #36087 that changes jQuery selectors for quantity input in variable products.
The previous logic is reinstated so that $qty points to the div wrapper, and $qty_input points to the input element inside.
Otherwise, as is in the current version, $qty_input is undefined and the min/max attributes are not updated.
This PR also addresses the original issue #36086 by restricting the selector of the div wrapper to only be the one containing input[name=quantity] (the .qty class filter is also kept to avoid any potential malfunctions of existing code).
2023-02-22 12:43:57 +01:00
Dinesh Kesarwani
21b65eaab8
Merge branch 'trunk' into trunk
2023-02-22 11:12:35 +05:30
Vedanshu Jain
48ec7b8864
Merge branch 'trunk' into revert-34992-revert-34396-add/order_cache
2023-02-22 10:00:29 +05:30
Barry Hughes
2e146d596f
Merge branch 'trunk' into fix/wc_add_number_precision-not-supporting-null
2023-02-21 11:36:53 -08:00
Albert Juhé Lluveras
f3c5131b8a
Merge duplicate CSS selector
2023-02-21 14:58:05 +01:00
Vedanshu Jain
263758aa83
Handle local date filters when passed via after/before params.
2023-02-21 19:21:34 +05:30
Albert Juhé Lluveras
acfa4b635a
Fix CSS whitespace and add comment
2023-02-21 14:39:38 +01:00
Albert Juhé Lluveras
921a124584
Add changelog entry
2023-02-21 14:36:47 +01:00
Albert Juhé Lluveras
3344b68653
Load same stylesheets in the Site Editor as in the frontend
2023-02-21 14:35:49 +01:00
Seghir Nadir
0a05717c83
Merge branch 'trunk' into add/tracking-for-loca-pickup
2023-02-21 12:49:42 +01:00
Vedanshu Jain
993efa0de2
Move more generic methods to their parent class for better reusability.
2023-02-21 16:54:41 +05:30
Vedanshu Jain
be82dae74a
Restore indexes incase any meta key is filtered out.
2023-02-21 16:18:48 +05:30
Vedanshu Jain
8be7f763e2
Update PayPal tests for HPOS compat.
2023-02-21 16:01:38 +05:30
Vedanshu Jain
c06ee8f794
Skip unsupported tests with HPOS.
2023-02-21 15:57:00 +05:30
Vedanshu Jain
a76a415487
Add HPOS compat for crud unit tests.
2023-02-21 15:38:24 +05:30
Vedanshu Jain
fe273c9556
Add HPOS compat for meta unit tests.
2023-02-21 15:34:52 +05:30
Vedanshu Jain
035ab94e5a
Add HPOS compatibility to order function tests.
2023-02-21 15:24:44 +05:30
Vedanshu Jain
2ee7306a80
Add HPOS compat for resetting order on user deletion.
2023-02-21 14:22:33 +05:30
Vedanshu Jain
a1ebcedea7
Modify to use WC hook instead of post for HPOS compat.
2023-02-21 14:05:48 +05:30
Nestor Soriano
0b513107b0
Proper deletion of order data from wc_order_tax_lookup and wc_order_stats
...
When the orders table is authoritative, deleting an order was not
deleting the records in wc_order_tax_lookup and wc_order_stats
for the order.
2023-02-21 14:01:59 +05:30
Vedanshu Jain
69e4df6786
Treat invalid query to not return any result for backward compatibility.
2023-02-21 13:56:33 +05:30
github-actions[bot]
733bcc88cf
Prep trunk for 7.6 cycle ( #36899 )
...
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-21 12:37:14 +13:00
github-actions[bot]
4ea698d42f
Release: Remove 7.5 change files ( #36901 )
...
Delete changelog files from 7.5 release
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-21 12:36:55 +13:00
Corey McKrill
aebf22dc2f
Site Health: Add WC-specific criteria for persistent object cache ( #35202 )
...
* Site Health: Add WC-specific criteria for persistent object cache
WP 6.1 introduces a new test in the Site Health module for whether the
site has an external object cache, and if not, whether it would benefit
from having one. However, the criteria it uses are based largely on
posts and comments. This introduces WooCommerce-specific criteria based
on orders and products. It uses much lower numbers for the
thresholds (100 instead of 1000). These thresholds are somewhat
arbitrary, but reflect that the data objects in a WooCommerce store are
larger and more complex than in a simple blog.
* Add changelog file
2023-02-20 15:01:17 -08:00
Nathan Silveira
41eab0d669
Add additional global attributes and local attributes information when saving product attributes ( #36858 )
...
* Add additional global attributes and local attributes information when saving product attributes
* Log only local attributes
Add attribute name
Fix issue with attribute_value and names selectors
* Save name and slug for global attributes and global terms
2023-02-20 23:55:01 +01:00
AnnaMag
48c8db8ade
Product editor: disable the feature in advanced Settings. ( #36894 )
...
* Product editor: disable the feature in advanced Settings
until we implement the new designs.
* Maintain feature enabled for internal testing.
* Remove obsolete new lines.
* Re-enable the feature flag.
* Disable the new product experience if currently enabled.
* Add changelog
* Remove commented lines, obsolete brackets. Fix conflicts.
* Styling.
* Fix lint
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-02-20 19:03:07 -03:00
jonathansadowski
b3b6eacdf4
Update the stable tag to 7.4.0 ( #36879 )
...
* Update the stable tag to 7.4.0
* Create update-stable-tag-7-4-0
2023-02-20 08:21:38 -06:00
RJ
d26dd4c772
Add: shipping plugins in shipping task based on location ( #36873 )
...
Co-authored-by: moon <moon.kyong@automattic.com>
2023-02-20 21:32:14 +08:00
Vedanshu Jain
95f1418261
Enable post data store before running post data store order tests.
2023-02-20 18:30:18 +05:30
Nestor Soriano
8a9f05f875
Fix phpcs stuff
2023-02-20 13:05:15 +01:00
Nestor Soriano
749dcdd009
Add changelog file
2023-02-20 12:42:43 +01:00
Nestor Soriano
c7aab89092
Add support for null inputs in wc_add_number_precision
2023-02-20 12:34:48 +01:00
Nadir Seghir
e1ace8332d
fix linter
2023-02-20 12:33:11 +01:00
Ilyas Foo
6dd701d795
Remove Facebook/Meta from grow your store list ( #36886 )
...
* Remove meta
* Changelog
* Set facebook extension visibility flag to false
2023-02-20 18:52:53 +08:00
Ilyas Foo
e03ed88410
Fix inconsistent colors products task icons ( #36889 )
...
* Remove colors overriding theme colors
* Changelog
2023-02-20 18:18:17 +08:00
Ilyas Foo
052bb39e8a
Temporary remove free trial terms from Avalara tax task ( #36888 )
...
* Remove free trial terms from Avalara tax task
* Changelog
2023-02-20 13:56:34 +08:00
Chi-Hsuan Huang
2d5fdfe578
Add a unit test for `woocommerce_admin_experimental_onboarding_tasklists` filter ( #36827 )
...
* Add a unit test for woocommerce_admin_experimental_onboarding_tasklists filter
* Add changelog
* Reformat
* Update plugins/woocommerce/tests/legacy/unit-tests/woocommerce-admin/features/onboarding-tasks/task-lists.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-02-20 09:03:41 +08:00
Chi-Hsuan Huang
30409fa8c3
Update default payment gateway list ( #36550 )
...
* Remove Klarna payments from North America and remove Amazon pay from CA
* Update payment gateway list ordering priority
* Add changelog
* Sort gateways by recommendation_priority
* Fix DefaultPaymentGateways.php
Fix lint
Fix paypal
Fix comment
* Remove unneed comment
* Change eway priority to show after square
2023-02-20 09:02:57 +08:00
Tomek Wytrębowicz
586d471001
Remove `get_items_permissions_check` from `Reports\Controller`,
...
as it is implemented in the exact same shape in its parent class- `WC_REST_Reports_V1_Controller`
2023-02-18 19:39:58 +01:00
Tomek Wytrębowicz
26e7588d7d
Add changelog entry
2023-02-18 19:11:45 +01:00
Tomek Wytrębowicz
c161de857b
Reuse parent `register_routes` method in `PerformanceIndicators\Controller`
...
as it is defined in `WC_REST_Reports_V1_Controller`.
2023-02-18 18:37:39 +01:00
Tomek Wytrębowicz
610d32da1a
Remove redundant `register_routes` definition from `ReportsController`,
...
it's already defined in the exact same shape in its parent `WC_REST_Reports_V1_Controller`.
2023-02-18 18:18:20 +01:00
Tomek Wytrębowicz
bd8168feb5
Remove redundant `$namespace = 'wc-analytics'` from classes that inherit from `ReportsController`
...
It's already set in parent class.
2023-02-18 18:15:19 +01:00
Moon
7d8247b069
Remove id column from experimental product import sample files ( #36857 )
...
* Remove ID column
* Add changelog
2023-02-17 14:11:43 -08:00
Barry Hughes
85be0f5e45
Fix decimal points for NOK currency ( #36780 )
2023-02-17 14:02:10 -08:00
Barry Hughes
96100062c0
Switched matching of screen ID with the untranslated string. ( #36854 )
2023-02-17 13:31:36 -08:00
Saad Tarhi
0de41672f5
Update WooCommerce blocks package to 9.6.1 ( #36852 )
2023-02-17 22:17:42 +01:00
Nathan Silveira
2ad2b79ac6
Fix inconsistencies on Analytics > Orders table when using date_paid or date_completed ( #36876 )
...
* Fix inconsistencies on Analytics > Orders table when using date_paid or date_completed
* Fix sniff
* Fix unit test
2023-02-17 17:52:10 -03:00
Barry Hughes
8a9f7fdb76
Update plugins/woocommerce/changelog/fix-36474
2023-02-17 10:52:18 -08:00
Michael Pretty
a11f5926b1
lint fixes and fix typo
2023-02-17 11:26:55 -05:00
Michael Pretty
28256951aa
Tweak test_initiate_regeneration_creates_lookup_table to insert properly with pre-defined table columns
2023-02-17 11:20:07 -05:00
Saad Tarhi
c1f232225a
Keep only one changelog file
2023-02-17 17:06:18 +01:00
nigeljamesstevenson
4b8e24cc9f
Make the selector a bit more strict to avoid collision ( #36499 )
2023-02-17 15:56:07 +00:00
Saad Tarhi
e434d021f1
Revert the .gitignore change
2023-02-17 16:48:56 +01:00
Michael Pretty
2728ffd5bd
disabling lint rule for query
2023-02-17 10:48:28 -05:00
Michael Pretty
54151becc5
Avoid preparing the table name for truncate query
2023-02-17 10:33:36 -05:00
Saad Tarhi
1e1111f329
Run "pnpm --filter=woocommerce changelog add"
2023-02-17 16:15:31 +01:00
Saad Tarhi
d940569d50
Run "composer update -W woocommerce/woocommerce-blocks"
2023-02-17 16:13:19 +01:00
Saad Tarhi
d3c22d52c9
Bump Woo Blocks version to 9.6.1 in composer.json
2023-02-17 15:51:20 +01:00
Michael Pretty
91ef6ae8ba
adding changelog entry
2023-02-17 09:15:18 -05:00
Michael Pretty
02055537ac
Switch to the use of dbDelta and truncate for the product attribute lookup tables over drop/create table.
2023-02-17 09:12:42 -05:00
Nathan Silveira
9d7e503519
Add date sorting configuration for Analytics ( #36492 )
...
* Include fields date_paid and date_completed to wp_wc_order_stats
TODO: add script to create new columns in the database
* Add update script and new columns in get_schema
* Add new configuration in Analytics > Settings to configure type of date used in Revenue report
* Change date_column_name to date_paid
TODO: This will be configurable in future
* Add date type config field
* Use customizable date field in DataStore
* Change label
* Fix linter errors
* Remove blank line
* Put default column name back to date_created
* Make date_paid and date_completed nullable to help with unit tests
* Remove new table creation in update function and use query method instead of get_var
* Extend stats constructor
* Improve date type configuration description
* Set date column name default to date_created to test if build passes
* Fix phpcs issue on constructor
* Remove cache bypass added by mistake
* Improve changelog
* Fill date_paid and date_completed for refunds to avoid problems whem they are being used to sort
Fix unit tests when date_paid or date_completed are being used as sort date
* Change default to date_created
* Bump update script to 7.5.0
* Add prefix and postmeta variables for script
2023-02-17 10:29:36 -03:00
Dinesh Kesarwani
c503d9dda9
Use esc_html_e instead of esc_attr_e
2023-02-17 17:30:22 +05:30
nigeljamesstevenson
3b58651bd6
Playwright 1.30.0 update ( #36789 )
2023-02-17 10:31:06 +00:00
nigeljamesstevenson
e36d330afa
E2e/update command for e2e ( #35287 )
2023-02-17 10:28:15 +00:00
Chi-Hsuan Huang
ad2f126a32
Have "Grow your store" appear first in marketing task by default ( #36826 )
...
* Have "Grow your store" appear first by default
* Add changelog
* Remove PLUGIN_LIST_DISPLAY_ORDER and use ALLOWED_PLUGIN_LISTS instead
2023-02-17 11:28:20 +08:00
Chi-Hsuan Huang
dcba4456cf
Add SlotFill for marketing overview screen ( #36828 )
...
* Add slot for marketing overview section slotfill
* Add changelog
* Remove unneed changes
* Add changelog
2023-02-17 09:46:52 +08:00
Barry Hughes
28a6ed6656
Translate the labels for units of measure ( #36708 )
2023-02-16 17:16:30 -08:00
barryhughes
86005db0d1
Changelog
2023-02-16 10:23:59 -08:00
hsing
1c24708e25
Update cart form quantity and coupon code input style
2023-02-16 10:19:35 -08:00
Fernando Marichal
ab6d3a45af
Show attribute creation form when there are no attributes ( #36606 )
...
* Add attribute creation form
* Add changelog
* Check `Used for variations` by default
* Fix lint
* Fix lint
* Fix `create-variable-product.spec` e2e tests
* Fix do not show form with local attributes
* Fix lint
* Fix tests
* Refactor e2e test fix
* Replaced `wp_kses_post` with `esc_html_e`
* Fix lint
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2023-02-16 10:52:12 -04:00
Peter Fabian
8ccfedfa4f
Hardcoding the string instead of refering to value
...
...that's only available later or not at all in some contexts.
2023-02-16 15:16:56 +01:00
Peter Fabian
0c254c03c3
Switched matching of screen ID with the untranslated string.
2023-02-16 14:31:35 +01:00
Saad Tarhi
cef5009a21
Run "pnpm --filter=woocommerce changelog add"
2023-02-16 11:34:40 +01:00
Saad Tarhi
469eb72766
Run composer update woocommerce/woocommerce-blocks
2023-02-16 11:31:19 +01:00
Saad Tarhi
a6241d8bc7
Bump Woo Blocks version to 9.6.0 in composer.json
2023-02-16 11:29:11 +01:00
aniketpatel32
0e7c13d883
Fix: Ampersand changed to & on product attribute export #36520 ( #36525 )
2023-02-16 09:15:03 +01:00
Corey McKrill
23f52e040c
Update plugins/woocommerce/src/Utilities/I18nUtil.php
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-15 16:42:41 -08:00
Corey McKrill
e016fb1093
Update plugins/woocommerce/src/Utilities/I18nUtil.php
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-02-15 16:42:10 -08:00
Corey McKrill
76e7260362
Clean up linting errors
2023-02-15 15:20:25 -08:00
Corey McKrill
b336652e0d
Return the input string if it's not a recognized unit of measure
...
Rather than returning an empty string as the label for an unknown
unit of measure, this allows a merchant to use a custom unit of measure
for something and still have it appear in the UI.
2023-02-15 15:10:36 -08:00
Corey McKrill
9691159d09
Switch back to context-less gettext for unit translations
...
While the extra context would be beneficial for translators, these
particular strings have already been translated for many lanugages
and adding the context would invalidate the translations, which could
cause a visual regression for merchants if the new strings don't get
reapproved before the next version is released.
2023-02-15 14:12:17 -08:00
Nadir Seghir
c28bb8708e
fix function call
2023-02-15 16:58:26 +01:00
Nadir Seghir
2efe0a0f6a
add tracking for local pickup
2023-02-15 16:41:26 +01:00
Vedanshu Jain
ae7d827f22
Directly fetch order prop from DB for compatibility with CPT store.
2023-02-15 17:23:43 +05:30
Vedanshu Jain
9bdc7f3495
Add changelog.
2023-02-14 17:40:49 +05:30
Vedanshu Jain
7d26cc819c
Handle data query params by converting to appropriate timezone.
...
Additionally, there is not need to map params from same key to value name, otherwise it causes issues and gets unset the in for loop below.
2023-02-14 17:39:33 +05:30
Vedanshu Jain
dfd2c7d44f
Apply coding standards.
2023-02-14 16:55:48 +05:30
Vedanshu Jain
c9bf8dd194
Validate orders seperately since it not always a CPT.
2023-02-14 16:42:35 +05:30
Atanas Penchev
55af1d1365
FlexSlider legacy browser code clean-up ( #36690 )
2023-02-14 12:08:07 +01:00
Nestor Soriano
c4440b9586
Don't assume the character encoding parameter is present
2023-02-14 09:56:48 +01:00
Sam Seay
e4303a7b25
Add smooth generator to the beta tester userscript ( #36676 )
2023-02-14 18:34:47 +13:00
Tomek Wytrębowicz
c5cbc8d4ab
Update `config@3.3.7` (from `3.3.3`) ( #33828 )
...
* Update `config@3.3.7` (from `3.3.3`)
Add it to syncpack, to avoid `ReferenceError: node_env_var_name is not defined` when external extension imports and transforms the `admin-e2e-tests` directly from `node_modules`.
Include https://github.com/node-config/node-config/pull/642
2023-02-14 18:34:00 +13:00
Peter Fabian
906c84b85e
Make the "state" checkout field optional for BG and HU ( #36701 )
...
* Make state optional for BG and HU.
* Add changelog.
* PHPCS spacing fix
* Hide State field for Hungary.
* Unhide the State in Hungary.
Some extensions might still use it e.g. for shipping purposes.
* Merge branch 'trunk' into fix/hu-and-bg-state-optional
2023-02-13 15:45:54 -08:00
github-actions[bot]
2da44aea66
Delete changelog files based on PR 36624 ( #36631 )
...
Delete changelog files for 36624
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:18:36 -06:00
github-actions[bot]
19afaccb9d
Delete changelog files based on PR 36736 ( #36744 )
...
Delete changelog files for 36736
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:17:00 -06:00
github-actions[bot]
55fc851dba
Delete changelog files based on PR 36714 ( #36717 )
...
Delete changelog files for 36714
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:16:43 -06:00
github-actions[bot]
98f325c776
Delete changelog files based on PR 36456 ( #36582 )
...
Delete changelog files for 36456
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-02-13 14:16:22 -06:00
Corey McKrill
9eb6437d19
Remove opinionated styles from buttons in block themes so they inherit theme styles more accurately ( #36651 )
...
This PR removes several CSS lines that were enforcing specific styles (mostly padding) to buttons. This is in order to better inherit the styles provided by the theme.
2023-02-13 11:47:07 -08:00
Nestor Soriano
13a130fe37
Add changelog file
2023-02-13 17:24:08 +01:00
Nestor Soriano
2061778b3f
Add an encoding selector to the product importer
2023-02-13 17:22:48 +01:00
Ron Rennick
73a6475a3d
ensure unit test install ABSPATH is a real path ( #36641 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-02-13 09:13:57 +01:00
Corey McKrill
5b27b02508
Fix linting issues
2023-02-08 22:44:24 +01:00
Jon Lane
4927dc0352
Changelog
2023-02-08 10:57:44 +01:00
Jon Lane
f9f14f5b00
Update Playwright 1.28.0 -> 1.30.0
2023-02-08 10:52:54 +01:00
Jon Lane
3739c0869a
Need to run config after starting
2023-02-08 10:31:16 +01:00
Jon Lane
c8863ddb3c
Incorporated feedback from review
2023-02-07 16:41:49 +01:00
Ahmed
dc616bd4c6
update changelog
2023-02-07 11:14:40 +01:00
Ahmed
35384a4fe6
Fix decimal points for NOK
2023-02-07 11:10:59 +01:00
Jon Lane
d5cf0b4fd5
Merge branch 'trunk' into e2e/update-command-for-e2e
...
# Conflicts:
# plugins/woocommerce/tests/e2e-pw/README.md
2023-02-06 13:53:12 +01:00
Nazmul Hasan
d525a56f68
Fix Typo in Variable Name on line 342
...
I've noticed on line 339 has an empty array ($attributes) which might be intended to use as a fallback variable for line 345. The array ($attributes) is then extended on line 342, but the variable name at this point is $attribute instead $attributes
2023-02-06 05:03:59 +08:00
Gan Eng Chin
b717ce9645
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-02-04 02:33:01 +08:00
Albert Juhé Lluveras
4971eaa350
Increase TT2 styles specificity so they aren't overridden by block theme styles
2023-02-03 11:33:03 +01:00
Albert Juhé Lluveras
659566ed0d
Fix variable products options and add to cart form not wrapping on different lines
2023-02-03 11:27:11 +01:00
Kevin Ruscoe
3828aabbef
clean up sass variable names ( #28908 )
2023-02-03 10:54:45 +01:00
Nestor Soriano
ad7d209e56
Merge branch 'trunk' into fix/tax_lookup_and_order_stat_deletion
2023-02-03 10:19:59 +01:00
Vedanshu Jain
b5ae765b93
Use correct class name.
2023-02-03 14:17:54 +05:30
Vedanshu Jain
c678ce7248
Remove get_from_datastore as it was not being used.
2023-02-03 14:14:26 +05:30
Corey McKrill
a42eede13a
Add unit tests
2023-02-02 16:51:50 -08:00
Corey McKrill
ad561d81bf
Update remaining labels for dimensions units
2023-02-02 16:33:43 -08:00
Seghir Nadir
7459aec50e
Bump WooCommerce blocks package to 9.4.3 ( #36736 )
...
* Update woocommerce-blocks to 9.4.3
* Add changelog file
---------
Co-authored-by: Jonathan Sadowski <sadowski@automattic.com>
2023-02-02 18:17:34 -06:00
Corey McKrill
54de988f25
Update labels for weight units
2023-02-02 16:08:44 -08:00
Moon
604ffe3fec
Mark purchase tests skipped temporarily ( #36741 )
...
* Mark tests skipped due to change in endpoint behavior
* Add changelog
2023-02-02 17:43:13 -06:00
Joshua T Flowers
89438cf873
Remove variations logic from the AttributeControl component ( #36563 )
...
* Move attribute data changes out of attribute control
* Move dynamic text to props
* Add onModalOpen callback
* Add onModal close prop
* Add changelog entry
* Use closeModal for edit attribute modal
* Add onEdit callback
* Extract util to get unique attribute id
* Rename editingAttribute to currentAttribute
* Rename showAttributeModal to isNewModalVisible
* Rename AddAttributeModal to NewAttributeModal
* Fix up handle add attributes
* Add onRemove callback for attibutes
* Fix up modal styling classes
* Fix up closing edit modal
* Fix up modal title for options
* Handle PR feedback
* Separate handlers for edit and new modal callbacks
* Update event names to be option/attribute specific
* Use default callback functions
* Handle PR feedback
2023-02-02 13:04:32 -08:00
Mahdi Taleghani
5d0c82f5c3
Change order of checkout address fields for Iran ( #36491 )
...
* add Iran country to get_country_locale
* create changelog file
* fix Code sniff convention for spacing
2023-02-02 10:58:49 -08:00
Gan Eng Chin
c9214abe1f
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
2023-02-03 00:54:51 +08:00
Gan Eng Chin
67c09f63ea
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-02-03 00:53:21 +08:00
Gan Eng Chin
7bb042fcd2
Simplify CSS for CardHeaderDescription.
2023-02-02 21:50:36 +08:00
nigeljamesstevenson
7c84271ee2
update smoke test daily workflow to run api tests first ( #36494 )
2023-02-02 12:04:47 +00:00
Gan Eng Chin
048906ad80
Change Campaigns CSS to use @include font-size().
2023-02-02 19:06:17 +08:00
Leif Singer
d0a2b582fe
Consolidate eslint versions ( #36700 )
...
* pin eslint in .syncpackrc
run `pnpm run sync-dependencies` to ensure pinned version is used across projects, then run `pnpm install` to update `pnpm-lock.yaml`
* add changelog files
ran `pnpm run --no-bail --filter='[HEAD^1]' changelog add --significance=patch --type=dev --entry='Update eslint to 8.32.0 across the monorepo.'`
* re-run `pnpm install` to fix what broke while merging
2023-02-02 23:25:04 +13:00
Gan Eng Chin
7b068bf908
Code refactor for Campaigns card CSS.
2023-02-02 17:52:22 +08:00
Gan Eng Chin
c17f336acc
Code refactor for Campaigns card.
2023-02-02 17:47:42 +08:00
Gan Eng Chin
0abe368962
Display error state in Campaigns card.
2023-02-02 17:17:29 +08:00
Barry Hughes
463082fb28
Revert/36294 ( #36714 )
...
* Revert "Update spelling of Cancelled to Canceled for US English. (#36294 )"
This reverts commit e588c560bf
.
* Changelog note
2023-02-01 13:59:42 -06:00
Gan Eng Chin
743c0e5085
Set per_page to 100 for getCampaigns.
...
100 is the maximum limit allowed by the API.
We do this because the API does not return total number of rows, so we use 100 to get "all" rows, to support pagination in the UI.
2023-02-02 01:03:15 +08:00
Gan Eng Chin
183fc48132
Show CardFooter and Pagination only when it is needed.
...
This means when total is more than perPage.
2023-02-01 20:29:32 +08:00
Gan Eng Chin
eda6f194b9
Use perPage constant instead of literal 5.
2023-02-01 20:27:07 +08:00
Gan Eng Chin
274ea3dd60
Use Link component in Campaigns.
...
This allows fast client-side navigation.
2023-02-01 20:23:14 +08:00
Gan Eng Chin
29154425cb
Check description before rendering FlexItem.
...
This is to eliminate the unneeded flex gap when there is no description.
2023-02-01 20:17:53 +08:00
Gan Eng Chin
c342cbb98d
Change to color variable in Campaigns CSS.
2023-02-01 20:09:17 +08:00
Gan Eng Chin
cd7b5f2c96
Fetch and display campaigns with wp.data.
2023-02-01 19:02:03 +08:00
Corey McKrill
cdff039569
Update products settings to use I18nUtil for unit labels
2023-01-31 17:26:14 -08:00
Corey McKrill
31d5b45443
Add changelog file
2023-01-31 17:16:32 -08:00
Corey McKrill
45069b1bf7
Update weight/dim formatting to use translated labels
2023-01-31 17:14:07 -08:00
Corey McKrill
21bae97e82
Add I18nUtil class
2023-01-31 17:12:11 -08:00
Corey McKrill
f5bdbbaa20
Add i18n file for units
2023-01-31 17:11:27 -08:00
IanDelMar
eeebcb9a6c
Properly deprecate woocommerce_my_account_my_orders_columns filter ( #36356 )
...
* Use WC_Deprecated_Filter_Hooks to deprecate filter
* Add changelog file
* fix since tag in comment
* Revert docblock changes
2023-01-31 13:02:42 -08:00
Marco Almeida
53f80a24f6
Allows developers to add their own filters to the active filters list
...
Fixes #36704
2023-01-31 19:02:17 +00:00
Gan Eng Chin
46adb0dc25
Rename Channels to RegisteredChannels.
2023-02-01 02:58:49 +08:00
barryhughes
4c427ef6da
Changelog.
2023-01-31 09:56:43 -08:00
Gan Eng Chin
630bd0ab17
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
2023-02-01 00:52:48 +08:00
Gan Eng Chin
f050bb79b5
Rename Channel to RegisteredChannel.
...
This is for better clarity and consistency.
2023-02-01 00:52:35 +08:00
Angelo Ghigi
09a1634bb2
Disable product info in Status Widget when stock management is disabled
...
There's no need to show the two products cells in Status Widget table when stock management is disabled, otherwise you'll get 2 links pointing nowhere (specific report pages are disabled and you'll get an "unauthorized" error)
2023-01-31 17:39:10 +01:00
Gan Eng Chin
177fc59dea
Simplify rendering code in MarketingOverviewMultichannel.
2023-02-01 00:29:38 +08:00
Gan Eng Chin
3384ad576d
Remove unused import.
2023-02-01 00:20:04 +08:00
Gan Eng Chin
d69f7f00b7
Fix ids typescript error in Campaigns.
2023-02-01 00:18:53 +08:00
Gan Eng Chin
76102143ff
Merge branch 'feature/34906-marketing-channels-card' into feature/34905-marketing-campaigns-card
...
Conflicts:
plugins/woocommerce-admin/client/marketing/overview-multichannel/MarketingOverviewMultichannel.tsx
2023-01-31 23:50:03 +08:00
Gan Eng Chin
d59e7e5721
Edit and arrange imports in MarketingOverviewMultichannel.
2023-01-31 23:39:02 +08:00
louwie17
5f0572664f
Add new `@woocommerce/product-editor` JS package ( #36600 )
...
* Bootstrap product-editor package
* Move product section components over to product editor package
* Add changelogs
* Remove unused import leftover from rebase
2023-01-31 09:38:28 -04:00
Joel Thiessen
c080886262
Implementation of separate variant slots via refactored components ( #36646 )
...
* Adding contants, renaming files, wiring up shipping section with discrete slots for variants and non-variants
* Refactoring pricing section to give discrete slots for variant and non-variant forms
* Refactoring inventory fills to give discrete slots for variant and non-variant products
* Adding additional slot to pricing -> taxes -> advanced
* Renaming api fields component file
* Refactoring images, details and attributes to match others
* Ensure variant field IDs are distinct, organize all product field fill IDs
* Adding changelog
* Simplifying IDs used for slots
* Minor refactor of pricing taxes class field
* Give api fill exports their own registerPlugin scope
* Refactoring WooProductFieldItem to generate unique IDs
* Adding components changelog
2023-01-31 07:19:21 -04:00
Joshua T Flowers
83faf8d328
Add unique sku option to error data when setting product sku ( #36612 )
...
* Add unique sku option to error data when setting product sku
* Add changelog entry
* Add permalink template to the sku error data
* Revert "Add permalink template to the sku error data"
This reverts commit a49ee1d878
.
2023-01-30 13:07:05 -08:00
Néstor Soriano
f601b0d8a5
[COT] Fix inappropriate deletion of order from posts with sync off ( #36617 )
...
* Fix inappropriate deletion of order from posts with sync off
When the orders table is authoritative and sync is off, deleting
and order should not delete the order record from the posts table,
this commit fixes that.
Additionally, OrdersTableDataStore::delete will now trigger the
woocommerce_delete_order action in all cases, even when the
method is called while the posts table is authoritative.
* Add changelog file
* Fix: order items were not deleted
* Improve comment in the 'delete' method
* Use delete_items instead of a dedicated method for deleting order items
2023-01-30 12:04:45 -08:00
Vedanshu Jain
211787bba9
Add changelog.
2023-01-30 16:41:30 +05:30
Vedanshu Jain
b6ba8b50aa
Improve search query performance by preventing left join.
2023-01-30 16:40:01 +05:30
Atanas Penchev
6c053d3eec
Replace $.ajax() calls with browser-native window.fetch() calls. ( #36275 )
2023-01-30 18:48:20 +13:00
Gan Eng Chin
449da4e91c
Merge branch 'trunk' into feature/34906-marketing-channels-card
2023-01-29 01:29:31 +08:00
Gan Eng Chin
e700232415
Simplify Channels component.
2023-01-29 01:28:14 +08:00
Joel Thiessen
9be843422d
Fixing issue preventing import productes CES exit page from firing ( #36656 )
2023-01-27 12:14:59 -08:00
Joshua T Flowers
c12ae8033d
Tweak product link description and display ( #36591 )
...
* Tweak product link description and display
* Add changelog entry
* Fix up edit product link modal tests
* Update changelog entry
2023-01-27 10:59:39 -08:00
Gan Eng Chin
15200103cc
Simplify Channels CSS.
2023-01-28 01:16:31 +08:00
Barry Hughes
fffab243c1
Fix the filter "woocommerce_{order_type}_list_table_prepare_items_query_args" ( #36649 )
2023-01-27 09:16:25 -08:00
Gan Eng Chin
0eb318c1f5
Simplify and remove RecommendedChannels and RecommendedChannelsList components.
2023-01-28 01:12:36 +08:00
Joel Thiessen
79c596cbd0
Updating section and field product fills to support multiple slots ( #36592 )
2023-01-27 08:42:51 -08:00
Gan Eng Chin
14511ae4d6
Code refactor with SyncStatus and IssueStatus components.
2023-01-28 00:14:50 +08:00
Paul Sealock
c9b1d5af41
Fix/stable tag 7.3.0 ( #36627 )
...
* Update stable tag to 7.3.0
* changelog
2023-01-28 05:06:23 +13:00
jamelreid
3a13bc42c0
Added changelog
2023-01-27 10:45:59 -05:00
jamelreid
4fdc9e735b
Made selector more robust
2023-01-27 10:44:36 -05:00