Shopify / checkout-sheet-kit-swift

Shopify’s Checkout Sheet Kit makes it simple to perform a checkout inside your Swift native app.
MIT License
38 stars 16 forks source link

Add cart icon to present cart in a sheet #168

Closed markmur closed 6 months ago

markmur commented 6 months ago

What changes are you making?

Adds a cart icon to the ProductViewController to trigger the CartViewController in a sheet. Presenting checkout from an already presented sheet is a common user experience so this will help with testing.

https://github.com/Shopify/checkout-sheet-kit-swift/assets/2034704/420824f2-225b-4b40-9915-e5b29e6a2307


Before you merge

[!IMPORTANT]


Checklist for releasing a new version - [ ] I have bumped the version number in the [`podspec` file](https://github.com/Shopify/checkout-kit-swift/blob/main/ShopifyCheckoutKit.podspec#L2). - [ ] I have bumped the version number in the [README](https://github.com/Shopify/checkout-kit-swift/blob/main/README.md#packageswift). - [ ] I have added a [Changelog](./CHANGELOG.md) entry.

[!TIP] See the Contributing documentation for instructions on how to publish a new version of the library.