> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firmhouse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable discounts on specific products

> Exclude individual products from any discount in Firmhouse so customers cannot apply discount codes or promotions to certain items in your catalog.

Learn how to exclude specific products from discounts.

By default, any active discount on an order or customer will apply to the full order or invoice amount and all products on it. However, you may want certain products to be excluded from discounts entirely.

## Disabling Discounts via the Firmhouse Portal

You can disable discounts for specific products directly in the Firmhouse portal.

### Steps

1. Navigate to **Products** in your Firmhouse portal.
2. Click on the product you want to edit.
3. In the product details section, find the **Discount eligibility** setting.
4. Uncheck the **Eligible for discount** checkbox.
5. Click **Save** to apply the changes.

<img src="https://mintcdn.com/firmhousebv/pwRpPtmPqWjTXSiA/images/docs-configure-discounts-disabling-discounts-per-product-discount-eligibility-dev-aa.png?fit=max&auto=format&n=pwRpPtmPqWjTXSiA&q=85&s=d3c7998bb8667895dec2aebc53cddd55" alt="Discount eligibility setting" width="2880" height="2200" data-path="images/docs-configure-discounts-disabling-discounts-per-product-discount-eligibility-dev-aa.png" />

When this setting is disabled, any discounts applied to an order will not affect the price of that specific product.

## Disabling Discounts via the API

You can also disable discounts for products programmatically using the Firmhouse GraphQL API. Use the [createProduct](https://developer.firmhouse.com/graphql/mutations/create-product) or [updateProduct](https://developer.firmhouse.com/graphql/mutations/update-product) mutation and set the **eligibleForDiscount** field to **false**.

### Example

```graphql theme={null}
mutation {
  updateProduct(input: {
    id: "your-product-id",
    eligibleForDiscount: false
  }) {
    product {
      id
      eligibleForDiscount
    }
  }
}
```

## Shopify Product Sync

For Shopify-connected projects, you can also control discount eligibility during product sync by adding a metafield to your Shopify product variant. Set the `exclude_from_discount` metafield to `true` to automatically disable discount eligibility when the product is synced to Firmhouse.

## Related Articles

* [Giving Discounts to Your Customers](giving-discounts)
* [Managing Discount Codes](managing-discount-codes)
* [Block Discounts on Subscription Checkouts](block-discounts-shopify-checkout-extension)
