# Cart and Checkout

**URL:** https://devcommunity.firmhouse.com/c/cart-and-checkout/9.md

[Latest](https://devcommunity.firmhouse.com/latest.md) · [Categories](https://devcommunity.firmhouse.com/categories.md) · [Tags](https://devcommunity.firmhouse.com/tags.md)

---

## [About the Cart and Checkout category](https://devcommunity.firmhouse.com/t/about-the-cart-and-checkout-category/21)

<div class="topic-metadata">

**Author:** [@michiels](https://devcommunity.firmhouse.com/u/michiels)\
**Replies:** 0

</div>

Questions and samples on integrating and linking to Firmhouse Checkout.

---

## [Get the number of items in the cart](https://devcommunity.firmhouse.com/t/get-the-number-of-items-in-the-cart/31)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [May 8, 2023, 9:50am UTC](https://devcommunity.firmhouse.com/t/get-the-number-of-items-in-the-cart/31 "2023-05-08T09:50:32Z")

</div>

When you implement the Firmhouse Storefront SDK on a store, you might want to show a count of the number of products in the cart. To fetch the number of items in the cart, use the following async method. Firmhouse.curr…

---

## [FAQ: How do I pre-fill fields on Firmhouse Checkout?](https://devcommunity.firmhouse.com/t/faq-how-do-i-pre-fill-fields-on-firmhouse-checkout/22)

<div class="topic-metadata">

**Author:** [@michiels](https://devcommunity.firmhouse.com/u/michiels)\
**Replies:** 0\
**Last updated:** [December 6, 2022, 11:10am UTC](https://devcommunity.firmhouse.com/t/faq-how-do-i-pre-fill-fields-on-firmhouse-checkout/22 "2022-12-06T11:10:26Z")

</div>

You can pass on parameters in the URL towards Firmhouse Checkout to pre-fill these fields. For example the following URL would prefill the customer’s email address: https://checkout.firmhouse.com/en/projectslug?subscri…
