* 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>
* 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>
* Set default quantity value
* Rename `Stock quantity` to `Quantity`
* Add changelog
* Fix original stock
---------
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Improve filling out attribute input fields
* Improve waiting for attributes to be saved
* Improve waiting for Analytics overview settings to be saved
* Add @woocommerce/tracks to dev dependencies
* Move remaining CES-related components to @woocommerce/customer-effort-score
* Update imports in woocommerce/client/admin
* Add granular command for scanning individual change types.
* documentation and clean up
* Refactor the API to be more intuitive and memorable.
* Update the documentation.
* Update tools/code-analyzer/src/commands/analyzer/analyzer-scan.ts
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
---------
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
* Add custom hook to validate product fields within blocks
* Add changelog file
* Add unit tests
* Fix non working tests
* Fix linter errors
* Add changelog file
* Fix async validation rejection
* Solve conflicts after rebasing
* Revert false negative lint errors
* Move the hook to its own folder and add the readme.md file
* 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
* 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>
* 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>
* 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>