woocommerce-ios
woocommerce-ios copied to clipboard
[Woo POS] Favourite products in POS
Closes: #
Description
This is a Proof of Concept for using favourites to filter the POS product list, to have custom product lists available in POS. It's only a lightweight, temporary approach, but it might help some merchants if we can get it out really soon.
We already store a list of favourited product IDs in the local storage. This PR adds an option to use that list as a filter on the Products List requests when the toggle is on, and to toggle the favourite state within POS.
It could also work with search, but I've not added it there yet.
Steps to reproduce
Testing information
Screenshots
https://github.com/user-attachments/assets/4bc69dbb-fe3b-44e3-95db-8f9c74c67a71
- [ ] I have considered if this change warrants user-facing release notes and have added them to
RELEASE-NOTES.txtif necessary.
Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:
- [ ] The PR is small and has a clear, single focus, or a valid explanation is provided in the description. If needed, please request to split it into smaller PRs.
- [ ] Ensure Adequate Unit Test Coverage: The changes are reasonably covered by unit tests or an explanation is provided in the PR description.
- [ ] Manual Testing: The author listed all the tests they ran, including smoke tests when needed (e.g., for refactorings). The reviewer confirmed that the PR works as expected on all devices (phone/tablet) and no regressions are added.
| 1 Warning | |
|---|---|
| :warning: | This PR is larger than 300 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews. |
| 1 Message | |
|---|---|
| :book: | This PR is still a Draft: some checks will be skipped. |
Generated by :no_entry_sign: Danger
📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.
| App Name | WooCommerce iOS Prototype | |
| Build Number | 29410 | |
| Version | PR #15533 | |
| Bundle ID | com.automattic.alpha.woocommerce | |
| Commit | c320e0f058889dd9f2d8e8be2fc1e09cf30e4bb5 | |
| Installation URL | 00gp7d5d46to0 |