woocommerce-ios icon indicating copy to clipboard operation
woocommerce-ios copied to clipboard

[Woo POS] Favourite products in POS

Open joshheald opened this issue 7 months ago • 2 comments

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.txt if 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.

joshheald avatar Apr 21 '25 17:04 joshheald

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

dangermattic avatar Apr 21 '25 17:04 dangermattic

App Icon📲 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 NameWooCommerce iOS Prototype
Build Number29410
VersionPR #15533
Bundle IDcom.automattic.alpha.woocommerce
Commitc320e0f058889dd9f2d8e8be2fc1e09cf30e4bb5
Installation URL00gp7d5d46to0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

wpmobilebot avatar Apr 21 '25 17:04 wpmobilebot