Commit Graph

12604 Commits

Author SHA1 Message Date
Maikel David Pérez Gómez 829ca23326
[Grouped products] Create product-grouped feature flag (#41639)
* Create product-grouped feature flag

* Add support to the product editor to handle grouped product types as well

* Add changelog file
2023-11-23 11:24:51 -05:00
Fernando Marichal 4a0db06321
Modify notice for legacy local attributes (#41646)
* Modify notice for legacy local attributes

* Rename variable

* Add changelogs

* Rename local_attributes_notice_dismissed_ids
2023-11-23 12:00:17 -03:00
Jonathan Lane 595f99d933
Run daily smoke tests on wp-env (#41560)
* Run daily smoke tests on wp-env

* Add changelog

* Add step to install playwright to e2e tests

* Run k6 containers as e2e

* Get build first for k6

* Tweak for API report

* Change k6 tests back to non-local

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-23 12:41:27 +08:00
barryhughes e3d1a3c7b9 Convert comments to assertion messages. 2023-11-22 15:14:08 -08:00
barryhughes cd32a5a087 Changelog. 2023-11-22 15:13:06 -08:00
Saggre 74e27e6f26 Remove duplicate tests. 2023-11-22 15:09:37 -08:00
Damián Suárez 7a98a38399 fix eslint issue 2023-11-22 17:06:52 -03:00
Damián Suárez c9a211c6fb move changelog file to the proper place 2023-11-22 16:38:06 -03:00
Damián Suárez de1b1c89cf add tooltip helo to Organization/Attributes title 2023-11-22 16:38:06 -03:00
Damián Suárez 254469ddbe update/product-editor-add-missing-desc 2023-11-22 16:37:52 -03:00
Paulo Arromba 5a66522601
Update WooCommerce Blocks to 11.6.0 (#41641)
* Updated woocommerce/woocommerce-blocks to 11.6.0
2023-11-22 16:45:28 +00:00
And Finally 99d063095f
Marketplace: My Subscriptions feature branch (#40249) 2023-11-22 15:58:30 +00:00
Mike Jolley c8b48ed8d8
Remove "Checkout is not available whilst your cart is empty" notice (#41504)
* Remove "Checkout is not available whilst your cart is empty." notice

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-22 16:56:03 +01:00
Jorge A. Torres 409a256815
Fix TypeError in WC_Discounts->apply_coupons() when being called a second time [redux] (#41602)
* Discounts are not in the format `array( 'string' => 'string' )`, they are in the format `array( 'string' => array( int, int ) );`.

* Remove `ArrayUtil` because `ensure_key_is_array` creates the array and returns `true`.

* Add Changelog manually

* Fix changelog placement.

---------

Co-authored-by: John Rom <john@nimblelight.com>
2023-11-22 15:52:24 +00:00
And Finally 6e39f5494a Merge branch 'trunk' into feature/marketplace-subscriptions 2023-11-22 15:10:12 +00:00
And Finally 3b6d53efe5 Removed refresh button spin animation – was going backwards, and isn't consistent with general design approach. 2023-11-22 14:27:22 +00:00
And Finally 9dff04752f Addressing linter errors. 2023-11-22 14:23:51 +00:00
And Finally 5c88fd0490
Marketplace: fix sideways scrolling of the my subscriptions table on Chromium based browsers (#41630) 2023-11-22 13:59:56 +00:00
And Finally 1fc1d83931
Marketplace: update no results page (#41603) 2023-11-22 13:59:17 +00:00
And Finally 5a2d598159 Addressing linter errors. 2023-11-22 13:58:51 +00:00
And Finally 51321ee586
Merge branch 'feature/marketplace-subscriptions' into fix/my-subscriptions-scrolling-chromium 2023-11-22 13:39:23 +00:00
And Finally 3012a41f4e Reduced font weight in "no results" headers, to match the headers elsewhere in the Marketplace. 2023-11-22 13:37:37 +00:00
raicem 4e1ea5184e Marketplace: fix the number of cards in the number of results page
Co-authored-by: andfinally <andfinally@users.noreply.github.com>
2023-11-22 13:37:37 +00:00
raicem e3e3870cd7 Marketplace: fix some issues with the new no-results page
Co-authored-by: andfinally <andfinally@users.noreply.github.com>
2023-11-22 13:37:37 +00:00
raicem 36a4e5fc3c Marketplace: update no results screen for search 2023-11-22 13:37:37 +00:00
And Finally 3f6fd2c273
My Subscriptions: link product icon and product name to Woo.com product page (#41634) 2023-11-22 13:32:13 +00:00
berislav grgičak bfaceac842
Add Woo button to plugins list (#41633)
* Add Woo tab to the plugins screen

* Remove comment

* Update plugins/woocommerce/src/Internal/Admin/Marketplace.php

Co-authored-by: And Finally <andfinally@users.noreply.github.com>

* Update name

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-22 14:21:22 +01:00
And Finally 7ec9d60d8a Makes product icon and product name in My Subscriptions list link to Woo.com product page. 2023-11-22 13:05:10 +00:00
And Finally 6e124264be Addressing linter errors. 2023-11-22 13:00:20 +00:00
And Finally c336475d8e Addressing linter errors. 2023-11-22 12:43:49 +00:00
raicem 05d8169ec3 Marketplace: fix issue with sideways scrolling on my subscriptions table 2023-11-22 12:42:31 +03:00
Jonathan Lane 633bf40f13
Add tests for analytics (orders) (#40504)
* Add tests for analytics (orders)

* Fix for download test

* E2E action scheduler runner (#40687)

* Add utility to trigger processing of pending scheduled actions (E2E).

* Update analytics test to use E2E scheduled action helper.

* Expand notes.

* No changelog needed.

* Further test setup work needed for Process Waiting Actions utility.

* Update download test

* Fix for FTUX tour, locator matching

* Update selectors

* Address review feedback

* Add comment to explain helper plugin

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2023-11-22 15:42:36 +08:00
Cem Ünalan 9a7a7e7f9c
Marketplace: Add Tracks events to My Subscriptions page (#41455)
* Marketplace: add Tracks events for the subscription page

Added events for:
- marketplace_product_installed
- marketplace_product_install_failed
- marketplace_renew_button_clicked
- marketplace_subscribe_button_clicked
- marketplace_product_updated
- marketplace_product_update_failed

* Marketplace: update Tracks properties

We used to reference product slug only. But may change and if the store
is rate limited, that information is missing. This commit switches
using "product_zip_slug" and "product_id".

* Marketplace: add product version info to update and install Tracks events
2023-11-22 09:40:18 +03:00
berislav grgičak 4c19b12c68
Add Marketplace readme (#41600)
* Marketplace readme

* Add structure and development

* Linter fix

* linter

* Tweaks to the In-App Marketplace README.

---------

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-22 07:03:37 +01:00
RJ 2960529283
fix: revert adding envia slug (#41624) 2023-11-21 15:57:53 -08:00
nigeljamesstevenson 8ecb684da2
add: remove email marketing experiment (#41599) 2023-11-21 23:22:40 +00:00
Paul Sealock e701512f80
Merge Shipping Settings Legacy Refresh (#40983) 2023-11-22 12:20:34 +13:00
Jonathan Lane 34acf8cbcb
Improve e2e stability (#41345)
* Clean up created pages and posts

* Move tax tests so that they run last

* Improve locators

* Changelog

* Improve locators

* Improve locator on heading

* Change assertions to look for alert text

* Change assertion to look for text

* Update locators

* Update locator

* Update alternate elements

* Specify first order amount

* Update locator

* Changelog

* Increase reliability of checkout test

* Update a few locators

* Remove .slice()

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-21 14:26:09 -08:00
Damián Suárez abe33ded3d Merge branch 'trunk' into update/product-editor-add-variation-pickup-help 2023-11-21 11:57:30 -03:00
Maikel David Pérez Gómez b2c9373b19
[External products] Inventory tab (#41520)
* Hide track stock quantity toogle when the product type is external

* Add changelog file

* Fix php linter errors
2023-11-21 08:42:47 -05:00
Matt Sherman 820d83d40b
Fix return type of ProductFormTemplateInterface::add_group() (#41595) 2023-11-21 07:17:07 -05:00
Damián Suárez 1b3e3295a0 use uncheckedHelp to set the toggle help 2023-11-21 09:04:23 -03:00
Damián Suárez 4ffc4eda55 changelog 2023-11-21 09:04:20 -03:00
Damián Suárez 9ad4615527 add help for Product and Variation block instances 2023-11-21 09:04:20 -03:00
berislav grgičak 6f58b003a5
Marketplace subscriptions mobile fixes (#41597)
* Gradient fixes

* Responsive header
2023-11-21 12:43:06 +01:00
Leif Singer 39a1164d98
Update / tweak a few more links in docs and comments (#41598) 2023-11-21 12:38:09 +01:00
Chris Lilitsas 03937c7ccd
Remove hardcoded colors when using a block theme (#41366)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-11-21 12:35:12 +01:00
Jorge A. Torres e329ab19bd
HPOS verification tool should not report missing `_completed_date` meta as error (#41547) 2023-11-21 12:20:06 +01:00
Jorge A. Torres f2c700642e
Prevent double escaping of special chars in HPOS search query (#41516) 2023-11-21 12:17:10 +01:00
rjchow fcafacb36f lint 2023-11-21 18:08:00 +07:00
rjchow 4df15fe948 add: remove email marketing experiment 2023-11-21 17:51:37 +07:00
rodelgc eab133cbe5
Update Action Scheduler to 3.7.0 (#41576)
* Update Action Scheduler to 3.7.0

* Update Action Scheduler to 3.7.0
2023-11-21 18:30:35 +08:00
Bero 7a2aaac112 Remove changelogs 2023-11-21 08:35:00 +01:00
berislav grgičak ab400a4128
Unconnected subscription improvements (#41468)
* Don't show a My Subscriptions group if it's empty

* Hide expiry if installed but has no subscription

* Show subscription status labels in a column

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

* Show only one badge

* Show installed header if no installed items

* Remove test code

* Show entire installed section

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 08:33:06 +01:00
Kyle Nel 53b8933e7c
Merge Marketplace subscriptions changelogs (#41575)
* Merge changelogs into one
* Update plugins/woocommerce/changelog/feature-marketplace-subscriptions

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-21 09:15:29 +02:00
berislav grgičak 48d7490c2a
Marketplace design improvements (#41505)
* Not connected screen fixes

* Table improvements

* Success notice icon

* Use the same layout of columns for both tables

* Popover

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

* CSS lint fixes

* Styling tweaks. Changed font-weight of `.woocommerce-marketplace__product-list-title` to 400, to correspond with the correct weight of the titles like "Installed on this store" in the My Subscriptions section.

* Undo refresh move

* Fix subgrid max widths

* Fic status height

* Update collaborate link

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-21 08:08:26 +01:00
Kyle Nel 5fe2e401f0
Marketplace - tracking enhancements (#41365)
* Add discover products to page view event

* Initial implementation of beacon REST API (WIP)

* Discover page - products viewed

* Product card clicked event (WIP)

This takes data from various sources and sends it based on the different places that product cards could appear.

Data included:
- position
- vendor
- product type
- label - indicates if "promoted" if applicable
- group - the discover page group if applicable
- search_term - the search term if applicable
- category - the product category clicked from

The data is essentially complete. The beacon API needs finalising still though. Also, the vendor name click event will need to be updated with the same data.

* See more button & Category dropdown "more" events

* Marketplace: remove custom Beacon and use "queueRecordEvent"

* Marketplace: reenable product card links

This was disabled temporarily while we tested tracks on click

* Marketplace: Add position to tracks event

Co-authored-by: Kyle Nel <22053773+kdevnel@users.noreply.github.com>

* Marketplace: move Tracks data to a different prop and type

* Marketplace: refactor Tracks calls in product card

---------

Co-authored-by: raicem <unalancem@gmail.com>
Co-authored-by: Cem Ünalan <raicem@users.noreply.github.com>
2023-11-21 09:48:59 +03:00
RJ a32e1a3922
dev: fix wca test helper option search wildcards (#41503)
fix wca test helper option search wildcards
2023-11-21 11:18:45 +08:00
paul sealock 6339f1628a remove unnecessary changelog files 2023-11-21 13:57:27 +13:00
paul sealock 434cbbaa2c Fix linter error 2023-11-21 13:57:27 +13:00
Paul Sealock 92ede6dc76 Shipping Settings: Update Flat Rate edit copy (#41529) 2023-11-21 13:57:27 +13:00
Paul Sealock 7804f3b71b Shipping Settings: Handle Local Pickup default value (#41481)
* set default to zero

* handle no default
2023-11-21 13:57:27 +13:00
paul sealock c4f45e3eaa fix e2e shopper tests 2023-11-21 13:57:27 +13:00
Paul Sealock 45bd173551 Shipping Settings: Fix updates to copy (#41445)
* Update copy

* Remove uppercase from labels

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 13:57:27 +13:00
Paul Sealock 1b7035c411 Shipping Settings: Fix broken e2e tests (#41446)
* give settings proper names

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 13:57:27 +13:00
Paul Sealock b82b3e452c Shipping Settings: Fix shipping zones tour copy (#41015) 2023-11-21 13:57:26 +13:00
Paul Sealock ff1d69efb1 Shipping Settings: Handle long help tip text (#41035) 2023-11-21 13:57:26 +13:00
Paul Sealock 6021e78cdc Shipping Settings: Handle theme colors (#41054)
* Fix primary btns colors

* go back to var(--wp-admin-theme-color)

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 13:57:26 +13:00
github-actions 8329991262 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-21 13:57:26 +13:00
Paul Sealock 050325c296 Shipping Settings: Update help text on add method modal (#40982)
Move description to bottom of modal
2023-11-21 13:57:26 +13:00
Paul Sealock 3ddb46bad7 Shipping Settings: Add currency symbols (#40816) 2023-11-21 13:57:25 +13:00
Paul Sealock 6ee12c8308 Shipping Settings: Update shipping settings copy (#40893) 2023-11-21 13:57:25 +13:00
Paul Sealock 0d23235d0e Shipping Settings: Add classes cost link to Flat rate methods (#40860) 2023-11-21 13:57:24 +13:00
Paul Sealock 6f460e603a Shipping Settings: Remove zone method defaults (#40838) 2023-11-21 13:57:24 +13:00
Paul Sealock 1a0da8a62d Shipping Method Settings: Update modal contents (#40615) 2023-11-21 13:57:23 +13:00
Paul Sealock 3ec81818d1 Shipping Settings: Update table styles (#40724) 2023-11-21 13:57:23 +13:00
Paul Sealock 7822326a98 Shipping Settings: Tweak Post Codes UI styles (#40554)
* Tweak Post code UI styles

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 13:57:23 +13:00
Paul Sealock 87934129f6 Shipping Classes: Create add/edit modal functionality (#40421)
* Components: TreeSelectControl - Make sure individuallySelectParent value is preserved (#40301)

* make sure individually selected parent value is preserved

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

---------

Co-authored-by: github-actions <github-actions@github.com>

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

* fix rebase error

* appease linter

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-21 13:57:23 +13:00
paul sealock b6bd4df17a Use clearOnSelect false 2023-11-21 13:57:23 +13:00
paul sealock 5fd19f53fa Shipping Zone CSS changes 2023-11-21 13:57:23 +13:00
Paul Sealock 016f87d920 Shipping Settings: Add React base Region Picker (#40184) 2023-11-21 13:57:23 +13:00
Matt Sherman e3c92601c8 Changelog 2023-11-20 18:57:30 -05:00
Matt Sherman 86e8036241 Correct return type of add_group() 2023-11-20 18:55:35 -05:00
Leif Singer 2d44b1f94b
Add `store_id` to system_status REST API (#41341) 2023-11-20 19:37:20 +01:00
Fernando Marichal f78cf190c8
Update variations message to include missing downloads section (#41581)
* Update variations message to include missing downloads section

* Add changelog
2023-11-20 13:59:31 -04:00
Nathan Silveira 5bba23ddb1
Fix currency breaking lines when 2 or more characters (#41548)
* Fix currency breaking lines when 2 or more characters

* Add missing changelog
2023-11-20 11:50:20 -03:00
WooCommerce Bot 12b661bb5b Delete changelog files for 41538 2023-11-20 14:10:27 +00:00
Leif Singer f7b6647016 fix typo 2023-11-20 12:45:29 +01:00
Leif Singer fdfa10aa36 appease the linter 2023-11-20 12:26:42 +01:00
Leif Singer cd1227be76 ensure we use any existing `store_id` 2023-11-20 12:04:55 +01:00
Leif Singer 8a68d722e8 ensure that `store_id` is returned by the API call to get the SSR 2023-11-20 11:41:20 +01:00
Leif Singer 85814deeb6 update the test that counts the number of fields in the SSR API response 2023-11-20 11:40:40 +01:00
Gan Eng Chin 6fb787e954
Remove Codisto from default free extensions. (#41499) 2023-11-20 14:26:05 +08:00
RJ a619f2be67
added envia's plugin slug to shipping task partner suggestions (#41539)
* added envia's plugin slug to shipping task partner suggestions

* changelog
2023-11-18 10:23:10 +08:00
Moon 9a651da622
Add payment-gateway-suggestions cache unit test (#41412)
* Add payment-gateway-suggestions cache test

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

* Fix broeken test

* Fix broeken test

* Fix broeken test

* Lint fix

* Refactor test

* Lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-17 13:39:11 -08:00
github-actions 0687e86c92 Add changefile(s) from automation for the following project(s): woocommerce 2023-11-17 19:31:18 +00:00
AnnaMag e68b1792d9
Add digital products to the new experiment testing the product editor. (#41469)
* Add digital product task selection to the A/B test for WC 8.4.

* Add changelog

* Enable the product-virtual-downloadable feature.

* Fix linting error

---------

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2023-11-17 15:05:03 -04:00
Jorge A. Torres 1d00e76fda
Invalidate coupon cache after hold/usage data is modified in datastore via SQL (#41538)
* Invalidate coupon cache after direct SQL queries

* Add changelog

* Add unit test

* Address feedback
2023-11-17 15:25:10 +00:00
nigeljamesstevenson 00e1a29194
dev/fix no use before define lint violations (#41452) 2023-11-17 12:05:18 +00:00
Chi-Hsuan Huang c768ca0dc6
[CYS] Remove `getLookAndTone` AI request from the business description step (#41497)
* Remove AI requests from the business description step

* Add changelog
2023-11-17 19:40:43 +08:00