* Exclude privacy page from the store pages -- it is a core page (#50608)
* Exclude privacy page from the store pages -- it is a core page
* Add changefile(s) from automation for the following project(s): woocommerce
* Remove privacy page deletion in unit test
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Prep for cherry pick 50608
---------
Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Clear global_unique_id when restoring a product with an existing global_unique_id (#50496)
* Clear global_unique_id when restoring a product that doesn't have an unique id
* Check if product exists before calling methods
* Prep for cherry pick 50496
---------
Co-authored-by: Nathan Silveira <nsschneider1@gmail.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Fixed the order of elements on the Order Confirmation screen (#50592)
* Fixed the order of elements on the Order Confirmation screen
* Added changelog
* Linting.
* Add wrapper around account notices
---------
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Prep for cherry pick 50592
---------
Co-authored-by: Paulo Arromba <17236129+wavvves@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Manually init template registry and controller for non-block themes (#50507)
* Manually init template registry and cotnroller when get_query_template returns nothing
* Add changefile(s) from automation for the following project(s): woocommerce
* Validate template before including it
* Move class registration to init method
* Remove container registration from coming soon handler
* Lint
* Moved registration to register_dependencies
* Change blocks init condition to only when it's not initialized
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Prep for cherry pick 50507
---------
Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Customer Account - Maintain the size of the icon in smaller screens (#50410)
* Customer Account - Maintain the size of the icon in smaller screens
* Hide overflow text
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Prep for cherry pick 50410
---------
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Fix new account notice not showing in Checkout block. (#50138)
* Correctly cast the account creation nag option
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Prep for cherry pick 50138
---------
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Use admin password reset link on admin login screen (#50200)
* Use admin password reset link on admin login screen
* Add changelog
* Take a different approach that’s compatible with JN
* Update code comment
* use existing variable
* Update tests
* Lintfix
* Change to alternative aproach for detecting admin login form
* Whitespace
* Update test
* Lint fix
* Prep for cherry pick 50200
---------
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Use UTM parameters to link Tracks events: CTA from connect notice and successful site connection (#50126)
Pass UTM parameters to get events from clicking "connect" notice to site being connected
* Prep for cherry pick 50126
---------
Co-authored-by: Akeda Bagus <akeda.bagus@automattic.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Product Editor: Fix shipping dimensions length field label (#50180)
Correct label of length field
Co-authored-by: Matt Sherman <matt.sherman@automattic.com>
* Add validation to select fields and add placeholder option to additional fields API (#49929)
* Add validation and empty value to select components
* address feedback
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* remove console log
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* remove test
* Fix tests
* also move select to parent
* fix tests
* add empty enum to schema
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Prep for cherry pick 49929
---------
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
* Add Product Filters template part
* Improve Product Filters template part description
* Hide Product Filters block from the inserter
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* Add E2E tests
* Fix lint error
* Fix lint error
* add: register variation for unmodified template part
We should move this to abstract class later.
* Fix lint error
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
* CYS - Revert the button copy customize the TT4 theme
* Add changefile(s) from automation for the following project(s): woocommerce
* CYS - Add banner for block themes
* Add banner for block themes
* Fix tests
* Fix tests
* Fix intro banners
* Add modal to the use store designer
* Fix tests
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint errors
* use sendEvent instead of redirect
* fix lint error
* fix logic on ai flow
* fix build
* improve check
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
* WIP
* Add empty option for state as well
* Add client-side validation to country select inputs
* Add validation messages for state.
* Clean up redundant destructuring.
* Fix up the validation logic, fix bug where empty select was shown in some cases.
* Remove unused import
* Use import aliases instead of large relative paths
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Fix a typo
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* use SelectOption type
* Also handle when address changes, because we shouldnt validate state when there is an address change
* adjust validation to handle any address change, not just country. translate field validations and use lowercase
* add a lowercase label for the country select as well
* Fix an issue where scroll to would not scroll to invalid select
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Add address title to edit/add buttons on my account
* Add chengelog file
* Bump my-address template version
* Use placeholder in the edit/add address translation
* Replace sprintf with printf
* Create combobox-control
* Exporting the combobox control
* Integrate the combobox control into the custom field names component
* Remove some non needed styles
* Add changelog file
* Fix comment text typo
Co-authored-by: louwie17 <lourensschep@gmail.com>
* Fix linter errors
---------
Co-authored-by: louwie17 <lourensschep@gmail.com>
* enhancement: making tooltips message be selected based on order status. passes order object in woocommerce_get_order_status_labels filter for more personalized tooltips.
* Add changefile(s) from automation for the following project(s): woocommerce
* fix: change incorrect keys of order status in order_status array
* remove duplicate changelog file
* fix: linting issues
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Remove strong tags from patterns
* Add changefile(s) from automation for the following project(s): woocommerce
* remove bold header
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
* Add the customer account block to control the spacing
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: Ensure that Customizer redirect is always enabled when a classic theme is enabled
* CYS: Ensure that the button in the Intro page redirects to the Customizer when a classic theme is enabled
* clean up logic
* add site preview
* mark CYS as complete when user saves customizer changes
* improve comment
* fix unit test
* fix unit test
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add syncWithFilters attribute to Product Collection
* Add SycnWithFilters Inspector Control to PC
* Minor import adjustments
* Move the controls to Inherit as they share the same labels
* Rename the attirbute to filterable
* Hide control for collections
* Consume the filterable
* Consume filterable attribute so it enables the filtering
* Bring back file format
* Bring back filterable
* Move filterable from attribute to query
* Improve checks
* Fix incorrent function name
* Add changelog
* Set the default filterable value on insert
* Update test selector
* Add E2E tests to #49627 (#49715)
* Remove unnecessary call to create new post
* Fix "Use page context" control tests
* Fix post ↔ template collection sync test
* Fix non-thenable linter errors
* Extend the "Use page context" default setting test
* Add test for filtering in non-archive context
* Add test for combining editor and front-end filters
* Fix lint
* Update plugins/woocommerce-blocks/assets/js/blocks/product-collection/edit/inspector-controls/inherit-query-control.tsx
Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
* Improve query properties access
* Rename inherit-query-control to use-page-context-control to better depict its purpose
* Lint fix
---------
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
Co-authored-by: Manish Menaria <the.manish.menaria@gmail.com>
* Fix undefined array key "name" warning in ComingSoonRequestHandler.php when font name is not set
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Schedule fetching patterns only one an hour
* Add changefile(s) from automation for the following project(s): woocommerce
* Add notice
* Fix lint error
* Update copy
---------
Co-authored-by: github-actions <github-actions@github.com>