Commit Graph

10764 Commits

Author SHA1 Message Date
Nathan Silveira 7767f9e78f
Add unit tests to tracks events fired through PHP (#39133)
* Add tests for class-wc-orders-tracking

* Add tests for orders tracking

* Add test for orders_view_search

* Create tests for settings tracking

* Add tests to product tracking

* Add changelog

* Add tests for importer tracking and fix phpcs issues

* Disable phpcs rules
2023-07-07 12:41:39 -03:00
Gan Eng Chin afdc00e1fc
Add Klaviyo into default free extensions for onboarding task list (#39087) 2023-07-07 23:03:35 +08:00
Barry Hughes 5417750757
Fix/ Decrease product total_sales when an order is reversed #23796 (#37842) 2023-07-07 08:01:00 -07:00
Thomas Roberts 71fc49f2fd
Update WooCommerce Blocks to 10.6.0 (#39144) 2023-07-07 07:08:49 -07:00
Abdalsalaam Halawa c317b756bf Fix total sales count tests
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 03213e0174 Use strict comparisons in_array
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 716119822f Order untrash test 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 6b72758d80 test trash/ un-trash order CPT 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 7087470e1f Fix increase/decrease count after order deleting 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 477e626354 Update total sales amount for trashing/restoring order 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 34c6058d02 Add asserting for refund scenario 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa e637e42043 update_total_sales_counts test 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 41cb12c830 Decrease total sales after if order deleted 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa fb0a66a1fb Keep total_sales if order is refunded 2023-07-07 06:38:41 -07:00
Abdalsalaam Halawa 853e927c08 add changelog 2023-07-07 06:38:40 -07:00
Abdalsalaam Halawa 967285b23b Fix: Decrease total sales per product when an order is reversed 2023-07-07 06:38:40 -07:00
Barry Hughes f58580452c
Support hosts which do not have access to 'DUAL' table (#39111) 2023-07-07 05:32:42 -07:00
Gan Eng Chin 4aab269c89
Rename "Install plugin" button text to "Install extension" in Marketing page (#39130) 2023-07-07 20:31:57 +08:00
Barry Hughes 8e5d930c48
Closing and opening tags must match. (#39053) 2023-07-07 05:30:12 -07:00
barryhughes ecf64a71b2 Clean up after testing `wc_load_cart()`. 2023-07-06 17:36:44 -07:00
rodelgc 040f138717
E2E: Set up HPOS through `wp option` cli command (#39095)
* Add changelog

* Use `wp option` to enable HPOS
2023-07-06 10:26:09 -07:00
rodelgc 90a6ba76dd
Update `wp-env` to `8.2.0` (#39100)
* Update pinVersion

* Syncpack fix mismatches

* Update lockfile via `pnpm i`

* Add changelog.

* Add more changelogs
2023-07-06 10:06:39 -07:00
Gan Eng Chin a2f2d135b2
Add changelog. 2023-07-07 01:01:03 +08:00
Gan Eng Chin 990af1f534
Rename "Install plugin" button text to "Install extension". 2023-07-06 23:50:56 +08:00
github-actions[bot] 96c686c4d9
Delete changelog files based on PR 38769 (#39114)
Delete changelog files for 38769

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-06 14:39:06 +12:00
Joel Thiessen 419bd98db7
Updating product AI features endpoints (#38930) 2023-07-05 18:39:19 -07:00
DAnn2012 a99ce61fb2
Fixed minimum required PHP version in readme.txt file (#39078)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-07-06 02:14:20 +02:00
rodelgc 504b3be343
E2e: fix order emails (#39013)
* Use latest version of WP Mail Logging

* Use batch delete operation to gracefully handle uncreated test orders

* Use stricter locator

* Add changelog
2023-07-05 16:42:42 -07:00
rodelgc ed1ace1646
E2E: Fix skipping of core profiler in `page-loads.spec.js` (#39084)
* Add changelog

* Move skip action to beforeAll hook
2023-07-05 16:15:54 -07:00
Chris McCluskey 3c8a54c576 Add change file 2023-07-05 15:33:25 -07:00
Chris McCluskey cadf9e833f Query from existing table instead of DUAL 2023-07-05 13:43:32 -07:00
Maikel David Pérez Gómez 98b9670848
Console Errors when the New Product Editor is enabled (#39027)
* Bootstrap server side block definitions

* Add changelog file

* Revert action priority to its prev value

* Check if unstable__bootstrapServerSideBlockDefinitions function exists before call it
2023-07-05 14:32:04 -04:00
Nathan Silveira c9d4324b43
Fix "Used for variations" checkbox being disabled on Variable products (#39106)
* Reintroduce disable_or_enable_fields

* Add changelog

* Add an additional call to disable_or_enable_fields

* Fix changelog
2023-07-05 15:20:06 -03:00
Gan Eng Chin e004f90c3f
Fix php linting error. 2023-07-06 01:45:25 +08:00
github-actions[bot] ad8b121e21
Delete changelog files based on PR 38833 (#39094)
Delete changelog files for 38833

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-05 09:56:51 +12:00
Nathan Silveira 408ceaa8f7
Fix undismissable store alert when using language localization (#38967)
* Fix error while dismissing the last alert when there's multiple

* Copy action id to localized action

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

* Fix lint issue

* Improve implementation and add test

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-07-04 16:54:13 -03:00
Fernando Marichal 00d8e65cf0
Fix grey background when menu collapsed (#38941)
* Fix styles

* Add changelog

* Fix 'adminmenuback' z-index

* Fix header and footer

* Fix header

* Fix lint

* Fix footer

* Fix form background color
2023-07-04 14:59:33 -03:00
Maikel David Pérez Gómez 11541583e0
Perform feature flag change and redirection in the same request (#38833)
* Perform feature flag change and redirection in the same request

* Add changelog file

* Remove feature related query args after enabling/disabling it

* Use REQUEST_URI instead of referred one

* Fix lint errors

* Move phpcs to new line

* Use isset instead of empty

---------

Co-authored-by: Nathan Schneider <nsschneider1@gmail.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-07-04 12:06:40 -03:00
Gan Eng Chin ba1f76dcfe
Add changelog. 2023-07-04 23:00:14 +08:00
Gan Eng Chin be363458e3
Add Klaviyo into default free extensions for onboarding task list. 2023-07-04 19:36:30 +08:00
Gan Eng Chin ed5737ba87
Call marketing extension recommendations API version 1.3 and support Klaviyo in "Installed extensions" card in Marketing page (#38974) 2023-07-04 17:27:02 +08:00
github-actions[bot] 6be7214fda
Delete changelog files based on PR 38999 (#39076)
Delete changelog files for 38999

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-04 16:59:23 +12:00
Chi-Hsuan Huang 3a402a1235
Replace button text "Proceed" with "Continue" to be more consistent (#38961)
* Replace "Proceed" with "Continue" to be more consistent

* Add changelog

* Update button label for WCPay setup step in task list
2023-07-04 11:36:28 +08:00
Kathy 9d5c90dad8
Send $product_name through woocommerce_cart_item_name filter once (#38999)
* Send $product_name through woocommerce_cart_item_name filter only once. Closes #38744.

* Replace additional product name filters, with already filtered variable.

* add additional params to docblock of woocommerce_cart_item_name

* bump template version to 7.9.0

* revert cart_item_name filter change in #37830

* Minor fixes

* Bump template version

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-07-04 15:16:39 +12:00
github-actions[bot] baca2fbfe1
Delete changelog files based on PR 39048 (#39069)
Delete changelog files for 39048

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-07-04 12:16:20 +12:00
Moon 7bbffd3284
Update CSS styles for core profiler headers (#39059)
* Remove letter-spacing and use 500 for font-weight

* Add changelog

* Style updates for the header

* Set letter-spacing to normal
* Use 500 for font-weight
* Remove max-width

* Add changelog
2023-07-03 10:54:48 -07:00
barryhughes b0f14a26ea Correct another mismatched closing tag. 2023-06-30 11:53:37 -07:00
barryhughes 213e402cc4 Closing and opening tags must match. 2023-06-30 11:50:27 -07:00
Luigi Teschio 61a6fc618c
Update WooCommerce Blocks to 10.4.5 (#39048)
bump WC Blocks to 10.4.5
2023-06-30 15:27:27 +02:00
github-actions[bot] 6fac9fe376
Delete changelog files based on PR 39030 (#39044)
Delete changelog files for 39030

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-30 16:22:39 +12:00