* In-App Marketplace: hide subscriptions for maxed out connections
If we don't add this check, subscriptions with no connection allowances,
still show up in the "Available to Use" table. This can be misleading.
* In-App Marketplace: Fix My Subscriptions table row statuses
When there are multiple subscriptions for a product, we can't manage the
state between "installed" and "available to use". This commit separates
some of the functionality between the tables in the My Subscriptions
page.
1) Don't show "not connected" badge on the "available to use" table
2) Don't show the "update" button on the "available to use" table
We can't test the number two, because I noticed we no longer send the
verison number in the WCCOM endpoint
* Add changefile(s) from automation for the following project(s): woocommerce
* Marketplace: remove unused useEffect
---------
Co-authored-by: github-actions <github-actions@github.com>
* Make themes util compatible with ext env and unskip relevant tests
* Add theme activation in test helper apis and update util
* Fix whitespace lint issue
* Make the util compatible with local and external envs
* Rename to activate theme
* Add theme name empty check
* Simplify theme util and update relevant tests
* Remove only from the test
* Add missing brackets to the shopper test
* Include error handling to see failure on CI
* Include themes installation in the test setup
* Revert and refact util helper
* Fix WooCommerce Blocks storybook
* Add blocks storybook to main storybook
* Add post build for iframe.html
* Only add WooCommerce Blocks when building storybook
* Use manager file again and add blocks build for storybook build
* Add changelog
* Update CatalogSorting classname to include wp-block class
* Add wp-block class name to the product button block
* Add wp-block classname to the product average rating block
* Add changelog
* Update changelog
* Fix lint issues
* Preserve dash in Mongolia postcodes
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* [wcml-4848] Fixes for incorrect blocks in WC's refunds policy page
Closes#51618
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
In this PR we aim to reduce filesystem modification when copying assets into the core by splitting copy tasks in three (one per source package) and using rsync over remove/copy combo.
* Redirect to canonical product permalink
This ensures that if product permalinks are set to include the
%product_cat% replacement token, arbitrary values for that part of the
URL will redirect to the canonical product category value, rather than
successfully loading the single product page.
Fixes#24244
* phpcs exception
* Update plugins/woocommerce/changelog/fix-24244-custom-permalink
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* WC cleanup plugin
* Fix linter errors
* More linter fixes
* Clean up spacing
* File doc comment
* Remaining linter problems
* Linter warnings too. Sigh.
* Media cleanup, DB table cleanup, tax rate cleanup
* Exclude media files used in tests from cleanup
* Exclude media files regardless of extension
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
* Render coming-soon template content without header and footer if the current theme is not a fse
* Check for store pages only
* Add changefile(s) from automation for the following project(s): woocommerce
* Make sure get_the_block_template_html exist
* Lint fixes
* Lint fixes
* Lint fixes
---------
Co-authored-by: github-actions <github-actions@github.com>
* Refactor WooCommerce Helper class
This commit refactors the WooCommerce Helper class in the `class-wc-helper.php` file. The changes include:
- Updating the comparison operator from `==` to `===` in the `activate_plugin` condition.
- Renaming the `get_install_base_url` method to `get_woocommerce_com_base_url`.
- Adding a new `get_install_base_url` method that returns the base URL for the plugin auto installer.
These changes improve the readability and maintainability of the code.
* Refactor data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion
- Refactor the data source poller classes for marketing recommendations, payment gateway suggestions, shipping partner suggestions, inbox notifications, remote free extensions, and WooPayments promotion to use a dynamic base URL for the data sources.
- Update the deprecated DATA_SOURCES constant to an empty array in each class.
- Add a new method get_data_sources() in each class to return the updated data sources with the dynamic base URL.
- Modify the constructor of each class to use the get_data_sources() method instead of the deprecated DATA_SOURCES constant.
* Add changelog
* Add set-woocom-base-url tool
* Add changelog
* Rename woo_com and woocom -> wccom
* Change to falsy check !url
* Change woocom/WOOCOM to wccom/WCCOM
* Change default value to https://woocommerce.com/
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Resolved fatal error when applying Brands-restricted coupon
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Update heading for Hand-Picked collection
- Added 'recommend' to the keywords array.
- Changed heading content from 'Hand-Picked' to 'Recommended products'.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
In this PR, we aim to improve the speed of ppm installs by making changes in ppm configuration and post-install hooks. The main principle behind the changes is to leverage the identified parallelization potential.
* Fixed Fatal error call to a member function is_empty() in mini-cart.php:24
* Updated Template Version
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
* Only register block assets on the frontend during block render
* Add changelog entry
* Add wc-blocks-registry as a dependency to product collection tester script
* Update docs manifest
* darker outline and double outline on focus
* flip outlines for shipping selector
* fix select outline in dark mode
* Fix input labels being cut off due to line height
* adjust outline colors
* fix rest of problems in dark mode
* fix express payment on checkout
* Fix broken styles for shipping cart in medium
* Always center input label
* Fix order note background in dark mode
* remove empty space in payment methods when there's no content inside
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* fix linter issues
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add styling for dataviews with old nav
* Add toggle to toggle between new and old navigation
* Update dataviews dependency
* Fix width for list view
* Remove unused type
* Add changelogs