Skip to main content
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.
Discount eligibility setting 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 or updateProduct mutation and set the eligibleForDiscount field to false.

Example

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.