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

[Woo POS] Extract cart logic to `CartViewModel`

Open iamgabrielma opened this issue 7 months ago • 2 comments

Part of https://github.com/woocommerce/woocommerce-ios/issues/12998 ⚠️ Based on https://github.com/woocommerce/woocommerce-ios/pull/13205 to test with the order sync fix

Description

This is the continuation of https://github.com/woocommerce/woocommerce-ios/issues/12998 , here we'll move Cart-related actions and handling to a separate CartViewModel

Its design follows the same pattern as with the product list, we'll observe changes in the model from the dashboard and use these to coordinate and communicate between different subviews.

Changes

Testing

iamgabrielma avatar Jun 28 '24 05:06 iamgabrielma