# Latest

**URL:** https://devcommunity.firmhouse.com/latest.md

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

---

## [Welcome to our developer community!](https://devcommunity.firmhouse.com/t/welcome-to-our-developer-community/7)

<div class="topic-metadata">

**Author:** [@system](https://devcommunity.firmhouse.com/u/system)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 2:33pm UTC](https://devcommunity.firmhouse.com/t/welcome-to-our-developer-community/7 "2022-10-27T14:33:58Z")

</div>

Welcome to the Firmhouse developer community! If you want to ask questions about implementing the Firmhouse API, custom JavaScript or CSS integrations for your Firmhouse Checkout and Self Service Center, or want to want…

---

## [FAQ: How to hide certain available shipment frequencies?](https://devcommunity.firmhouse.com/t/faq-how-to-hide-certain-available-shipment-frequencies/13)

<div class="topic-metadata">

**Author:** [@michiels](https://devcommunity.firmhouse.com/u/michiels)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 7:28pm UTC](https://devcommunity.firmhouse.com/t/faq-how-to-hide-certain-available-shipment-frequencies/13 "2022-10-27T19:28:43Z")

</div>

A frequently asked question that our users have is to hide or remove certain shipment frequencies from the widget where customers can customize their frequency for a product in the Self Service Center(SSC): To do thi…

---

## [Translate Firmhouse checkout labels](https://devcommunity.firmhouse.com/t/translate-firmhouse-checkout-labels/42)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [February 8, 2024, 11:20am UTC](https://devcommunity.firmhouse.com/t/translate-firmhouse-checkout-labels/42 "2024-02-08T11:20:11Z")

</div>

An example to adjust the label of a Firmhouse field name, for instance by adding “(optional)” to the field. \<script\> window.addEventListener("turbo:load", function() { if (\["nl"\].includes(document.documentElement.…

---

## [Translate Extra fields](https://devcommunity.firmhouse.com/t/translate-extra-fields/36)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [July 4, 2023, 2:05pm UTC](https://devcommunity.firmhouse.com/t/translate-extra-fields/36 "2023-07-04T14:05:26Z")

</div>

Sometimes the project will have multiple languages enabled. At the moment the Extra Fields can only have one title. For those cases you’d like to display the translated field name and placeholder in the checkout, you ca…

---

## [Style Stripe payment page](https://devcommunity.firmhouse.com/t/style-stripe-payment-page/41)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [December 12, 2023, 10:13am UTC](https://devcommunity.firmhouse.com/t/style-stripe-payment-page/41 "2023-12-12T10:13:34Z")

</div>

For Firmhouse projects that use Stripe as a Payment Provider it’s possible to update the styling a little bit. For instance in the below example, the text in the button needs to be updated to say “Zahlungspfligtig beste…

---

## [GraphQL creditAndRefundInvoice mutation \[Beta\]](https://devcommunity.firmhouse.com/t/graphql-creditandrefundinvoice-mutation-beta/40)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [August 18, 2023, 2:29pm UTC](https://devcommunity.firmhouse.com/t/graphql-creditandrefundinvoice-mutation-beta/40 "2023-08-18T14:29:37Z")

</div>

creditAndRefundInvoice Creates a credit invoice and attempts a refund at the payment provider. Arguments Argument Description invoiceId (ID) ID of the invoice to be refunded. refundReason (string) The reason f…

---

## [Limiting options in the date picker](https://devcommunity.firmhouse.com/t/limiting-options-in-the-date-picker/39)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [August 18, 2023, 2:16pm UTC](https://devcommunity.firmhouse.com/t/limiting-options-in-the-date-picker/39 "2023-08-18T14:16:08Z")

</div>

By default, the date picker in the Self Service Center that aids clients to select the next shipment date is not limited in any way. This means that clients can select any day of the week, years in advance. For certain …

---

## [Prevent one-off products from becoming recurrent products through the SSC](https://devcommunity.firmhouse.com/t/prevent-one-off-products-from-becoming-recurrent-products-through-the-ssc/38)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 11:12am UTC](https://devcommunity.firmhouse.com/t/prevent-one-off-products-from-becoming-recurrent-products-through-the-ssc/38 "2023-08-01T11:12:39Z")

</div>

Firmhouse supports both one-off and recurrent products. When you allow your clients to change their subscription through the SSC, one of the details they can change is the frequency. If you have both one-off and recurren…

---

## [Limiting SSC functionality for clients](https://devcommunity.firmhouse.com/t/limiting-ssc-functionality-for-clients/37)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 12:24pm UTC](https://devcommunity.firmhouse.com/t/limiting-ssc-functionality-for-clients/37 "2023-07-25T12:24:28Z")

</div>

By default, in the Firmhouse Self Service Center, users can make changes to the shipping dates and frequency of the products in their subscription. This is possible even if adding & removing products from the subscripti…

---

## [Preventing emails from being sent](https://devcommunity.firmhouse.com/t/preventing-emails-from-being-sent/34)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [June 26, 2023, 3:42pm UTC](https://devcommunity.firmhouse.com/t/preventing-emails-from-being-sent/34 "2023-06-26T15:42:04Z")

</div>

In some cases, clients want to prevent Firmhouse emails from being sent. For example: The project has a Shopify integration and the client doesn’t want to send a signup confirmation with the first order. The client doe…

---

## [Updating SSC background and CTA colors for better brand matching](https://devcommunity.firmhouse.com/t/updating-ssc-background-and-cta-colors-for-better-brand-matching/33)

<div class="topic-metadata">

**Author:** [@denisa](https://devcommunity.firmhouse.com/u/denisa)\
**Replies:** 0\
**Last updated:** [June 23, 2023, 9:55am UTC](https://devcommunity.firmhouse.com/t/updating-ssc-background-and-cta-colors-for-better-brand-matching/33 "2023-06-23T09:55:56Z")

</div>

The following changes are made in the Firmhouse portal under the Self Service Center settings menu, Custom Code. Header Note that there are 2 types of buttons in the SSC: buttons built on links (\<a/\> elements) and butt…

---

## [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…

---

## [How to create Ordered Products on an existing subscription](https://devcommunity.firmhouse.com/t/how-to-create-ordered-products-on-an-existing-subscription/27)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [March 24, 2023, 6:32am UTC](https://devcommunity.firmhouse.com/t/how-to-create-ordered-products-on-an-existing-subscription/27 "2023-03-24T06:32:21Z")

</div>

Set the X-Project-Access-Token in the headers and POST the query to the API. # Subscription by input argument OR X-Subscription-Token in headers mutation { createOrderedProduct( input: { subscriptionId: 1234, …

---

## [How to get Subscriptions by email](https://devcommunity.firmhouse.com/t/how-to-get-subscriptions-by-email/26)

<div class="topic-metadata">

**Author:** [@jeroen](https://devcommunity.firmhouse.com/u/jeroen)\
**Replies:** 0\
**Last updated:** [March 24, 2023, 6:27am UTC](https://devcommunity.firmhouse.com/t/how-to-get-subscriptions-by-email/26 "2023-03-24T06:27:06Z")

</div>

Set the X-PROJECT-ACCESS-TOKEN in the headers for your query. POST the following query to the Firmhouse API to get a list of subscriptions with this email address. query Subscriptions { subscriptions(email: "email@exa…

---

## [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…

---

## [FAQ: Custom content in Shopify email templates for Firmhouse orders](https://devcommunity.firmhouse.com/t/faq-custom-content-in-shopify-email-templates-for-firmhouse-orders/20)

<div class="topic-metadata">

**Author:** [@michiels](https://devcommunity.firmhouse.com/u/michiels)\
**Replies:** 0\
**Last updated:** [December 2, 2022, 11:19am UTC](https://devcommunity.firmhouse.com/t/faq-custom-content-in-shopify-email-templates-for-firmhouse-orders/20 "2022-12-02T11:19:02Z")

</div>

You can customize the email content that gets sent out for Firmhouse and subscription orders. This lets you highlight or communicate differently about subscription orders as opposed to regular one time checkout orders. Y…

---

## [FAQ: Changing the content of the cancellation confirmation screen](https://devcommunity.firmhouse.com/t/faq-changing-the-content-of-the-cancellation-confirmation-screen/14)

<div class="topic-metadata">

**Author:** [@michiels](https://devcommunity.firmhouse.com/u/michiels)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 11:34am UTC](https://devcommunity.firmhouse.com/t/faq-changing-the-content-of-the-cancellation-confirmation-screen/14 "2022-10-28T11:34:01Z")

</div>

You can modify the copy of the cancellation confirmation page via custom JavaScript. This allows you to add some additional explanation or perhaps try to convince the customer not to cancel by providing additional instru…
